@@ -180,7 +180,7 @@ struct FlowGfwV02 {
180180 // // The analysis assumes the data has been subjected to a QA of its selection,
181181 // // and thus only the final distributions of the data for analysis are saved.
182182 o2::framework::expressions::Filter collFilter = (nabs(aod::collision::posZ) < cfgEventCuts.cfgZvtxMax);
183- o2::framework::expressions::Filter trackFilter = (aod::track::pt > cfgTrackCuts.cfgPtMin) && (aod::track::pt < cfgTrackCuts.cfgPtMax) && (nabs(aod::track::eta) < cfgTrackCuts.cfgEtaMax && ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == (uint8_t ) true )) && (aod::track::itsChi2NCl < cfgTrackCuts.cfgChi2PrITSCls) && (aod::track::tpcChi2NCl < cfgTrackCuts.cfgChi2PrTPCCls) && nabs(aod::track::dcaZ) < cfgTrackCuts.cfgDCAz);
183+ o2::framework::expressions::Filter trackFilter = (aod::track::pt > cfgTrackCuts.cfgPtMin) && (aod::track::pt < cfgTrackCuts.cfgPtMax) && (nabs(aod::track::eta) < cfgTrackCuts.cfgEtaMax && ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == (uint8_t )true )) && (aod::track::itsChi2NCl < cfgTrackCuts.cfgChi2PrITSCls) && (aod::track::tpcChi2NCl < cfgTrackCuts.cfgChi2PrTPCCls) && nabs(aod::track::dcaZ) < cfgTrackCuts.cfgDCAz);
184184
185185 // Connect to ccdb
186186 Service<ccdb::BasicCCDBManager> ccdb;
@@ -224,7 +224,6 @@ struct FlowGfwV02 {
224224 kTrackCent
225225 };
226226
227-
228227 std::unique_ptr<GFW> fGFW {std::make_unique<GFW>()};
229228 std::unique_ptr<TRandom3> fRndm {std::make_unique<TRandom3>(0 )};
230229 std::unique_ptr<TAxis> fSecondAxis {nullptr };
@@ -247,7 +246,6 @@ struct FlowGfwV02 {
247246 };
248247 PIDState pidStates;
249248
250-
251249 // Event selection cuts - Alex
252250 TF1* fMultPVCutLow = nullptr ;
253251 TF1* fMultPVCutHigh = nullptr ;
@@ -384,7 +382,6 @@ struct FlowGfwV02 {
384382 AxisSpec dcaZAxis = {200 , -2 , 2 , " DCA_{z} (cm)" };
385383 AxisSpec dcaXYAxis = {200 , -0.5 , 0.5 , " DCA_{xy} (cm)" };
386384
387-
388385 registry.add (" v02pt" , " " , {HistType::kTProfile2D , {ptAxis, centAxis}});
389386 registry.add (" nchMid" , " " , {HistType::kTProfile2D , {ptAxis, centAxis}});
390387
@@ -652,7 +649,6 @@ struct FlowGfwV02 {
652649 return 1 . / eff;
653650 }
654651
655-
656652 template <typename TTrack>
657653 void fillNsigmaAfterCut (TTrack track1, Int_t pid) // function to fill the QA after Nsigma selection
658654 {
@@ -702,7 +698,6 @@ struct FlowGfwV02 {
702698 } // end of switch
703699 }
704700
705-
706701 template <typename TCollision>
707702 bool eventSelected (TCollision collision, const int & multTrk, const float & centrality, const int & run)
708703 {
@@ -980,7 +975,6 @@ struct FlowGfwV02 {
980975 return ((track.tpcNClsCrossedRows () >= cfgTrackCuts.cfgNTPCXrows ) && (track.tpcNClsFound () >= cfgTrackCuts.cfgNTPCCls ) && (track.itsNCls () >= cfgTrackCuts.cfgMinNITSCls ));
981976 }
982977
983-
984978 template <typename TCollision>
985979 float getCentrality (TCollision collision)
986980 {
@@ -1004,15 +998,14 @@ struct FlowGfwV02 {
1004998 }
1005999 }
10061000
1007-
10081001 template <typename TTrack>
10091002 inline void processTrack (TTrack const & track, const float & vtxz, const int & multiplicity, const int & /* run*/ , AcceptedTracks& acceptedTracks)
10101003 {
1011-
1004+
10121005 if (cfgFillQA) {
10131006 fillTrackQA<kBefore >(track, vtxz);
10141007 registry.fill (HIST (" trackQA/before/nch_pt" ), multiplicity, track.pt ());
1015- }
1008+ }
10161009 if (!trackSelected (track))
10171010 return ;
10181011
@@ -1093,7 +1086,6 @@ struct FlowGfwV02 {
10931086 return ;
10941087 }
10951088
1096-
10971089 double getTimeSinceStartOfFill (uint64_t , int ) { return 0.0 ; }
10981090
10991091 void processData (soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentFV0As, aod::CentNTPVs, aod::CentNGlobals, aod::CentMFTs>>::iterator const & collision, aod::BCsWithTimestamps const &, GFWTracks const & tracks)
@@ -1119,13 +1111,12 @@ struct FlowGfwV02 {
11191111 registry.fill (HIST (" eventQA/before/centrality" ), xaxis.centrality );
11201112 registry.fill (HIST (" eventQA/before/multiplicity" ), xaxis.multiplicity );
11211113 }
1122-
1114+
11231115 if (cfgUseAdditionalEventCut && !eventSelected (collision, xaxis.multiplicity , xaxis.centrality , run))
11241116 return ;
11251117 if (cfgFillQA)
11261118 fillEventQA<kAfter >(collision, xaxis);
11271119
1128-
11291120 registry.fill (HIST (" eventQA/after/centrality" ), xaxis.centrality );
11301121 registry.fill (HIST (" eventQA/after/multiplicity" ), xaxis.multiplicity );
11311122 processCollision<kReco >(collision, tracks, xaxis, run);
0 commit comments