|
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 |
|
12 | 12 | /// \file MuPa-DataMembers.h |
13 | | -/// \brief ... TBI 20250425 |
| 13 | +/// \brief Task to calculate multiparticle correlations and related observables |
14 | 14 | /// \author Ante.Bilandzic@cern.ch |
15 | 15 |
|
16 | 16 | #ifndef PWGCF_MULTIPARTICLECORRELATIONS_CORE_MUPA_DATAMEMBERS_H_ |
@@ -86,7 +86,8 @@ struct TaskConfiguration { |
86 | 86 | // || es.fCalculateEtaSeparationsAsFunctionOf[AFO_PT] |
87 | 87 | bool fCalculate2DAsFunctionOf[eAsFunctionOf2D_N] = {false}; //! See example above for 1D case + enum for 2D details |
88 | 88 | bool fCalculate3DAsFunctionOf[eAsFunctionOf3D_N] = {false}; //! See example above for 1D case + enum for 3D details |
89 | | - TDatabasePDG* fDatabasePDG = NULL; // booked only when MC info is available. There is a standard memory blow-up when booked, therefore I need to request also fUseDatabasePDG = true |
| 89 | + TDatabasePDG* fDatabasePDG = NULL; // o2-linter: disable=pdg/database (using until o2::framework::O2DatabasePDG lazy initialization is provided) |
| 90 | + // booked only when MC info is available. There is a standard memory blow-up when booked, therefore I need to request also fUseDatabasePDG = true |
90 | 91 | // TBI 20250625 replace eventually with the service O2DatabasePDG, when memory consumption problem is resolved |
91 | 92 | bool fUseSetBinLabel = false; // until SetBinLabel(...) large memory consumption is resolved, do not use hist->SetBinLabel(...), see ROOT Forum |
92 | 93 | // See also local executable PostprocessLabels.C |
@@ -165,15 +166,15 @@ struct QualityAssurance { |
165 | 166 | bool fBookQACorrelationsVsHistograms2D[eQACorrelationsVsHistograms2D_N] = {true}; // book or not this 2D histogram, see configurable cfBookQACorrelationsVsHistograms2D |
166 | 167 | float fQACorrelationsVsHistogramsBins2D[eQACorrelationsVsHistograms2D_N][2][3] = {{{0.}}}; // [type - see enum][x,y][nBins,min,max] |
167 | 168 | TString fQACorrelationsVsHistogramsName2D[eQACorrelationsVsHistograms2D_N] = {""}; // name of fQACorrelationsVsHistograms2D, determined programatically from other 1D names, to ease bookkeeping |
168 | | - int fQACorrelationsVsHistogramsMinMaxHarmonic[2]; // book only for MinMaxHarmonic[0] <= harmonics < MinMaxHarmonic[1] |
| 169 | + int fQACorrelationsVsHistogramsMinMaxHarmonic[2] = {0}; // book only for MinMaxHarmonic[0] <= harmonics < MinMaxHarmonic[1] |
169 | 170 |
|
170 | 171 | TList* fQACorrelationsVsInteractionRateVsList = NULL; //!<! base list to hold all QA "CorrelationsVsInteractionRateVs" output object |
171 | 172 | TProfile2D* fQACorrVsIRVsProfiles2D[eQACorrelationsVsInteractionRateVsProfiles2D_N][gMaxHarmonic][2] = {{{NULL}}}; //! [ type - see enum eQACorrelationsVsInteractionRateVsProfiles2D_N ][reco,sim]. I do not have here support for [before, after], because I do not fill Q-vectors before cuts |
172 | 173 | bool fFillQACorrelationsVsInteractionRateVsProfiles2D = true; // if false, all 2D profiles in this category are not filled. If true, the ones for which fBookQACorrelationsVsInteractionRateVsProfiles2D[...] is true, are filled |
173 | 174 | bool fBookQACorrelationsVsInteractionRateVsProfiles2D[eQACorrelationsVsInteractionRateVsProfiles2D_N] = {true}; // book or not this 2D profile, see configurable cfBookQACorrelationsVsInteractionRateVsProfiles2D |
174 | 175 | float fQACorrelationsVsInteractionRateVsProfilesBins2D[eQACorrelationsVsInteractionRateVsProfiles2D_N][2][3] = {{{0.}}}; // [type - see enum][x,y][nBins,min,max] |
175 | 176 | TString fQACorrelationsVsInteractionRateVsProfilesName2D[eQACorrelationsVsInteractionRateVsProfiles2D_N] = {""}; // name of fQACorrelationsVsInteractionRateVsProfiles2D, determined programatically from other 1D names, to ease bookkeeping |
176 | | - int fQACorrelationsVsInteractionRateVsProfilesMinMaxHarmonic[2]; // book only for MinMaxHarmonic[0] <= harmonics < MinMaxHarmonic[1] |
| 177 | + int fQACorrelationsVsInteractionRateVsProfilesMinMaxHarmonic[2] = {0}; // book only for MinMaxHarmonic[0] <= harmonics < MinMaxHarmonic[1] |
177 | 178 |
|
178 | 179 | float fReferenceMultiplicity[eReferenceMultiplicityEstimators_N] = {0.}; // used mostly in QA correlation plots |
179 | 180 | TString fReferenceMultiplicityEstimatorName[eReferenceMultiplicityEstimators_N] = {""}; // TBI 20241123 add comment |
@@ -428,14 +429,14 @@ struct Test0 { |
428 | 429 |
|
429 | 430 | // *) Eta separations: |
430 | 431 | struct EtaSeparations { |
431 | | - TList* fEtaSeparationsList; // list to hold all correlations with eta separations |
432 | | - TProfile* fEtaSeparationsFlagsPro; // profile to hold all flags for correlations with eta separations |
433 | | - bool fCalculateEtaSeparations; // calculate correlations with eta separations |
434 | | - bool fCalculateEtaSeparationsAsFunctionOf[eAsFunctionOf_N] = {false}; //! [0=integrated,1=vs. multiplicity,2=vs. centrality,3=pT,4=eta,5=vs. occupancy, ...] |
435 | | - float fEtaSeparationsValues[gMaxNumberEtaSeparations] = {-1.}; // this array holds eta separation interals for which 2p correlations with eta separation will be calculated |
436 | | - // See the corresponding cofigurable cfEtaSeparationsValues. If entry is -1, it's ignored |
437 | | - bool fEtaSeparationsSkipHarmonics[gMaxHarmonic] = {false}; // For calculation of 2p correlation with eta separation these harmonics will be skipped |
438 | | - TProfile* fEtaSeparationsPro[gMaxHarmonic][gMaxNumberEtaSeparations][eAsFunctionOf_N]; // [harmonic, 0 = v1, 8 = v9][ different eta Separations - see that enum ] [ AFO ] |
| 432 | + TList* fEtaSeparationsList = NULL; // list to hold all correlations with eta separations |
| 433 | + TProfile* fEtaSeparationsFlagsPro = NULL; // profile to hold all flags for correlations with eta separations |
| 434 | + bool fCalculateEtaSeparations = false; // calculate correlations with eta separations |
| 435 | + bool fCalculateEtaSeparationsAsFunctionOf[eAsFunctionOf_N] = {false}; //! [0=integrated,1=vs. multiplicity,2=vs. centrality,3=pT,4=eta,5=vs. occupancy, ...] |
| 436 | + float fEtaSeparationsValues[gMaxNumberEtaSeparations] = {-1.}; // this array holds eta separation interals for which 2p correlations with eta separation will be calculated |
| 437 | + // See the corresponding cofigurable cfEtaSeparationsValues. If entry is -1, it's ignored |
| 438 | + bool fEtaSeparationsSkipHarmonics[gMaxHarmonic] = {false}; // For calculation of 2p correlation with eta separation these harmonics will be skipped |
| 439 | + TProfile* fEtaSeparationsPro[gMaxHarmonic][gMaxNumberEtaSeparations][eAsFunctionOf_N] = {{{NULL}}}; // [harmonic, 0 = v1, 8 = v9][ different eta Separations - see that enum ] [ AFO ] |
439 | 440 | } es; |
440 | 441 |
|
441 | 442 | // *) Global cosmetics: |
|
0 commit comments