Skip to content

Commit 9c8a62b

Browse files
authored
Fix variable name typo for triggerTVX
1 parent 08de68a commit 9c8a62b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎Common/DataModel/zdcTableReader.cxx‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
#include <TH1F.h>
2424
#include <TH2F.h>
2525

26+
#include <cstdio>
27+
2628
using namespace o2;
2729
using namespace o2::framework;
2830
using namespace o2::framework::expressions;
@@ -39,7 +41,7 @@ struct ZDCLIAnalysis {
3941
//
4042
Configurable<uint64_t> tStampOffset{"tStampOffset", 0, "offset value for timestamp"};
4143
Configurable<int> nBinstStamp{"nBinstStamp", 1000, "no. bins in histo vs. timestamp"};
42-
Configurable<float> tStampMax{"tStampMax", 1000, ",maximum value for timestamp"};
44+
Configurable<float> tStampMax{"tStampMax", 1000, ", maximum value for timestamp"};
4345
//
4446
Configurable<bool> tdcCut{"tdcCut", false, "Flag for TDC cut"};
4547
Configurable<float> tdcZNmincut{"tdcZNmincut", -1.5, "Min. ZN TDC cut value"};
@@ -70,7 +72,7 @@ struct ZDCLIAnalysis {
7072
//
7173
Configurable<bool> selectZvtx{"selectZvtx", true, "Activate Z vertex selection"};
7274
Configurable<bool> sel8{"sel8", true, "Activate sel8 selection"};
73-
Configurable<bool> triggetTVX{"triggerTVX", true, "Activate trigger TVX selection"};
75+
Configurable<bool> triggerTVX{"triggerTVX", true, "Activate trigger TVX selection"};
7476
Configurable<bool> doOccupancySel{"doOccupancySel", false, "Activate occupancy selection"};
7577
Configurable<bool> noSameBunchPileupCut{"noSameBunchPileupCut", true, "Activate no same bunch pileup selection"};
7678
Configurable<bool> isGoodZvtxFT0vsPV{"isGoodZvtxFT0vsPV", true, "Activate is good Z vertex FT0 vs PV selection"};
@@ -316,9 +318,9 @@ struct ZDCLIAnalysis {
316318
isGoodITSLayersAllsel = true;
317319
//
318320
bool istriggerTVX = false;
319-
if (!triggetTVX)
321+
if (triggerTVX && CHECK_BIT(selectionBits, 9))
320322
istriggerTVX = true;
321-
else if (triggetTVX && CHECK_BIT(selectionBits, 9))
323+
else if (!triggerTVX)
322324
istriggerTVX = true;
323325

324326
if (zvtxSel && ottoSel && istriggerTVX && isdoOccupancySel && isnoSameBunchPileupCut && isGoodZvtxFT0vsPVsel && isnoCollInTimeRangeStandard && isnoTimeFrameBorder && isnoITSROFFrameBorder && isGoodITSLayersAllsel)

0 commit comments

Comments
 (0)