You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DPG/Tasks/AOTTrack/qaEfficiency.cxx
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ struct QaEfficiency {
68
68
Configurable<bool> noFakesHits{"noFakesHits", false, "Flag to reject tracks that have fake hits"};
69
69
Configurable<bool> skipEventsWithoutTPCTracks{"skipEventsWithoutTPCTracks", false, "Flag to reject events that have no tracks reconstructed in the TPC"};
70
70
Configurable<float> maxProdRadius{"maxProdRadius", 9999.f, "Maximum production radius of the particle under study"};
71
+
Configurable<float> nsigmaTPCDe{"nsigmaTPCDe", 3.f, "Value of the Nsigma TPC cut for deuterons PID"};
71
72
// Charge selection
72
73
Configurable<bool> doPositivePDG{"doPositivePDG", false, "Flag to fill histograms for positive PDG codes."};
73
74
Configurable<bool> doNegativePDG{"doNegativePDG", false, "Flag to fill histograms for negative PDG codes."};
@@ -820,10 +821,14 @@ struct QaEfficiency {
820
821
821
822
voidinitData(const AxisSpec& axisSel)
822
823
{
823
-
if (!doprocessData) {
824
+
if (!doprocessData && !doprocessDataWithPID) {
824
825
return;
825
826
}
826
827
828
+
if (doprocessData == true && doprocessDataWithPID == true) {
829
+
LOG(fatal) << "Can't enable processData and doprocessDataWithPID in the same time, pick one!";
830
+
}
831
+
827
832
auto h = histos.add<TH1>("Data/trackSelection", "Track Selection", kTH1F, {axisSel});
0 commit comments