Skip to content

Commit 5505f26

Browse files
authored
Update LFNucleiBATask.cxx
1 parent 2f4ab78 commit 5505f26

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ struct LFNucleiBATask {
112112
} kinemOptions;
113113

114114
Configurable<bool> isPVContributorCut{"isPVContributorCut", false, "Flag to enable isPVContributor cut."};
115+
Configurable<bool> initITSPID{"initITSPID", false, "Flag to init the ITS PID response"};
115116

116117
struct : ConfigurableGroup {
117118
Configurable<float> nsigmaTPCPr{"nsigmaTPCPr", 3.f, "Value of the Nsigma TPC cut for protons"};
@@ -243,7 +244,9 @@ struct LFNucleiBATask {
243244

244245
void init(o2::framework::InitContext& context)
245246
{
246-
o2::aod::ITSResponse::setParameters(context);
247+
if (initITSPID) {
248+
o2::aod::ITSResponse::setParameters(context);
249+
}
247250
if (skimmingOptions.applySkimming) {
248251
zorroSummary.setObject(zorro.getZorroSummary());
249252
}

0 commit comments

Comments
 (0)