@@ -83,11 +83,12 @@ struct highmasslambda {
8383 Configurable<float > cfgCutCentralityMax{" cfgCutCentralityMax" , 50 .0f , " Accepted maximum Centrality" };
8484 Configurable<float > cfgCutCentralityMin{" cfgCutCentralityMin" , 30 .0f , " Accepted minimum Centrality" };
8585 // proton track cut
86+ Configurable<bool > isPVContributor{" isPVContributor" , true , " is PV contributor" };
8687 Configurable<bool > rejectPID{" rejectPID" , true , " Reject PID" };
8788 Configurable<float > confRapidity{" confRapidity" , 0.8 , " cut on Rapidity" };
8889 Configurable<float > cfgCutPT{" cfgCutPT" , 0.3 , " PT cut on daughter track" };
8990 Configurable<float > cfgCutEta{" cfgCutEta" , 0.8 , " Eta cut on daughter track" };
90- Configurable<float > cfgCutDCAxymin{" cfgCutDCAxymin" , 0 .002f , " Minimum DCAxy range for tracks" };
91+ Configurable<float > cfgCutDCAxymin{" cfgCutDCAxymin" , 0 .001f , " Minimum DCAxy range for tracks" };
9192 Configurable<float > cfgCutDCAxy{" cfgCutDCAxy" , 0 .1f , " DCAxy range for tracks" };
9293 Configurable<float > cfgCutDCAz{" cfgCutDCAz" , 1 .0f , " DCAz range for tracks" };
9394 Configurable<int > cfgITScluster{" cfgITScluster" , 5 , " Number of ITS cluster" };
@@ -149,7 +150,7 @@ struct highmasslambda {
149150 void init (o2::framework::InitContext&)
150151 {
151152 std::vector<double > occupancyBinning = {0.0 , 500.0 , 1000.0 , 3000.0 , 6000.0 , 50000.0 };
152- std::vector<double > dcaBinning = {0.0001 , 0.0002 , 0.0003 , 0.0004 , 0. 0005 , 0.0006 , 0.0007 , 0.0008 , 0.0009 , 0. 001 , 0.0012 , 0.0014 , 0.0016 , 0.0018 , 0.002 , 0.0025 , 0.003 , 0.004 , 0.005 , 0.006 , 0.008 , 0.01 , 0.02 , 0.03 , 0.04 , 0.05 , 0.06 , 0.08 , 0.09 , 0.1 , 0.5 , 1.0 };
153+ std::vector<double > dcaBinning = {0.0 , 0.0005 , 0.001 , 0.002 , 0.003 , 0.004 , 0.005 , 0.006 , 0.007 , 0.008 , 0.009 , 0.01 , 0.012 , 0.014 , 0.016 , 0.02 , 0.03 , 0.05 , 0.1 , 0.5 , 1.0 };
153154 const AxisSpec thnAxisInvMass{configThnAxisInvMass, " #it{M} (GeV/#it{c}^{2})" };
154155 const AxisSpec thnAxisPt{configThnAxisPt, " #it{p}_{T} (GeV/#it{c})" };
155156 const AxisSpec thnAxisCosThetaStar{configThnAxisCosThetaStar, " cos(#vartheta)" };
@@ -202,7 +203,7 @@ struct highmasslambda {
202203 histos.add (" hSparseV2SASameEvent_V2_occupancy" , " hSparseV2SASameEvent_V2_occupancy" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisV2, dcaAxis, thnAxisPtProton, thnAxisCentrality, occupancyAxis});
203204 histos.add (" hSparseV2SASameEventRotational_V2_occupancy" , " hSparseV2SASameEventRotational_V2_occupancy" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisV2, dcaAxis, thnAxisPtProton, thnAxisCentrality, occupancyAxis});
204205 histos.add (" hSparseV2SASameEvent_V2_new_occupancy" , " hSparseV2SASameEvent_V2_new_occupancy" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisV2, dcaAxis, thnAxisPtProton, thnAxisCentrality, occupancyAxis});
205- histos.add (" hSparseV2SASameEventRotational_V2_new_occupancy" , " hSparseV2SASameEventRotational_V2_new_occupancy" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisV2, dcaAxis, thnAxisPtProton, occupancyAxis});
206+ histos.add (" hSparseV2SASameEventRotational_V2_new_occupancy" , " hSparseV2SASameEventRotational_V2_new_occupancy" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisV2, dcaAxis, thnAxisPtProton, thnAxisCentrality, occupancyAxis});
206207 }
207208 if (fillPolarization) {
208209 histos.add (" hSparseV2SASameEventplus_SA" , " hSparseV2SASameEventplus_SA" , HistType::kTHnSparseF , {thnAxisInvMass, thnAxisPt, thnAxisSA, thnAxisPhiminusPsi, thnAxisCentrality});
@@ -231,11 +232,16 @@ struct highmasslambda {
231232 template <typename T>
232233 bool selectionTrack (const T& candidate)
233234 {
234- if (!(candidate.isGlobalTrack () && candidate.isPVContributor () && candidate.itsNCls () > cfgITScluster && candidate.tpcNClsFound () > cfgTPCcluster)) {
235- // if (!(candidate.isGlobalTrackWoDCA() && candidate.itsNCls() > cfgITScluster && candidate.tpcNClsFound() > cfgTPCcluster)) {
235+ if (isPVContributor && !(candidate.isGlobalTrack () && candidate.isPVContributor () && candidate.itsNCls () > cfgITScluster && candidate.tpcNClsFound () > cfgTPCcluster)) {
236236 return false ;
237237 }
238- if (candidate.pt () < 2.0 && TMath::Abs (candidate.dcaXY ()) < cfgCutDCAxymin) {
238+ if (!isPVContributor && !(candidate.isGlobalTrackWoDCA () && candidate.itsNCls () > cfgITScluster && candidate.tpcNClsFound () > cfgTPCcluster)) {
239+ return false ;
240+ }
241+ if (candidate.pt () < 1.0 && TMath::Abs (candidate.dcaXY ()) < 0.002 ) {
242+ return false ;
243+ }
244+ if (candidate.pt () >= 1.0 && candidate.pt () < 2.0 && TMath::Abs (candidate.dcaXY ()) < cfgCutDCAxymin) {
239245 return false ;
240246 }
241247 return true ;
0 commit comments