Skip to content

Commit 45765f7

Browse files
committed
INEL > 0 update, modify code for pull request_4th try
1 parent 4acfc90 commit 45765f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGLF/Tasks/Resonances/rho770analysis.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ enum class TrackPIDMode {
4949
TPCWithTOFVeto = 3
5050
};
5151

52-
struct Rho770Analysis {
52+
struct rho770analysis {
5353
SliceCache cache;
5454
HistogramRegistry histos{"histos", {}, OutputObjHandlingPolicy::AnalysisObject};
5555

@@ -77,7 +77,7 @@ struct Rho770Analysis {
7777
Configurable<bool> cfgPVContributor{"cfgPVContributor", true, "PV contributor track selection"}; // PV Contriuibutor
7878
Configurable<bool> cfgGlobalTrack{"cfgGlobalTrack", false, "Global track selection"}; // kGoldenChi2 | kDCAxy | kDCAz
7979
Configurable<int> cfgTPCcluster{"cfgTPCcluster", 1, "Number of TPC cluster"};
80-
Configurable<bool> cfgUseTPCRefit{"cfgUseTPCRefit", false, "Require TPC Refit"}; //refit is included in global track selection
80+
Configurable<bool> cfgUseTPCRefit{"cfgUseTPCRefit", false, "Require TPC Refit"}; // refit is included in global track selection
8181
Configurable<bool> cfgUseITSRefit{"cfgUseITSRefit", false, "Require ITS Refit"};
8282
Configurable<bool> cfgHasTOF{"cfgHasTOF", false, "Require TOF"};
8383
Configurable<int> cfgTPCRows{"cfgTPCRows", 80, "Minimum Number of TPC Crossed Rows "};
@@ -271,7 +271,7 @@ struct Rho770Analysis {
271271
if (std::abs(trk1.pdgCode()) == kPiPlus && std::abs(trk2.pdgCode()) == kPiPlus) {
272272
if (std::abs(trk1.motherPDG()) == kRho770_0) {
273273
histos.fill(HIST("MCL/hpT_rho770_REC"), reco.M(), reco.Pt(), multiplicity);
274-
} else if (std::abs(trk1.motherPDG()) == kOmega ) {
274+
} else if (std::abs(trk1.motherPDG()) == kOmega) {
275275
histos.fill(HIST("MCL/hpT_omega_REC"), reco.M(), reco.Pt(), multiplicity);
276276
} else if (std::abs(trk1.motherPDG()) == kK0Short) {
277277
histos.fill(HIST("MCL/hpT_K0s_REC"), reco.M(), reco.Pt(), multiplicity);
@@ -412,4 +412,4 @@ struct Rho770Analysis {
412412
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
413413
{
414414
return WorkflowSpec{adaptAnalysisTask<rho770analysis>(cfgc)};
415-
}
415+
}

0 commit comments

Comments
 (0)