|
21 | 21 | // |
22 | 22 |
|
23 | 23 | #include "Common/CCDB/EventSelectionParams.h" |
| 24 | +#include "Common/Core/RecoDecay.h" |
24 | 25 | #include "Common/Core/TrackSelection.h" |
25 | 26 | #include "Common/Core/TrackSelectionDefaults.h" |
26 | 27 | #include "Common/DataModel/Centrality.h" |
27 | 28 | #include "Common/DataModel/EventSelection.h" |
| 29 | +#include "Common/DataModel/PIDResponse.h" |
28 | 30 | #include "Common/DataModel/PIDResponseTOF.h" |
29 | 31 | #include "Common/DataModel/PIDResponseTPC.h" |
30 | 32 | #include "Common/DataModel/TrackSelectionTables.h" |
31 | | -#include "Common/DataModel/PIDResponse.h" |
32 | | -#include "CommonConstants/MathConstants.h" |
| 33 | + |
33 | 34 | #include "CCDB/BasicCCDBManager.h" |
34 | | -#include "Common/Core/RecoDecay.h" |
| 35 | +#include "CommonConstants/MathConstants.h" |
35 | 36 | // |
36 | 37 | #include "Framework/AnalysisTask.h" |
37 | 38 | #include "Framework/RunningWorkflowInfo.h" |
38 | 39 | #include "Framework/runDataProcessing.h" |
39 | 40 | // |
| 41 | +#include <cmath> |
| 42 | +#include <set> |
40 | 43 | #include <string> |
41 | 44 | #include <vector> |
42 | | -#include <set> |
43 | | -#include <cmath> |
44 | 45 |
|
45 | 46 | // |
46 | 47 | namespace extConfPar |
@@ -149,21 +150,21 @@ struct qaMatchEff { |
149 | 150 | // TRD presence |
150 | 151 | Configurable<int> isTRDThere{"isTRDThere", 2, "Integer to turn the presence of TRD off, on, don't care (0,1,anything else)"}; |
151 | 152 | Configurable<int> isTOFThere{"isTOFThere", 2, "Integer to turn the presence of TOF off, on, don't care (0,1,anything else)"}; |
152 | | - |
| 153 | + |
153 | 154 | Configurable<bool> isitMC{"isitMC", false, "Reading MC files, data if false"}; |
154 | 155 | Configurable<bool> doDebug{"doDebug", false, "Flag of debug information"}; |
155 | 156 | // Histogram configuration |
156 | | - |
| 157 | + |
157 | 158 | // histos bins |
158 | 159 | Configurable<int> etaBins{"eta-bins", 40, "Number of eta bins"}; |
159 | 160 | Configurable<int> phiBins{"phi-bins", 18, "Number of phi bins"}; |
160 | 161 | Configurable<int> qoptBins{"qopt-bins", 500, "Number of Q/pt bins"}; |
161 | | - |
| 162 | + |
162 | 163 | // special histo, few particles explicitly stored, then pdg>3000 |
163 | 164 | Configurable<int> pdgBins{"pdg-bins", 14, "Number of pdg values counted"}; |
164 | | - |
| 165 | + |
165 | 166 | // histo axes |
166 | | - |
| 167 | + |
167 | 168 | ConfigurableAxis ptBins{"ptBins", {100, 0.f, 20.f}, "pT binning"}; |
168 | 169 | ConfigurableAxis XBins{"XBins", {400, -2.f, 2.f}, "X binning"}; |
169 | 170 | ConfigurableAxis ZBins{"ZBins", {400, -20.f, 20.f}, "Z binning"}; |
@@ -3361,7 +3362,7 @@ struct qaMatchEff { |
3361 | 3362 | if (doDebug) |
3362 | 3363 | LOGF(info, "Event selection not passed, skipping..."); |
3363 | 3364 | return; |
3364 | | - } |
| 3365 | + } |
3365 | 3366 | fillHistograms<true>(tracks, mcParticles, mcParticles); /// 3rd argument non-sense in this case |
3366 | 3367 | fillGeneralHistos<true>(collision); |
3367 | 3368 | } |
@@ -3464,7 +3465,7 @@ struct qaMatchEff { |
3464 | 3465 | if (doDebug) |
3465 | 3466 | LOGF(info, "Event selection not passed, skipping..."); |
3466 | 3467 | return; |
3467 | | - } |
| 3468 | + } |
3468 | 3469 | fillHistograms<false>(tracks, tracks, tracks); // 2nd and 3rd arguments not used in this case |
3469 | 3470 | fillGeneralHistos<false>(collision); |
3470 | 3471 | } |
|
0 commit comments