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: PWGCF/MultiparticleCorrelations/Core/MuPa-Configurables.h
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,6 @@ struct : ConfigurableGroup {
26
26
Configurable<bool> cfVerboseForEachParticle{"cfVerboseForEachParticle", false, "run or not in verbose mode (also for function calls per particle)"};
27
27
Configurable<bool> cfDoAdditionalInsanityChecks{"cfDoAdditionalInsanityChecks", false, "do additional insanity checks at run time (this leads to small loss of performance)"};
28
28
Configurable<bool> cfInsanityCheckForEachParticle{"cfInsanityCheckForEachParticle", false, "do insanity checks at run time for each particle, at the expense of losing a lot of performance. Use only during debugging."};
29
-
Configurable<bool> cfUseCCDB{"cfUseCCDB", true, "if requested, access personal files from CCDB (true) or from home dir in AliEn (false)"};
30
29
Configurable<unsignedint> cfRandomSeed{"cfRandomSeed", 0, "0 = random seed is guaranteed to be unique in space and time"};
31
30
Configurable<bool> cfUseFisherYates{"cfUseFisherYates", false, "use or not Fisher-Yates algorithm to randomize particle indices"};
32
31
Configurable<int> cfFixedNumberOfRandomlySelectedTracks{"cfFixedNumberOfRandomlySelectedTracks", -1, "set to some integer > 0, to apply and use. Set to <=0, to ignore."};
@@ -91,7 +90,7 @@ struct : ConfigurableGroup {
91
90
Configurable<bool> cfFillParticleHistograms{"cfFillParticleHistograms", true, "if false, all 1D particle histograms are not filled. if kTRUE, the ones for which fBookParticleHistograms[...] is kTRUE, are filled"};
92
91
Configurable<vector<string>> cfBookParticleHistograms{"cfBookParticleHistograms", {"Phi-1", "Pt-1", "Eta-1", "Charge-1", "tpcNClsFindable-1", "tpcNClsShared-1", "tpcNClsFound-1", "tpcNClsCrossedRows-1", "itsNCls-1", "itsNClsInnerBarrel-1", "tpcCrossedRowsOverFindableCls-1", "tpcFoundOverFindableCls-1", "tpcFractionSharedCls-1", "dcaXY-1", "dcaZ-1", "PDG-1"}, "Book (1) or do not book (0) particle histogram"};
93
92
Configurable<bool> cfFillParticleHistograms2D{"cfFillParticleHistograms2D", true, "if false, all 2D particle histograms are not filled. if kTRUE, the ones for which fBookParticleHistograms2D[...] is kTRUE, are filled"};
94
-
Configurable<vector<string>> cfBookParticleHistograms2D{"cfBookParticleHistograms2D", {"Phi_vs_Pt-1", "Phi_vs_Eta-1"}, "Book (1) or do not book (0) event histogram"};
93
+
Configurable<vector<string>> cfBookParticleHistograms2D{"cfBookParticleHistograms2D", {"Phi_vs_Pt-1", "Phi_vs_Eta-1"}, "Book (1) or do not book (0) 2D particle histograms"};
95
94
} cf_ph;
96
95
97
96
// *) Particle cuts:
@@ -164,6 +163,12 @@ struct : ConfigurableGroup {
164
163
Configurable<string> cfFileWithWeights{"cfFileWithWeights", "/home/abilandz/DatasetsO2/weights.root", "path to external ROOT file which holds all particle weights in O2 format"}; // for AliEn file prepend "/alice/cern.ch/", for CCDB prepend "/alice-ccdb.cern.ch"
165
164
} cf_pw;
166
165
166
+
// *) Centrality weights:
167
+
struct : ConfigurableGroup {
168
+
Configurable<bool> cfUseCentralityWeights{"cfUseCentralityWeights", false, "use or not centrality weights"};
169
+
Configurable<string> cfFileWithCentralityWeights{"cfFileWithCentralityWeights", "/home/abilandz/DatasetsO2/centralityWeights.root", "path to external ROOT file which holds centrality weights in O2 format"}; // for AliEn file prepend "/alice/cern.ch/", for CCDB prepend "/alice-ccdb.cern.ch"
170
+
} cf_cw;
171
+
167
172
// *) Nested loops:
168
173
struct : ConfigurableGroup {
169
174
Configurable<bool> cfCalculateNestedLoops{"cfCalculateNestedLoops", false, "cross-check for all events all correlations with nested loops"};
Copy file name to clipboardExpand all lines: PWGCF/MultiparticleCorrelations/Core/MuPa-DataMembers.h
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,6 @@ struct TaskConfiguration {
48
48
Bool_tfDoAdditionalInsanityChecks=kFALSE; // do additional insanity checks at run time, at the expense of losing a bit of performance
49
49
// (for instance, check if the run number in the current 'collision' is the same as run number in the first 'collision', etc.)
50
50
Bool_tfInsanityCheckForEachParticle=kFALSE; // do additional insanity checks at run time for each particle, at the expense of losing a lot of performance. Use only during debugging.
51
-
Bool_tfUseCCDB=kFALSE; // access personal files from CCDB (kTRUE, this is set as default in Configurables),
52
-
// or from home dir in AliEn (kFALSE, use with care, as this is discouraged)
53
51
Bool_tfProcess[eProcess_N] = {kFALSE}; // set what to process. See enum eProcess for full description. Set via implicit variables within a PROCESS_SWITCH clause.
54
52
TStringfWhichProcess="ProcessRec"; // dump in this variable which process was used
55
53
UInt_tfRandomSeed=0; // argument for TRandom3 constructor. By default it is 0 (seed is guaranteed to be unique in time and space)
@@ -202,6 +200,16 @@ struct ParticleWeights {
202
200
Bool_tfParticleWeightsAreFetched=kFALSE; // ensures that particle weights are fetched only once
203
201
} pw; // "pw" labels an instance of this group of histograms
204
202
203
+
// *) Centrality weights:
204
+
structCentralityWeights {
205
+
TList*fCentralityWeightsList= NULL; // list to hold all Q-vector objects
206
+
TProfile*fCentralityWeightsFlagsPro= NULL; // profile to hold all flags for CentralityWeights
207
+
Bool_tfUseCentralityWeights= false; // use centrality weights
0 commit comments