@@ -55,7 +55,55 @@ class EMPhotonEventCut : public TNamed
5555 template <typename T>
5656 bool IsSelected (T const & collision) const
5757 {
58- if (!EMPhotonEventCut::IsSelected (collision)) {
58+ if (mRequireSel8 && !IsSelected (collision, EMPhotonEventCuts::kSel8 )) {
59+ return false ;
60+ }
61+ if (mRequireFT0AND && !IsSelected (collision, EMPhotonEventCuts::kFT0AND )) {
62+ return false ;
63+ }
64+ if (!IsSelected (collision, EMPhotonEventCuts::kZvtx )) {
65+ return false ;
66+ }
67+ if (mRequireNoTFB && !IsSelected (collision, EMPhotonEventCuts::kNoTFB )) {
68+ return false ;
69+ }
70+ if (mRequireNoITSROFB && !IsSelected (collision, EMPhotonEventCuts::kNoITSROFB )) {
71+ return false ;
72+ }
73+ if (mRequireNoSameBunchPileup && !IsSelected (collision, EMPhotonEventCuts::kNoSameBunchPileup )) {
74+ return false ;
75+ }
76+ if (mRequireVertexITSTPC && !IsSelected (collision, EMPhotonEventCuts::kIsVertexITSTPC )) {
77+ return false ;
78+ }
79+ if (mRequireVertexTOFmatched && !IsSelected (collision, EMPhotonEventCuts::kIsVertexTOFmatched )) {
80+ return false ;
81+ }
82+ if (mRequireGoodZvtxFT0vsPV && !IsSelected (collision, EMPhotonEventCuts::kIsGoodZvtxFT0vsPV )) {
83+ return false ;
84+ }
85+ if (mRequireNoCollInTimeRangeStandard && !IsSelected (collision, EMPhotonEventCuts::kNoCollInTimeRangeStandard )) {
86+ return false ;
87+ }
88+ if (mRequireNoCollInTimeRangeStrict && !IsSelected (collision, EMPhotonEventCuts::kNoCollInTimeRangeStrict )) {
89+ return false ;
90+ }
91+ if (mRequireNoCollInITSROFStandard && !IsSelected (collision, EMPhotonEventCuts::kNoCollInITSROFStandard )) {
92+ return false ;
93+ }
94+ if (mRequireNoCollInITSROFStrict && !IsSelected (collision, EMPhotonEventCuts::kNoCollInITSROFStrict )) {
95+ return false ;
96+ }
97+ if (mRequireNoHighMultCollInPrevRof && !IsSelected (collision, EMPhotonEventCuts::kNoHighMultCollInPrevRof )) {
98+ return false ;
99+ }
100+ if (mRequireGoodITSLayer3 && !IsSelected (collision, EMPhotonEventCuts::kIsGoodITSLayer3 )) {
101+ return false ;
102+ }
103+ if (mRequireGoodITSLayer0123 && !IsSelected (collision, EMPhotonEventCuts::kIsGoodITSLayer0123 )) {
104+ return false ;
105+ }
106+ if (mRequireGoodITSLayersAll && !IsSelected (collision, EMPhotonEventCuts::kIsGoodITSLayersAll )) {
59107 return false ;
60108 }
61109 if (mRequireEMCReadoutInMB && !IsSelected (collision, EMPhotonEventCuts::kEMCReadoutInMB )) {
0 commit comments