Skip to content

Commit 6d014e7

Browse files
committed
Issue with access histos
1 parent 92f239d commit 6d014e7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

PWGMM/Lumi/Tasks/lumiStability.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ struct LumiStabilityTask {
270270
nOrbitsPerTF = 32; // 128 in 2022, 32 in 2023
271271
}
272272
int runNumber = bcs.iteratorAt(0).runNumber();
273+
// std::string histName = "hOrbitFDDVertexCoinc_" + std::to_string(runNumber);
273274
if (runNumber != lastRunNumber && executionCounter < 1) {
274275
tsSOR = 0;
275276
tsEOR = 1;
@@ -459,9 +460,9 @@ struct LumiStabilityTask {
459460

460461
histos.fill(HIST("FDD/hCounts"), 0);
461462
if (vertex) {
462-
histos.fill(HIST("hOrbitFDDVertex"), orbit - minOrbit);
463-
histos.fill(HIST("FDD/hCounts"), 1);
464463
histos.fill(HIST("FDD/bcVertexTrigger"), localBC);
464+
histos.fill(HIST("FDD/hCounts"), 1);
465+
// histos.fill(HIST("hOrbitFDDVertex"), orbit - minOrbit);
465466

466467
if (bcPatternB[localBC]) {
467468
histos.fill(HIST("FDD/hTimeForRate"), (bc.timestamp() - tsSOR) * 1.e-3); // Converting ms into seconds
@@ -753,7 +754,7 @@ struct LumiStabilityTask {
753754
histos.fill(HIST("FT0/hCounts"), 0);
754755
if (vertex) {
755756
histos.fill(HIST("FT0/bcVertexTrigger"), localBC);
756-
histos.fill(HIST("hOrbitFT0vertex"), orbit - minOrbit);
757+
// histos.fill(HIST("hOrbitFT0vertex"), orbit - minOrbit);
757758

758759
if (bcPatternA[localBC]) {
759760
histos.fill(HIST("FT0/timeACbcA"), ft0.timeA(), ft0.timeC());
@@ -909,7 +910,7 @@ struct LumiStabilityTask {
909910
}
910911

911912
if (aCen) {
912-
histos.fill(HIST("hOrbitFV0Central"), orbit - minOrbit);
913+
// histos.fill(HIST("hOrbitFV0Central"), orbit - minOrbit);
913914
histos.fill(HIST("FV0/bcCenTrigger"), localBC);
914915

915916
if (bcPatternA[localBC]) {

0 commit comments

Comments
 (0)