@@ -88,17 +88,17 @@ struct lambdakzeroprefilter {
8888 Produces<aod::V0GoodPosTracks> v0GoodPosTracks;
8989 Produces<aod::V0GoodNegTracks> v0GoodNegTracks;
9090
91- // still exhibiting issues? To be checked
92- // Partition<soa::Join<aod::FullTracks, aod::TracksExtended>> goodPosTracks = aod::track::signed1Pt > 0.0f && aod::track::dcaXY > dcapostopv;
93- // Partition<soa::Join<aod::FullTracks, aod::TracksExtended>> goodNegTracks = aod::track::signed1Pt < 0.0f && aod::track::dcaXY < -dcanegtopv;
91+ // still exhibiting issues? To be checked
92+ // Partition<soa::Join<aod::FullTracks, aod::TracksExtended>> goodPosTracks = aod::track::signed1Pt > 0.0f && aod::track::dcaXY > dcapostopv;
93+ // Partition<soa::Join<aod::FullTracks, aod::TracksExtended>> goodNegTracks = aod::track::signed1Pt < 0.0f && aod::track::dcaXY < -dcanegtopv;
9494
9595 void process (aod::Collision const & collision,
9696 soa::Join<aod::FullTracks, aod::TracksExtended> const & tracks)
9797 {
9898 for (auto & t0 : tracks) {
9999 if (tpcrefit) {
100100 if (!(t0.trackType () & o2::aod::track::TPCrefit)) {
101- continue ; // TPC refit
101+ continue ; // TPC refit
102102 }
103103 }
104104 if (t0.tpcNClsCrossedRows () < mincrossedrows) {
@@ -130,19 +130,19 @@ struct lambdakzerofinder {
130130 },
131131 };
132132
133- // Configurables
133+ // Configurables
134134 Configurable<double > d_bz{" d_bz" , +5.0 , " bz field" };
135135 Configurable<double > d_UseAbsDCA{" d_UseAbsDCA" , kTRUE , " Use Abs DCAs" };
136136
137- // Selection criteria
138- Configurable<double > v0cospa{" v0cospa" , 0.995 , " V0 CosPA" }; // double -> N.B. dcos(x)/dx = 0 at x=0)
137+ // Selection criteria
138+ Configurable<double > v0cospa{" v0cospa" , 0.995 , " V0 CosPA" }; // double -> N.B. dcos(x)/dx = 0 at x=0)
139139 Configurable<float > dcav0dau{" dcav0dau" , 1.0 , " DCA V0 Daughters" };
140140 Configurable<float > v0radius{" v0radius" , 5.0 , " v0radius" };
141141
142142 void process (aod::Collision const & collision, soa::Join<aod::FullTracks, aod::TracksCov> const & tracks,
143143 aod::V0GoodPosTracks const & ptracks, aod::V0GoodNegTracks const & ntracks)
144144 {
145- // Define o2 fitter, 2-prong
145+ // Define o2 fitter, 2-prong
146146 o2::vertexing::DCAFitterN<2 > fitter;
147147 fitter.setBz (d_bz);
148148 fitter.setPropagateToPCA (true );
@@ -155,29 +155,29 @@ struct lambdakzerofinder {
155155
156156 Long_t lNCand = 0 ;
157157
158- std::array<float , 3 > pVtx = {collision.posX (), collision.posY (), collision.posZ ()};
158+ // std::array<float, 3> pVtx = {collision.posX(), collision.posY(), collision.posZ()};
159159
160- for (auto & t0id : ptracks) { // FIXME: turn into combination(...)
160+ for (auto & t0id : ptracks) { // FIXME: turn into combination(...)
161161 auto t0 = t0id.goodTrack_as <soa::Join<aod::FullTracks, aod::TracksCov>>();
162162 auto Track1 = getTrackParCov (t0);
163163 for (auto & t1id : ntracks) {
164164 auto t1 = t1id.goodTrack_as <soa::Join<aod::FullTracks, aod::TracksCov>>();
165165 auto Track2 = getTrackParCov (t1);
166166
167- // Try to progate to dca
167+ // Try to progate to dca
168168 int nCand = fitter.process (Track1, Track2);
169169 if (nCand == 0 ) {
170170 continue ;
171171 }
172172 const auto & vtx = fitter.getPCACandidate ();
173173
174- // Fiducial: min radius
174+ // Fiducial: min radius
175175 auto thisv0radius = TMath::Sqrt (TMath::Power (vtx[0 ], 2 ) + TMath::Power (vtx[1 ], 2 ));
176176 if (thisv0radius < v0radius) {
177177 continue ;
178178 }
179179
180- // DCA V0 daughters
180+ // DCA V0 daughters
181181 auto thisdcav0dau = fitter.getChi2AtPCACandidate ();
182182 if (thisdcav0dau > dcav0dau) {
183183 continue ;
@@ -213,9 +213,9 @@ struct lambdakzerofinder {
213213};
214214
215215struct lambdakzerofinderQA {
216- // Basic checks
217- // Selection criteria
218- Configurable<double > v0cospa{" v0cospa" , 0.998 , " V0 CosPA" }; // double -> N.B. dcos(x)/dx = 0 at x=0)
216+ // Basic checks
217+ // Selection criteria
218+ Configurable<double > v0cospa{" v0cospa" , 0.998 , " V0 CosPA" }; // double -> N.B. dcos(x)/dx = 0 at x=0)
219219 Configurable<float > dcav0dau{" dcav0dau" , .6 , " DCA V0 Daughters" };
220220 Configurable<float > dcanegtopv{" dcanegtopv" , .1 , " DCA Neg To PV" };
221221 Configurable<float > dcapostopv{" dcapostopv" , .1 , " DCA Pos To PV" };
@@ -240,7 +240,7 @@ struct lambdakzerofinderQA {
240240
241241 Filter preFilterV0 = nabs(aod::v0data::dcapostopv) > dcapostopv&& nabs(aod::v0data::dcanegtopv) > dcanegtopv&& aod::v0data::dcaV0daughters < dcav0dau;
242242
243- // /Connect to V0Data: newly indexed, note: V0Datas table incompatible with standard V0 table!
243+ // / Connect to V0Data: newly indexed, note: V0Datas table incompatible with standard V0 table!
244244 void process (soa::Join<aod::Collisions, aod::EvSels, aod::CentV0Ms>::iterator const & collision,
245245 soa::Filtered<aod::V0Datas> const & fullV0s)
246246 {
0 commit comments