You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGJE/Tasks/trackEfficiency.cxx
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,7 @@ struct TrackEfficiency {
86
86
Configurable<float> ptHatMin{"ptHatMin", -999, "min pT hat of collisions"};
87
87
Configurable<float> ptHatMax{"ptHatMax", 999, "max pT hat of collisions"};
88
88
Configurable<float> pTHatExponent{"pTHatExponent", 4.0, "exponent of the event weight for the calculation of pTHat"};
89
+
Configurable<float> simPtRef{"simPtRef", 10.0, "reference pT for the back-calculation of pTHat from the event weight"};
89
90
Configurable<float> pTHatMaxFractionMCD{"pTHatMaxFractionMCD", 999.0, "maximum fraction of hard scattering for reconstructed track acceptance in MC"};
90
91
Configurable<float> pTHatMaxFractionMCP{"pTHatMaxFractionMCP", 999.0, "maximum fraction of hard scattering for particle acceptance in MC"};
91
92
@@ -105,7 +106,6 @@ struct TrackEfficiency {
105
106
106
107
std::vector<int> eventSelectionBits;
107
108
int trackSelection = -1;
108
-
float simPtRef = 10.;
109
109
110
110
enum AcceptSplitCollisionsOptions {
111
111
NonSplitOnly = 0,
@@ -476,7 +476,7 @@ struct TrackEfficiency {
476
476
}
477
477
registry.fill(HIST("hMcCollCutsCounts"), 5.5); // at least one of the reconstructed collisions associated with this mcCollision is selected with regard to centrality
if (pTHat < ptHatMin || pTHat > ptHatMax) { // only allows mcCollisions with weight in between min and max
1072
1072
return;
1073
1073
}
@@ -1082,8 +1082,8 @@ struct TrackEfficiency {
1082
1082
// float centrality = checkCentFT0M ? mcCollision.centFT0M() : mcCollision.centFT0C(); mcCollision.centFT0C() isn't filled at the moment; can be added back when it is
// float centrality = checkCentFT0M ? mcCollision.centFT0M() : mcCollision.centFT0C(); mcCollision.centFT0C() isn't filled at the moment; can be added back when it is
0 commit comments