Skip to content

Commit a1a25fe

Browse files
Aimeric LandouAimeric Landou
authored andcommitted
first commit
1 parent 79ae1da commit a1a25fe

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

PWGJE/Tasks/trackEfficiency.cxx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ struct TrackEfficiency {
8484
Configurable<bool> getPtHatFromHepMCXSection{"getPtHatFromHepMCXSection", true, "test configurable, configurable should be removed once well tested"};
8585
Configurable<bool> useTrueTrackWeight{"useTrueTrackWeight", true, "test configurable, should be set to 1 then config removed once well tested"};
8686

87+
// systematics variation
88+
Configurable<float> effSystMinNCrossedRowsTPC{"effSystMinNCrossedRowsTPC", 70, "min number of crossed rows TPC"};
89+
Configurable<float> effSystMinNCrossedRowsOverFindableClustersTPC{"effSystMinNCrossedRowsOverFindableClustersTPC", 0.8, "min ratio of crossed rows over findable clusters TPC"};
90+
Configurable<float> effSystMaxChi2PerClusterTPC{"effSystMaxChi2PerClusterTPC", 4.0, "max chi2 per cluster TPC"};
91+
Configurable<float> effSystMaxChi2PerClusterITS{"effSystMaxChi2PerClusterITS", 36.0, "max chi2 per cluster ITS "};
92+
Configurable<float> effSystMaxDcaZ{"effSystMaxDcaZ", 2.0, "max DCA to vertex z"};
93+
Configurable<float> effSystMaxDcaXY{"effSystMaxDcaXY", 0.0105 * 0.035 / pT^1.1 ????, "max DCA to vertex xy"};
94+
Configurable<float> effSystMinNrequiredHits{"effSystMinNrequiredHits", ???, "cluster requirement ITS"}; at least 1 among 3 innermost layers
95+
8796
std::vector<int> eventSelectionBits;
8897
int trackSelection = -1;
8998

@@ -1014,7 +1023,11 @@ struct TrackEfficiency {
10141023
registry.fill(HIST("h_mccollisions"), 2.5);
10151024
registry.fill(HIST("h_mccollisions_weighted"), 2.5, eventWeight);
10161025
}
1017-
PROCESS_SWITCH(TrackEfficiency, processMcCollisionsWeighted, "QA for McCollisions in weighted MC", false);
1026+
1027+
void processSystematicsVariation() {
1028+
do stuff, recreate global tracks
1029+
}
1030+
PROCESS_SWITCH(TrackEfficiency, processSystematicsVariation, "systematics variation", false);
10181031
};
10191032

10201033
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)

0 commit comments

Comments
 (0)