|
| 1 | +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. |
| 2 | +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. |
| 3 | +// All rights not expressly granted are reserved. |
| 4 | +// |
| 5 | +// This software is distributed under the terms of the GNU General Public |
| 6 | +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". |
| 7 | +// |
| 8 | +// In applying this license CERN does not waive the privileges and immunities |
| 9 | +// granted to it by virtue of its status as an Intergovernmental Organization |
| 10 | +// or submit itself to any jurisdiction. |
| 11 | + |
| 12 | +#ifndef PWGMM_MULT_CORE_INCLUDE_HISTOGRAMS_H_ |
| 13 | +#define PWGMM_MULT_CORE_INCLUDE_HISTOGRAMS_H_ |
| 14 | +#include "TPDGCode.h" |
| 15 | +#include <string_view> |
| 16 | + |
| 17 | +namespace pwgmm::mult |
| 18 | +{ |
| 19 | +// particle species to consider for tracking efficiency |
| 20 | +static constexpr std::string_view species[] = {"pi", "p", "e", "K"}; |
| 21 | +static constexpr std::array<int, 4> speciesIds{kPiPlus, kProton, kElectron, kKPlus}; |
| 22 | +static constexpr std::string_view prefix = "Tracks/Control/"; |
| 23 | +static constexpr std::string_view PtGenSuff = "/PtGen"; |
| 24 | +static constexpr std::string_view PtGenIdxSuff = "/PtGenI"; |
| 25 | +static constexpr std::string_view PtEffSuff = "/PtEfficiency"; |
| 26 | +static constexpr std::string_view PtEffIdxSuff = "/PtEfficiencyI"; |
| 27 | + |
| 28 | +// histogram registry labels |
| 29 | +static constexpr std::string_view BinnedPrefix = "Centrality"; |
| 30 | +static constexpr std::string_view InclusivePrefix = "Inclusive"; |
| 31 | + |
| 32 | +namespace histograms |
| 33 | +{ |
| 34 | +// events and collisions |
| 35 | +static constexpr std::string_view BCSelection = "Events/BCSelection"; // BC selection categories |
| 36 | +static constexpr std::string_view EventSelection = "Events/Selection"; // Collision selection categories |
| 37 | +static constexpr std::string_view NtrkZvtx = "Events/NtrkZvtx"; // N tracks vs vtx Z for selected collisions |
| 38 | +static constexpr std::string_view NtrkZvtxGen = "Events/NtrkZvtxGen"; // -- for selected simulated collisions |
| 39 | +static constexpr std::string_view NtrkZvtxGen_t = "Events/NtrkZvtxGen_t"; // N particles vs vtx Z for generated events |
| 40 | +static constexpr std::string_view Efficiency = "Events/Efficiency"; // simulated event selection efficiency |
| 41 | +static constexpr std::string_view EfficiencyMult = "Events/EfficiencyMult"; // simulated event selection efficiency vs generated multiplicity |
| 42 | +static constexpr std::string_view NotFoundZvtx = "Events/NotFoundEventZvtx"; // vtx Z distribution of events without reconstructed collisions |
| 43 | +static constexpr std::string_view Response = "Events/Response"; // simulated multiplicity response (N tracks vs N particles) |
| 44 | +static constexpr std::string_view MultiResponse = "Events/MultiResponse"; // -- multi-estimator |
| 45 | +static constexpr std::string_view SplitMult = "Events/SplitMult"; // split reconstructed events vs generated multiplicity |
| 46 | +static constexpr std::string_view EventChi2 = "Events/Control/Chi2"; // collisions chi2 distribution |
| 47 | +static constexpr std::string_view EventTimeRes = "Events/Control/TimeResolution"; // collisions time resolution distribution |
| 48 | + |
| 49 | +// particles and tracks |
| 50 | +static constexpr std::string_view EtaZvtx = "Tracks/EtaZvtx"; // eta vs vtx Z distribution of tracks |
| 51 | +static constexpr std::string_view EtaZvtx_gt0 = "Tracks/EtaZvtx_gt0"; // -- for INEL>0 collisions |
| 52 | +static constexpr std::string_view EtaZvtx_PVgt0 = "Tracks/EtaZvtx_PVgt0"; // -- for INEL>0 (PV) |
| 53 | +static constexpr std::string_view EtaZvtxGen = "Tracks/EtaZvtxGen"; // eta vs vtx Z distribution of simulated tracks |
| 54 | +static constexpr std::string_view EtaZvtxGen_gt0 = "Tracks/EtaZvtxGen_gt0"; // -- for INEL>0 collisions |
| 55 | +static constexpr std::string_view EtaZvtxGen_PVgt0 = "Tracks/EtaZvtxGen_PVgt0"; // -- for INEL>0 (PV) |
| 56 | +static constexpr std::string_view EtaZvtxGen_t = "Tracks/EtaZvtxGen_t"; // -- of particles |
| 57 | +static constexpr std::string_view EtaZvtxGen_gt0t = "Tracks/EtaZvtxGen_gt0t"; // -- of particles for INEL>0 events |
| 58 | +static constexpr std::string_view ReassignedEtaZvtx = "Tracks/Control/ReassignedEtaZvtx"; // -- of reassigned ambiguous tracks |
| 59 | +static constexpr std::string_view ExtraEtaZvtx = "Tracks/Control/ExtraEtaZvtx"; // -- of adopted orphan tracks |
| 60 | +static constexpr std::string_view PhiEta = "Tracks/PhiEta"; // eta vs phi distribution of tracks |
| 61 | +static constexpr std::string_view PhiEtaDuplicates = "Tracks/Control/PhiEtaDuplicates"; // -- of tracks belonging to the same particle |
| 62 | +static constexpr std::string_view PhiEtaGen = "Tracks/PhiEtaGen"; // -- of simulated tracks |
| 63 | +static constexpr std::string_view PhiEtaGenDuplicates = "Tracks/Control/PhiEtaGenDuplicates"; // -- of multi-reconstructed particles |
| 64 | +static constexpr std::string_view ReassignedPhiEta = "Tracks/Control/ReassignedPhiEta"; // -- of reassigned ambiguous tracks |
| 65 | +static constexpr std::string_view ExtraPhiEta = "Tracks/Control/ExtraPhiEta"; // -- of adopted orphaned tracks |
| 66 | +static constexpr std::string_view PtEta = "Tracks/Control/PtEta"; // Pt vs eta distribution of tracks |
| 67 | +static constexpr std::string_view PtEtaGen = "Tracks/Control/PtEtaGen"; // Pt vs eta distribution of simulated tracks |
| 68 | +static constexpr std::string_view DCAXYPt = "Tracks/Control/DCAXYPt"; // transversal DCA vs Pt distribution of tracks |
| 69 | +static constexpr std::string_view ReassignedDCAXYPt = "Tracks/Control/ReassignedDCAXYPt"; // -- of reassigned ambiguous tracks |
| 70 | +static constexpr std::string_view ExtraDCAXYPt = "Tracks/Control/ExtraDCAXYPt"; // -- of adopted orphan tracks |
| 71 | +static constexpr std::string_view DCAZPt = "Tracks/Control/DCAZPt"; // longitudal DCA vs Pt distribution of tracks |
| 72 | +static constexpr std::string_view ReassignedDCAZPt = "Tracks/Control/ReassignedDCAZPt"; // -- of reassigned ambiguous tracks |
| 73 | +static constexpr std::string_view ExtraDCAZPt = "Tracks/Control/ExtraDCAZPt"; // -- of adopted orphan tracks |
| 74 | +static constexpr std::string_view ReassignedZvtxCorr = "Tracks/Control/ReassignedZvtxCorr"; // original vs reassigned vtx Z correlation for reassigned ambiguous tracks |
| 75 | + |
| 76 | +// efficiencies |
| 77 | +static constexpr std::string_view PtGen = "Tracks/Control/PtGen"; // pt distribution of particles |
| 78 | +static constexpr std::string_view PtGenF = "Tracks/Control/{}/PtGen"; // -- format placeholder |
| 79 | +static constexpr std::string_view PtGenIdx = "Tracks/Control/PtGenI"; // -- for the indexed efficiency |
| 80 | +static constexpr std::string_view PtGenIdxF = "Tracks/Control/{}/PtGenI"; // -- format placeholder |
| 81 | +static constexpr std::string_view PtGenNoEtaCut = "Tracks/Control/PtGenNoEtaCut"; // -- with no eta restriction |
| 82 | +static constexpr std::string_view PtGenIdxNoEtaCut = "Tracks/Control/PtGenINoEtaCut"; // -- for the indexed eff. with no eta restriction |
| 83 | +static constexpr std::string_view PtEfficiency = "Tracks/Control/PtEfficiency"; // generator-level pt distribution of selected tracks |
| 84 | +static constexpr std::string_view PtEfficiencyF = "Tracks/Control/{}/PtEfficiency"; // -- format placeholder |
| 85 | +static constexpr std::string_view PtEfficiencyIdx = "Tracks/Control/PtEfficiencyI"; // -- for the indexed efficiency |
| 86 | +static constexpr std::string_view PtEfficiencyIdxF = "Tracks/Control/{}/PtEfficiencyI"; // -- format placeholder |
| 87 | +static constexpr std::string_view PtEfficiencyNoEtaCut = "Tracks/Control/PtEfficiencyNoEtaCut"; // -- with no eta restriction |
| 88 | +static constexpr std::string_view PtEfficiencyIdxNoEtaCut = "Tracks/Control/PtEfficiencyINoEtaCut"; // -- for the indexed eff. with no eta restriction |
| 89 | +static constexpr std::string_view PtEfficiencyFakes = "Tracks/Control/PtFakes"; // pt distribution of fake tracks |
| 90 | +static constexpr std::string_view PtEfficiencySecondariesIdx = "Tracks/Control/PtSecondariesI"; // generator-level pt distribution of secondary particles |
| 91 | +static constexpr std::string_view PtEfficiencySecondariesIdxNoEtaCut = "Tracks/Control/PtSecondariesINoEtaCut"; // -- for the indexed efficiency |
| 92 | + |
| 93 | +// misc. |
| 94 | +static constexpr std::string_view Mask = "Tracks/Control/Mask"; // reco status bitmask |
| 95 | +static constexpr std::string_view ITSlayers = "Tracks/Control/ITSLayers"; // ITS layers hit distribution |
| 96 | +} // namespace histograms |
| 97 | +} // namespace pwgmm::mult |
| 98 | + |
| 99 | +#endif // PWGMM_MULT_CORE_INCLUDE_HISTOGRAMS_H_ |
0 commit comments