1414// / \author Hyunji Lim (hyunji.lim@cern.ch)
1515// / \since 12/01/2026
1616
17- #include < Framework/Configurable.h>
18- #include " Math/Vector4D.h"
19-
20- #include " DataFormatsParameters/GRPObject.h"
21-
2217#include " PWGLF/DataModel/LFResonanceTables.h"
2318#include " PWGLF/DataModel/mcCentrality.h"
2419#include " PWGLF/Utils/inelGt.h"
2924#include " Common/DataModel/PIDResponse.h"
3025
3126#include " CommonConstants/PhysicsConstants.h"
27+ #include " DataFormatsParameters/GRPObject.h"
3228#include " Framework/ASoAHelpers.h"
3329#include " Framework/AnalysisTask.h"
3430#include " Framework/O2DatabasePDGPlugin.h"
3531#include " Framework/runDataProcessing.h"
32+ #include < Framework/Configurable.h>
33+
34+ #include " Math/Vector4D.h"
3635
3736using namespace o2 ;
3837using namespace o2 ::framework;
@@ -74,14 +73,14 @@ struct rho770analysis {
7473 Configurable<bool > cfgPVContributor{" cfgPVContributor" , true , " PV contributor track selection" }; // PV Contriuibutor
7574 Configurable<bool > cfgGlobalTrack{" cfgGlobalTrack" , false , " Global track selection" }; // kGoldenChi2 | kDCAxy | kDCAz
7675 Configurable<int > cfgTPCcluster{" cfgTPCcluster" , 1 , " Number of TPC cluster" };
77- Configurable<bool > cfgUseTPCRefit{" cfgUseTPCRefit" , false , " Require TPC Refit" }; // refit is included in global track selection
76+ Configurable<bool > cfgUseTPCRefit{" cfgUseTPCRefit" , false , " Require TPC Refit" }; // refit is included in global track selection
7877 Configurable<bool > cfgUseITSRefit{" cfgUseITSRefit" , false , " Require ITS Refit" };
7978 Configurable<bool > cfgHasTOF{" cfgHasTOF" , false , " Require TOF" };
8079 Configurable<int > cfgTPCRows{" cfgTPCRows" , 80 , " Minimum Number of TPC Crossed Rows " };
8180
8281 // PID
83- Configurable<double > cMaxTOFnSigmaPion{" cMaxTOFnSigmaPion" , 3.0 , " TOF nSigma cut for Pion" }; // TOF
84- Configurable<double > cMaxTPCnSigmaPion{" cMaxTPCnSigmaPion" , 5.0 , " TPC nSigma cut for Pion" }; // TPC
82+ Configurable<double > cMaxTOFnSigmaPion{" cMaxTOFnSigmaPion" , 3.0 , " TOF nSigma cut for Pion" }; // TOF
83+ Configurable<double > cMaxTPCnSigmaPion{" cMaxTPCnSigmaPion" , 5.0 , " TPC nSigma cut for Pion" }; // TPC
8584 Configurable<double > cMaxTPCnSigmaPionnoTOF{" cMaxTPCnSigmaPionnoTOF" , 3.0 , " TPC nSigma cut for Pion in no TOF case" }; // TPC
8685 Configurable<double > nsigmaCutCombinedPion{" nsigmaCutCombinedPion" , 3.0 , " Combined nSigma cut for Pion" };
8786 Configurable<int > selectType{" selectType" , 1 , " PID selection type" };
@@ -185,7 +184,7 @@ struct rho770analysis {
185184 if (track.tpcNSigmaPi () * track.tpcNSigmaPi () + track.tofNSigmaPi () * track.tofNSigmaPi () >= nsigmaCutCombinedPion * nsigmaCutCombinedPion)
186185 return false ;
187186 }
188- if (selectType == 3 ) { // TPC TOF veto
187+ if (selectType == 3 ) { // TPC TOF veto
189188 if (track.hasTOF ()) {
190189 if (std::fabs (track.tpcNSigmaPi ()) >= cMaxTPCnSigmaPion || std::fabs (track.tofNSigmaPi ()) >= cMaxTOFnSigmaPion)
191190 return false ;
@@ -268,7 +267,7 @@ struct rho770analysis {
268267 if (std::abs (trk1.pdgCode ()) == kPiPlus && std::abs (trk2.pdgCode ()) == kPiPlus ) {
269268 if (std::abs (trk1.motherPDG ()) == kRho770_0 ) {
270269 histos.fill (HIST (" MCL/hpT_rho770_REC" ), reco.M (), reco.Pt (), multiplicity);
271- } else if (std::abs (trk1.motherPDG ()) == kOmega ) {
270+ } else if (std::abs (trk1.motherPDG ()) == kOmega ) {
272271 histos.fill (HIST (" MCL/hpT_omega_REC" ), reco.M (), reco.Pt (), multiplicity);
273272 } else if (std::abs (trk1.motherPDG ()) == kK0Short ) {
274273 histos.fill (HIST (" MCL/hpT_K0s_REC" ), reco.M (), reco.Pt (), multiplicity);
@@ -388,7 +387,7 @@ struct rho770analysis {
388387 auto mass = truthpar.M ();
389388
390389 histos.fill (HIST (" MCL/hpT_rho770_GEN" ), 0 , mass, part.pt (), multiplicity);
391-
390+
392391 if (collision.isVtxIn10 ()) {
393392 histos.fill (HIST (" MCL/hpT_rho770_GEN" ), 1 , mass, part.pt (), multiplicity);
394393 }
@@ -409,4 +408,5 @@ struct rho770analysis {
409408WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
410409{
411410 return WorkflowSpec{adaptAnalysisTask<rho770analysis>(cfgc)};
412- }
411+ }
412+
0 commit comments