Skip to content

Commit e18ac56

Browse files
njacaziojpxrk
authored andcommitted
[PWGLF] Init PID ITS in LFNucleiBATask (AliceO2Group#11796)
1 parent 9069d9c commit e18ac56

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx

Lines changed: 5 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"};
@@ -241,8 +242,11 @@ struct LFNucleiBATask {
241242
}
242243
}
243244

244-
void init(o2::framework::InitContext&)
245+
void init(o2::framework::InitContext& context)
245246
{
247+
if (initITSPID) {
248+
o2::aod::ITSResponse::setParameters(context);
249+
}
246250
if (skimmingOptions.applySkimming) {
247251
zorroSummary.setObject(zorro.getZorroSummary());
248252
}

0 commit comments

Comments
 (0)