@@ -199,6 +199,14 @@ struct lambdapolsp {
199199 Configurable<int > nMix{" nMix" , 5 , " number of event mixing" };
200200 } meGrp;
201201
202+ struct : ConfigurableGroup {
203+ ConfigurableAxis axisCosine{" axisCosine" , {100 , 0 , 1 }, " cosine axis" };
204+ ConfigurableAxis axisRadius{" axisRadius" , {200 , 0 , 100 }, " radius axis" };
205+ ConfigurableAxis axisDca{" axisDca" , {100 , -5 , 5 }, " dca axis" };
206+ ConfigurableAxis axisLT{" axisLT" , {50 , 0 , 50 }, " lifetime axis" };
207+ Configurable<bool > filldist{" filldist" , true , " fill topo distr" };
208+ } distGrp;
209+
202210 RCTFlagsChecker rctChecker;
203211
204212 SliceCache cache;
@@ -388,6 +396,17 @@ struct lambdapolsp {
388396 // histos.add("hSparseAntiLambda_corr2b", "hSparseAntiLambda_corr2b", HistType::kTHnSparseF, runaxes, true);
389397 }
390398
399+ if (distGrp.filldist ) {
400+ histos.add (" hcosine" , " hcosine" , HistType::kTH1D , {distGrp.axisCosine }, true );
401+ histos.add (" hdcabwv0daugh" , " hdcabwv0daugh" , HistType::kTH1D , {distGrp.axisDca }, true );
402+ histos.add (" hlifetime" , " hlifetime" , HistType::kTH1D , {distGrp.axisLT }, true );
403+ histos.add (" hradius" , " hradius" , HistType::kTH1D , {distGrp.axisRadius }, true );
404+ histos.add (" hdcaposlambda" , " hdcaposlambda" , HistType::kTH1D , {distGrp.axisDca }, true );
405+ histos.add (" hdcaneglambda" , " hdcaneglambda" , HistType::kTH1D , {distGrp.axisDca }, true );
406+ histos.add (" hdcaposantilambda" , " hdcaposantilambda" , HistType::kTH1D , {distGrp.axisDca }, true );
407+ histos.add (" hdcanegantilambda" , " hdcanegantilambda" , HistType::kTH1D , {distGrp.axisDca }, true );
408+ }
409+
391410 ccdb->setURL (cfgCcdbParam.cfgURL );
392411 ccdbApi.init (" http://alice-ccdb.cern.ch" );
393412 ccdb->setCaching (true );
@@ -1132,12 +1151,23 @@ struct lambdapolsp {
11321151 }
11331152 }
11341153 } else {
1154+ if (distGrp.filldist ) {
1155+ histos.fill (HIST (" hcosine" ), v0.v0cosPA ());
1156+ histos.fill (HIST (" hdcabwv0daugh" ), v0.dcaV0daughters ());
1157+ histos.fill (HIST (" hlifetime" ), TMath::Abs (v0.distovertotmom (collision.posX (), collision.posY (), collision.posZ ()) * massLambda));
1158+ histos.fill (HIST (" hradius" ), v0.v0radius ());
1159+ }
1160+
11351161 if (LambdaTag) {
11361162 Lambda = Proton + AntiPion;
11371163 tagb = 0 ;
11381164 int binx = accprofileL->GetXaxis ()->FindBin (v0.eta ());
11391165 int biny = accprofileL->GetYaxis ()->FindBin (v0.pt ());
11401166 double acvalue = accprofileL->GetBinContent (binx, biny);
1167+ if (distGrp.filldist ) {
1168+ histos.fill (HIST (" hdcaposlambda" ), v0.dcapostopv ());
1169+ histos.fill (HIST (" hdcaneglambda" ), v0.dcanegtopv ());
1170+ }
11411171 fillHistograms (taga, tagb, Lambda, Proton, psiZDCC, psiZDCA, psiZDC, centrality, v0.mLambda (), v0.pt (), v0.eta (), acvalue, 1.0 );
11421172 }
11431173
@@ -1148,6 +1178,10 @@ struct lambdapolsp {
11481178 int binx = accprofileAL->GetXaxis ()->FindBin (v0.eta ());
11491179 int biny = accprofileAL->GetYaxis ()->FindBin (v0.pt ());
11501180 double acvalue = accprofileAL->GetBinContent (binx, biny);
1181+ if (distGrp.filldist ) {
1182+ histos.fill (HIST (" hdcaposantilambda" ), v0.dcapostopv ());
1183+ histos.fill (HIST (" hdcanegantilambda" ), v0.dcanegtopv ());
1184+ }
11511185 fillHistograms (taga, tagb, AntiLambda, AntiProton, psiZDCC, psiZDCA, psiZDC, centrality, v0.mAntiLambda (), v0.pt (), v0.eta (), acvalue, wgtvalue);
11521186 }
11531187 }
0 commit comments