Skip to content

Commit f4f2e42

Browse files
authored
[PWGLF,PWGMM] UPDATE eff param and json name of configurables (#15356)
1 parent b8c9ee9 commit f4f2e42

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

PWGMM/UE/Tasks/uecharged.cxx

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,31 @@ struct ueCharged {
5252

5353
// Configurable for event selection
5454
Configurable<bool> isRun3{"isRun3", true, "is Run3 dataset"};
55-
Configurable<bool> pileuprejection{"pileuprejection", true, "Pileup rejection"};
56-
Configurable<bool> goodzvertex{"goodzvertex", true, "removes collisions with large differences between z of PV by tracks and z of PV from FT0 A-C time difference"};
57-
Configurable<bool> sel8{"sel8", true, "Apply the sel8 event selection"};
58-
Configurable<bool> removeITSROFBorder{"removeITSROFBorder", false, "Remove ITS Read-Out Frame border and only apply kIsTriggerTVX & kNoTimeFrameBorder (recommended for MC)"};
59-
Configurable<int> cfgINELCut{"cfgINELCut", 0, "INEL event selection: 0 no sel, 1 INEL>0, 2 INEL>1"};
55+
Configurable<bool> pileuprejection{"event_pileuprejection", true, "Pileup rejection"};
56+
Configurable<bool> goodzvertex{"event_goodzvertex", true, "removes collisions with large differences between z of PV by tracks and z of PV from FT0 A-C time difference"};
57+
Configurable<bool> sel8{"event_sel8", true, "Apply the sel8 event selection"};
58+
Configurable<bool> removeITSROFBorder{"event_removeITSROFBorder", false, "Remove ITS Read-Out Frame border and only apply kIsTriggerTVX & kNoTimeFrameBorder (recommended for MC)"};
59+
Configurable<int> cfgINELCut{"event_cfgINELCut", 0, "INEL event selection: 0 no sel, 1 INEL>0, 2 INEL>1"};
6060
Configurable<bool> analyzeEvandTracksel{"analyzeEvandTracksel", true, "Analyze the event and track selection"};
6161

6262
// Track selection configurables
6363
TrackSelection myTrkSel;
6464
Configurable<float> cfgTrkLowPtCut{"cfgTrkLowPtCut", 0.15f, "Minimum constituent pT"};
65-
Configurable<bool> isCustomTracks{"isCustomTracks", true, "Use custom track cuts"};
66-
Configurable<int> setITSreq{"setITSreq", 0, "0 = Run3ITSibAny, 1 = Run3ITSallAny, 2 = Run3ITSall7Layers, 3 = Run3ITSibTwo"};
67-
Configurable<float> minPt{"minPt", 0.1f, "Set minimum pT of tracks"};
68-
Configurable<float> maxPt{"maxPt", 1e10f, "Set maximum pT of tracks"};
69-
Configurable<float> requireEta{"requireEta", 0.8f, "Set eta range of tracks"};
70-
Configurable<bool> requireITSRefit{"requireITSRefit", true, "Additional cut on the ITS requirement"};
71-
Configurable<bool> requireTPCRefit{"requireTPCRefit", true, "Additional cut on the TPC requirement"};
72-
Configurable<bool> requireGoldenChi2{"requireGoldenChi2", true, "Additional cut on the GoldenChi2"};
73-
Configurable<float> maxChi2PerClusterTPC{"maxChi2PerClusterTPC", 4.f, "Additional cut on the maximum value of the chi2 per cluster in the TPC"};
74-
Configurable<float> maxChi2PerClusterITS{"maxChi2PerClusterITS", 36.f, "Additional cut on the maximum value of the chi2 per cluster in the ITS"};
75-
// Configurable<int> minITSnClusters{"minITSnClusters", 5, "minimum number of found ITS clusters"};
76-
Configurable<float> minNCrossedRowsTPC{"minNCrossedRowsTPC", 70.f, "Additional cut on the minimum number of crossed rows in the TPC"};
77-
Configurable<float> minNCrossedRowsOverFindableClustersTPC{"minNCrossedRowsOverFindableClustersTPC", 0.8f, "Additional cut on the minimum value of the ratio between crossed rows and findable clusters in the TPC"};
78-
Configurable<float> maxDcaXYFactor{"maxDcaXYFactor", 1.f, "Multiplicative factor on the maximum value of the DCA xy"};
79-
Configurable<float> maxDcaZ{"maxDcaZ", 0.1f, "Additional cut on the maximum value of the DCA z"};
65+
Configurable<bool> isCustomTracks{"trkcfg_isCustomTracks", true, "Use custom track cuts"};
66+
Configurable<int> setITSreq{"trkcfg_setITSreq", 0, "0 = Run3ITSibAny, 1 = Run3ITSallAny, 2 = Run3ITSall7Layers, 3 = Run3ITSibTwo"};
67+
Configurable<float> minPt{"trkcfg_minPt", 0.1f, "Set minimum pT of tracks"};
68+
Configurable<float> maxPt{"trkcfg_maxPt", 1e10f, "Set maximum pT of tracks"};
69+
Configurable<float> requireEta{"trkcfg_requireEta", 0.8f, "Set eta range of tracks"};
70+
Configurable<bool> requireITSRefit{"trkcfg_requireITSRefit", true, "Additional cut on the ITS requirement"};
71+
Configurable<bool> requireTPCRefit{"trkcfg_requireTPCRefit", true, "Additional cut on the TPC requirement"};
72+
Configurable<bool> requireGoldenChi2{"trkcfg_requireGoldenChi2", true, "Additional cut on the GoldenChi2"};
73+
Configurable<float> maxChi2PerClusterTPC{"trkcfg_maxChi2PerClusterTPC", 4.f, "Additional cut on the maximum value of the chi2 per cluster in the TPC"};
74+
Configurable<float> maxChi2PerClusterITS{"trkcfg_maxChi2PerClusterITS", 36.f, "Additional cut on the maximum value of the chi2 per cluster in the ITS"};
75+
// Configurable<int> minITSnClusters{"trkcfg_minITSnClusters", 5, "minimum number of found ITS clusters"};
76+
Configurable<float> minNCrossedRowsTPC{"trkcfg_minNCrossedRowsTPC", 70.f, "Additional cut on the minimum number of crossed rows in the TPC"};
77+
Configurable<float> minNCrossedRowsOverFindableClustersTPC{"trkcfg_minNCrossedRowsOverFindableClustersTPC", 0.8f, "Additional cut on the minimum value of the ratio between crossed rows and findable clusters in the TPC"};
78+
Configurable<float> maxDcaXYFactor{"trkcfg_maxDcaXYFactor", 1.f, "Multiplicative factor on the maximum value of the DCA xy"};
79+
Configurable<float> maxDcaZ{"trkcfg_maxDcaZ", 0.1f, "Additional cut on the maximum value of the DCA z"};
8080

8181
Service<o2::framework::O2DatabasePDG> pdg;
8282

@@ -165,12 +165,13 @@ struct ueCharged {
165165
AxisSpec ptAxis = {ptBinning, "#it{p}_{T}^{assoc} (GeV/#it{c})"};
166166

167167
fEff.setObject(new TF1("fpara",
168-
"(x<0.3)*((0.402353)+x*(1.90824)+x*x*(-3.37295)) +"
169-
"(x>=0.3&&x<1.8)*((0.603846)+(0.30189)*x+(-0.240649)*"
170-
"x*x+(0.0635382)*x*x*x) +"
171-
"(x>=1.8&&x<14.)*((0.75982)+(-0.0241023)*x+"
172-
"(0.00560107)*x*x+(-0.00048451)*x*x*x+"
173-
"(1.43868e-05)*x*x*x*x)+(x>=14)*((0.755339)+(-0.000986326)*x)",
168+
"(x<0.33)*((0.384347)+x*(1.77554)+x*x*(-2.9172)) +"
169+
"(x>=0.33&&x<1.2)*((0.58547)+(0.293843)*x+(-0.293957)*"
170+
"x*x+(0.109855)*x*x*x) +"
171+
"(x>=1.2&&x<5.6)*((0.581232)+(0.205847)*x+"
172+
"(-0.12133)*x*x+(0.0347906)*x*x*x+"
173+
"(-0.0048334)*x*x*x*x+(0.000261644)*x*x*x*x*x)+(x>=5.6)*((0.711869)+(0.00364573)*x"
174+
"+(-0.00019009)*x*x+(3.09894e-06)*x*x*x+(-1.81785e-08)*x*x*x*x)",
174175
0., 1e5));
175176

176177
if (doprocessMC || doprocessMCTrue) {

0 commit comments

Comments
 (0)