Skip to content

Commit f39db3a

Browse files
authored
[PWGUD] Remove BCsWithTimestamps, and define the run number (AliceO2Group#10559)
1 parent ef68b0a commit f39db3a

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

PWGUD/Tasks/flowCumulantsUpc.cxx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,9 +706,25 @@ struct FlowCumulantsUpc {
706706
}
707707

708708
// void process(AodCollisions::iterator const& collision, aod::BCsWithTimestamps const&, AodTracks const& tracks)
709-
void process(UDCollisionsFull::iterator const& collision, aod::BCsWithTimestamps const&, UdTracksFull const& tracks)
709+
void process(UDCollisionsFull::iterator const& collision, UdTracksFull const& tracks)
710710
{
711711

712+
// Runnumber loading test
713+
// accept only selected run numbers
714+
// int run = collision.runNumber();
715+
716+
// extract bc pattern from CCDB for data or anchored MC only
717+
// if (run != lastRun && run >= 500000) {
718+
// LOGF(info, "Updating bcPattern %d ...", run);
719+
// auto tss = ccdb->getRunDuration(run);
720+
// auto grplhcif = ccdb->getForTimeStamp<o2::parameters::GRPLHCIFData>("GLO/Config/GRPLHCIF", tss.first);
721+
// bcPatternB = grplhcif->getBunchFilling().getBCPattern();
722+
// lastRun = run;
723+
// LOGF(info, "done!");
724+
// }
725+
726+
// auto bcnum = collision.globalBC();
727+
712728
registry.fill(HIST("hEventCount"), 0.5);
713729
int gapSide = collision.gapSide();
714730
if (gapSide < 0 || gapSide > 2) {

0 commit comments

Comments
 (0)