Skip to content

Commit a106c54

Browse files
authored
LF: Update spectraTOF.cxx with complementary info (#2749)
1 parent 1674fc9 commit a106c54

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

PWGLF/Tasks/spectraTOF.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct tofSpectra {
5353
Configurable<int> lastRequiredTrdCluster{"lastRequiredTrdCluster", 5, "Last cluster to require in TRD for track selection. -1 does not require any TRD cluster"};
5454
Configurable<bool> requireTrdOnly{"requireTrdOnly", false, "Require only tracks from TRD"};
5555
Configurable<bool> requireNoTrd{"requireNoTrd", false, "Require tracks without TRD"};
56-
Configurable<int> selectEvTime{"selectEvTime", 0, "Select event time flags; 0: any event time, 1: isEvTimeDefined, 2: IsEvTimeTOF, 3: IsEvTimeT0AC, 4: IsEvTimeTOFT0AV"};
56+
Configurable<int> selectEvTime{"selectEvTime", 0, "Select event time flags; 0: any event time, 1: isEvTimeDefined, 2: IsEvTimeTOF, 3: IsEvTimeT0AC, 4: IsEvTimeTOFT0AV, 5: NOT isEvTimeDefined"};
5757
ConfigurableAxis binsPt{"binsPt", {VARIABLE_WIDTH, 0.0, 0.1, 0.12, 0.14, 0.16, 0.18, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.2, 2.4, 2.6, 2.8, 3.0, 3.2, 3.4, 3.6, 3.8, 4.0, 4.2, 4.4, 4.6, 4.8, 5.0}, "Binning of the pT axis"};
5858
ConfigurableAxis binsnsigmaTPC{"binsnsigmaTPC", {200, -10, 10}, "Binning of the nsigmaTPC axis"};
5959
ConfigurableAxis binsnsigmaTOF{"binsnsigmaTOF", {200, -10, 10}, "Binning of the nsigmaTOF axis"};
@@ -559,6 +559,11 @@ struct tofSpectra {
559559
return;
560560
}
561561
break;
562+
case 5:
563+
if (track.isEvTimeDefined()) {
564+
return;
565+
}
566+
break;
562567
default:
563568
LOG(fatal) << "Fatal did not recognise value select event time" << selectEvTime;
564569
}

0 commit comments

Comments
 (0)