Skip to content

Commit d4cefc0

Browse files
authored
[PWGEM,PWGEM-36] Add clusterdefinition to the emcal cuts (#9311)
1 parent c45723d commit d4cefc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PWGEM/PhotonMeson/Tasks/taskPi0FlowEMC.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ struct TaskPi0FlowEMC {
127127
EMCPhotonCut fEMCCut;
128128
struct : ConfigurableGroup {
129129
std::string prefix = "emccuts";
130+
Configurable<std::string> clusterDefinition{"clusterDefinition", "kV3Default", "Clusterizer to be selected, e.g. V3Default"};
130131
Configurable<float> cfgEMCminTime{"cfgEMCminTime", -25., "Minimum cluster time for EMCal time cut"};
131132
Configurable<float> cfgEMCmaxTime{"cfgEMCmaxTime", +30., "Maximum cluster time for EMCal time cut"};
132133
Configurable<float> cfgEMCminM02{"cfgEMCminM02", 0.1, "Minimum M02 for EMCal M02 cut"};
@@ -222,6 +223,7 @@ struct TaskPi0FlowEMC {
222223
fEMCCut.SetM02Range(emccuts.cfgEMCminM02, emccuts.cfgEMCmaxM02);
223224
fEMCCut.SetTimeRange(emccuts.cfgEMCminTime, emccuts.cfgEMCmaxTime);
224225
fEMCCut.SetUseExoticCut(emccuts.cfgEMCUseExoticCut);
226+
fEMCCut.SetClusterizer(emccuts.clusterDefinition);
225227
}
226228

227229
void init(InitContext&)

0 commit comments

Comments
 (0)