NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Typedefs | Enumerations | Functions | Variables
Containers helper variables and functions

Helper variables and functions to work with containers. More...

Typedefs

template<class T >
using NAIA::LayerVariable = std::map< unsigned int, T >
 

Enumerations

enum  NAIA::Category {
  NAIA::Category::None = 0, NAIA::Category::HasTof = 1 << 0, NAIA::Category::HasTrack = 1 << 1, NAIA::Category::HasEcal = 1 << 2,
  NAIA::Category::HasTrd = 1 << 3, NAIA::Category::HasRich = 1 << 4, NAIA::Category::HasTofStandalone = 1 << 5, NAIA::Category::HasTrdStandalone = 1 << 6,
  NAIA::Category::Charge1_Trk = 1 << 7, NAIA::Category::Charge2_Trk = 1 << 8, NAIA::Category::ChargeGT2_Trk = 1 << 9, NAIA::Category::Charge1_Tof = 1 << 10,
  NAIA::Category::Charge2_Tof = 1 << 11, NAIA::Category::ChargeGT2_Tof = 1 << 12, NAIA::Category::Charge1_Trk_St = 1 << 13, NAIA::Category::Charge2_Trk_St = 1 << 14,
  NAIA::Category::ChargeGT2_Trk_St = 1 << 15, NAIA::Category::Charge1_Tof_St = 1 << 16, NAIA::Category::Charge2_Tof_St = 1 << 17, NAIA::Category::ChargeGT2_Tof_St = 1 << 18
}
 
enum  NAIA::TrTrack::ChargeRecoType { NAIA::TrTrack::STD, NAIA::TrTrack::HL, NAIA::TrTrack::YJ }
 
enum  NAIA::TrTrack::FitPositionHeight {
  NAIA::TrTrack::Layer1 = 0, NAIA::TrTrack::Layer2, NAIA::TrTrack::Layer3, NAIA::TrTrack::Layer4,
  NAIA::TrTrack::Layer5, NAIA::TrTrack::Layer6, NAIA::TrTrack::Layer7, NAIA::TrTrack::Layer8,
  NAIA::TrTrack::Layer9, NAIA::TrTrack::TofLayer0, NAIA::TrTrack::TofLayer1, NAIA::TrTrack::TofLayer2,
  NAIA::TrTrack::TofLayer3, NAIA::TrTrack::EcalCOG, NAIA::TrTrack::EcalTop, NAIA::TrTrack::EcalBottom
}
 
enum  NAIA::TrTrack::Fit {
  NAIA::TrTrack::NoFit = -1, NAIA::TrTrack::Choutko, NAIA::TrTrack::Kalman, NAIA::TrTrack::GBL,
  NAIA::TrTrack::KalmanElectron
}
 
enum  NAIA::TrTrack::Side { NAIA::TrTrack::X, NAIA::TrTrack::Y }
 
enum  NAIA::TrTrack::DistanceFromTrack {
  NAIA::TrTrack::OnTrack, NAIA::TrTrack::Onemm, NAIA::TrTrack::Onecm, NAIA::TrTrack::Twocm,
  NAIA::TrTrack::Fivecm, NAIA::TrTrack::Tencm, NAIA::TrTrack::AllLayer
}
 
enum  NAIA::TrdK::ChargeType { NAIA::TrdK::Total, NAIA::TrdK::Upper, NAIA::TrdK::Lower }
 
enum  NAIA::TrdK::LikelihoodType { NAIA::TrdK::Electron, NAIA::TrdK::Proton, NAIA::TrdK::Helium, NAIA::TrdK::Deuterium }
 
enum  NAIA::TrdK::LikelihoodRType { NAIA::TrdK::ep, NAIA::TrdK::eHe, NAIA::TrdK::pHe }
 
enum  NAIA::TrdK::QualType { NAIA::TrdK::OnTrack, NAIA::TrdK::OffTrack }
 
enum  NAIA::Ecal::EnergyRecoType {
  NAIA::Ecal::EnergyD, NAIA::Ecal::EnergyE, NAIA::Ecal::EnergyCorrEneE_E, NAIA::Ecal::EnergyCorrEne2017,
  NAIA::Ecal::EcalKEle
}
 
enum  NAIA::Ecal::LikelihoodType { NAIA::Ecal::Integral, NAIA::Ecal::LayerCombined }
 
enum  NAIA::Ecal::BDTType { NAIA::Ecal::v5std, NAIA::Ecal::v5ada, NAIA::Ecal::v7std, NAIA::Ecal::v7ada }
 
enum  NAIA::Tof::ChargeType { NAIA::Tof::Total, NAIA::Tof::Upper, NAIA::Tof::Lower }
 
enum  NAIA::Tof::BetaType { NAIA::Tof::BetaH, NAIA::Tof::Evgeni }
 
enum  NAIA::Tof::BetaClusterType { NAIA::Tof::OnTime, NAIA::Tof::OffTime }
 
enum  NAIA::MCTruth::MCHeight {
  NAIA::MCTruth::GenerationPoint = 0, NAIA::MCTruth::L1, NAIA::MCTruth::UpperTof, NAIA::MCTruth::L2,
  NAIA::MCTruth::L3, NAIA::MCTruth::L4, NAIA::MCTruth::L5, NAIA::MCTruth::L6,
  NAIA::MCTruth::L7, NAIA::MCTruth::L8, NAIA::MCTruth::LowerTof, NAIA::MCTruth::RichRadiator,
  NAIA::MCTruth::L9, NAIA::MCTruth::Ecal
}
 
enum  NAIA::Rich::RichMeasType { NAIA::Rich::NONE = 0, NAIA::Rich::NaF, NAIA::Rich::Agl }
 
enum  NAIA::Rich::BetaType { NAIA::Rich::CIEMAT, NAIA::Rich::SIMPLE, NAIA::Rich::REFIT, NAIA::Rich::LIP }
 

Functions

template<typename T , size_t N, typename Key >
std::enable_if
< std::is_convertible< Key,
size_t >::value, bool >::type 
NAIA::ContainsKeys (const std::array< T, N > &container, Key key)
 
template<typename T , typename Key , typename Value >
std::enable_if
< std::is_convertible< T, Key >
::value, bool >::type 
NAIA::KeyExists (T key, const std::map< Key, Value > &container)
 
template<typename T , typename Value >
std::enable_if
< std::is_convertible< T,
size_t >::value, bool >::type 
NAIA::KeyExists (T key, const std::vector< Value > &container)
 
template<typename T , typename Key , typename Value >
std::enable_if
< std::is_convertible< T, Key >
::value, bool >::type 
NAIA::ContainsKeys (const std::map< Key, Value > &container, T key)
 
template<typename T , typename Key >
std::enable_if
< std::is_convertible< Key,
size_t >::value, bool >::type 
NAIA::ContainsKeys (const std::vector< T > &container, Key key)
 
template<typename T , typename Key , typename... Keys, typename Value >
std::enable_if
< std::is_convertible< T, Key >
::value, bool >::type 
NAIA::ContainsKeys (const std::map< Key, Value > &container, T key, Keys...keys)
 
template<typename T , typename Key , typename... Keys>
std::enable_if
< std::is_convertible< Key,
size_t >::value, bool >::type 
NAIA::ContainsKeys (const std::vector< T > &container, Key key, Keys...keys)
 

Variables

constexpr unsigned int NAIA::TrTrack::numChargeRecos = 3
 
constexpr std::array
< ChargeRecoType,
numChargeRecos > 
NAIA::TrTrack::recoTypes
 
constexpr unsigned int NAIA::TrTrack::numFitPositionHeights = 16
 
constexpr std::array
< FitPositionHeight,
numFitPositionHeights > 
NAIA::TrTrack::fitPositionHeights
 
constexpr std::array< float,
numFitPositionHeights > 
NAIA::TrTrack::fitPositionHeightZ
 
static const std::array
< std::string,
numFitPositionHeights > 
NAIA::TrTrack::fitPositionNames
 
constexpr unsigned int NAIA::TrTrack::numTrLayers = 9
 
constexpr std::array
< FitPositionHeight,
numTrLayers > 
NAIA::TrTrack::layerPositionHeights
 
constexpr unsigned int NAIA::TrTrack::numSpans = 7
 
constexpr std::array< Span,
numSpans > 
NAIA::TrTrack::spanTypes
 
static const std::array
< std::string, numSpans > 
NAIA::TrTrack::spanNames
 
constexpr unsigned int NAIA::TrTrack::numFits = 4
 
constexpr std::array< Fit,
numFits > 
NAIA::TrTrack::fitTypes {Fit::Choutko, Fit::Kalman, Fit::GBL, Fit::KalmanElectron}
 
static const std::array
< std::string, numFits > 
NAIA::TrTrack::fitNames {"Choutko", "Kalman", "GBL", "KalmanElectron"}
 
constexpr unsigned int NAIA::TrTrack::numTrGeos = 4
 
constexpr std::array
< TrGeometry, numTrGeos > 
NAIA::TrTrack::trGeoTypes
 
static const std::array
< std::string, numTrGeos > 
NAIA::TrTrack::trGeoNames {"Default", "InnerOnly", "InnerL1", "FullSpan"}
 
constexpr unsigned int NAIA::TrTrack::numSides = 2
 
constexpr std::array< Side,
numSides > 
NAIA::TrTrack::sides {Side::X, Side::Y}
 
static const std::array
< std::string, numSides > 
NAIA::TrTrack::sideNames {"X", "Y"}
 
constexpr unsigned int NAIA::TrTrack::numTrackDistances = 7
 
constexpr std::array
< DistanceFromTrack,
numTrackDistances > 
NAIA::TrTrack::trackDistances
 
static const std::array
< std::string,
numTrackDistances > 
NAIA::TrTrack::trackDistanceNames
 
constexpr unsigned int NAIA::TrdK::numChargeTypes = 3
 
constexpr std::array
< ChargeType, numChargeTypes > 
NAIA::TrdK::recoTypes {ChargeType::Total, ChargeType::Upper, ChargeType::Lower}
 
static const std::array
< std::string, numChargeTypes > 
NAIA::TrdK::recoNames {"Total", "Upper", "Lower"}
 
constexpr unsigned int NAIA::TrdK::numLikelihoodTypes = 3
 
constexpr std::array
< LikelihoodType,
numLikelihoodTypes > 
NAIA::TrdK::likelihoodTypes
 
static const std::array
< std::string,
numLikelihoodTypes > 
NAIA::TrdK::likelihoodNames {"Electron", "Proton", "Helium"}
 
constexpr unsigned int NAIA::TrdK::numLikelihoodRTypes = 3
 
constexpr std::array
< LikelihoodRType,
numLikelihoodRTypes > 
NAIA::TrdK::likelihoodRTypes
 
static const std::array
< std::string,
numLikelihoodRTypes > 
NAIA::TrdK::likelihoodRNames {"ep", "eHe", "pHe"}
 
constexpr unsigned int NAIA::TrdK::numQualTypes = 2
 
constexpr std::array< QualType,
numQualTypes > 
NAIA::TrdK::qualTypes {QualType::OnTrack, QualType::OffTrack}
 
static const std::array
< std::string, numQualTypes > 
NAIA::TrdK::qualNames {"OnTrack", "OffTrack"}
 
constexpr unsigned int NAIA::Ecal::numEnergyRecos = 5
 
constexpr std::array
< EnergyRecoType,
numEnergyRecos > 
NAIA::Ecal::recoTypes
 
static const std::array
< std::string, numEnergyRecos > 
NAIA::Ecal::recoNames
 
constexpr unsigned int NAIA::Ecal::numLikelihoodTypes = 2
 
constexpr std::array
< LikelihoodType,
numLikelihoodTypes > 
NAIA::Ecal::likelihoodTypeNames
 
constexpr unsigned int NAIA::Ecal::numBDTTypes = 4
 
constexpr std::array< BDTType,
numBDTTypes > 
NAIA::Ecal::BDTTypes {BDTType::v5std, BDTType::v5ada, BDTType::v7std, BDTType::v7ada}
 
static const std::array
< std::string, numBDTTypes > 
NAIA::Ecal::BDTNames {"v5std", "v5ada", "v7std", "v7ada"}
 
constexpr unsigned int NAIA::Tof::numChargeTypes = 3
 
constexpr std::array
< ChargeType, numChargeTypes > 
NAIA::Tof::recoTypes {ChargeType::Total, ChargeType::Upper, ChargeType::Lower}
 
static const std::array
< std::string, numChargeTypes > 
NAIA::Tof::recoNames {"Total", "Upper", "Lower"}
 
constexpr unsigned int NAIA::Tof::numBetaTypes = 2
 
constexpr std::array< BetaType,
numBetaTypes > 
NAIA::Tof::betaTypes {BetaType::BetaH, BetaType::Evgeni}
 
static const std::array
< std::string, numBetaTypes > 
NAIA::Tof::betaNames {"BetaH", "Evgeni"}
 
constexpr unsigned int NAIA::Tof::numBetaClusterTypes = 2
 
constexpr std::array
< BetaClusterType,
numBetaClusterTypes > 
NAIA::Tof::betaClusterTypes
 
static const std::array
< std::string,
numBetaClusterTypes > 
NAIA::Tof::betaClusterTypeNames {"OnTime", "OffTime"}
 
constexpr unsigned int NAIA::MCTruth::numMCHeights = 13
 
constexpr std::array< MCHeight,
numMCHeights > 
NAIA::MCTruth::MCHeights
 
constexpr std::array< float,
numMCHeights > 
NAIA::MCTruth::MCHeightsZ
 
constexpr unsigned int NAIA::Rich::numBetaTypes = 4
 
constexpr std::array< BetaType,
numBetaTypes > 
NAIA::Rich::betaTypes
 
static const std::array
< std::string, numBetaTypes > 
NAIA::Rich::betaNames {"CIEMAT", "SIMPLE", "REFIT", "LIP"}
 

Detailed Description

Helper variables and functions to work with containers.

Typedef Documentation

template<class T >
using NAIA::LayerVariable = typedef std::map<unsigned int, T>

One number for each layer (applies to Tracker, Tof, TRD, …). Uses the layer number (0, ..., N-1) for access

Definition at line 54 of file Utils.h.

Enumeration Type Documentation

Enumerator
v5std 
v5ada 
v7std 
v7ada 

Definition at line 318 of file Utils.h.

Enumerator
OnTime 
OffTime 

Definition at line 361 of file Utils.h.

Enumerator
BetaH 

IHEP reconstruction.

Evgeni 

Definition at line 348 of file Utils.h.

Enumerator
CIEMAT 
SIMPLE 
REFIT 
LIP 

Definition at line 415 of file Utils.h.

enum NAIA::Category
strong

Bitmask enum, useful for taking quick decision about the current event before proceeding with reading the rest of the data

Enumerator
None 
HasTof 

Tof data is available for this event.

HasTrack 

TrTrack data is available for this event.

HasEcal 

Ecal data is available for this event.

HasTrd 

TRD data is available for this event.

HasRich 

Rich data is available for this event.

HasTofStandalone 

Tof standalone data is available for this event.

HasTrdStandalone 

TRD standalone data is available for this event.

Charge1_Trk 

This event is classified as charge 1 according to tracker (0.5 < Q < 1.5)

Charge2_Trk 

This event is classified as charge 2 according to tracker (1.5 < Q < 2.5)

ChargeGT2_Trk 

This event is classified as charge >2 according to tracker (Q > 2.5)

Charge1_Tof 

This event is classified as charge 1 according to tof (0.5 < Q < 1.5)

Charge2_Tof 

This event is classified as charge 2 according to tof (1.5 < Q < 2.5)

ChargeGT2_Tof 

This event is classified as charge >2 according to tof (Q > 2.5)

Charge1_Trk_St 

This event is classified as charge 1 according to tracker standalone (0.5 < Q < 1.5)

Charge2_Trk_St 

This event is classified as charge 2 according to tracker standalone (1.5 < Q < 2.5)

ChargeGT2_Trk_St 

This event is classified as charge >2 according to tracker standalone (Q > 2.5)

Charge1_Tof_St 

This event is classified as charge 1 according to tof standalone (0.5 < Q < 1.5)

Charge2_Tof_St 

This event is classified as charge 2 according to tof standalone (1.5 < Q < 2.5)

ChargeGT2_Tof_St 

This event is classified as charge >2 according to tof standalone (Q > 2.5)

Definition at line 60 of file Utils.h.

Enumerator
STD 

Standard tracker charge reconstruction.

HL 

Hu Liu reconstruction.

YJ 

Yi Jia reconstruction.

Definition at line 90 of file Utils.h.

Enumerator
Total 

Charge estimated using the whole TRD.

Upper 

Charge estimated using the upper half of the TRD.

Lower 

Charge estimated using the lower half of the TRD.

Definition at line 231 of file Utils.h.

Enumerator
Total 

Total tof charge reconstruction.

Upper 

Upper tof charge reconstruction.

Lower 

Lower tof charge reconstruction.

Definition at line 334 of file Utils.h.

Enumerator
OnTrack 
Onemm 
Onecm 
Twocm 
Fivecm 
Tencm 
AllLayer 

Definition at line 214 of file Utils.h.

Enumerator
EnergyD 

Total deposited energy in Ecal.

EnergyE 

Ecal energy (standard reconstruction)

EnergyCorrEneE_E 

Ecal energy (electron hypothesys, Using different methods to recover anode efficiency, rear leakage, lateral leakage and temperature effects)

EnergyCorrEne2017 

Ecal energy (2017 reconstruction)

EcalKEle 

Ecal energy (W. Xu 3D reconstruction)

Definition at line 288 of file Utils.h.

Enumerator
NoFit 
Choutko 

standard track fit

Kalman 

GenFit kalman filter track fit.

GBL 

Genfint General Broken Lines track fit.

KalmanElectron 

GenFit kalman filter track fit assuming electron mass.

Definition at line 178 of file Utils.h.

Enumerator
Layer1 
Layer2 
Layer3 
Layer4 
Layer5 
Layer6 
Layer7 
Layer8 
Layer9 
TofLayer0 
TofLayer1 
TofLayer2 
TofLayer3 
EcalCOG 
EcalTop 
EcalBottom 

Definition at line 103 of file Utils.h.

Enumerator
ep 

electron/proton likelihood ratio

eHe 

electron/helium likelihood ratio

pHe 

proton/helium likelihood ratio

Definition at line 256 of file Utils.h.

Enumerator
Electron 
Proton 
Helium 
Deuterium 

Definition at line 245 of file Utils.h.

Enumerator
Integral 
LayerCombined 

Definition at line 309 of file Utils.h.

Enumerator
GenerationPoint 
L1 
UpperTof 
L2 
L3 
L4 
L5 
L6 
L7 
L8 
LowerTof 
RichRadiator 
L9 
Ecal 

Definition at line 374 of file Utils.h.

Enumerator
OnTrack 

Hits laying on the TRD track (the ones used for likelihood estimation)

OffTrack 

Hits laying off the TRD track (all the rest)

Definition at line 271 of file Utils.h.

Enumerator
NONE 
NaF 
Agl 

Definition at line 410 of file Utils.h.

Enumerator
X 
Y 

Definition at line 204 of file Utils.h.

Function Documentation

template<typename T , size_t N, typename Key >
std::enable_if<std::is_convertible<Key, size_t>::value, bool>::type NAIA::ContainsKeys ( const std::array< T, N > &  container,
Key  key 
)
template<typename T , typename Key , typename Value >
std::enable_if<std::is_convertible<T, Key>::value, bool>::type NAIA::ContainsKeys ( const std::map< Key, Value > &  container,
key 
)

Definition at line 76 of file Utils.hpp.

References NAIA::end().

template<typename T , typename Key >
std::enable_if<std::is_convertible<Key, size_t>::value, bool>::type NAIA::ContainsKeys ( const std::vector< T > &  container,
Key  key 
)

Definition at line 83 of file Utils.hpp.

template<typename T , typename Key , typename... Keys, typename Value >
std::enable_if<std::is_convertible<T, Key>::value, bool>::type NAIA::ContainsKeys ( const std::map< Key, Value > &  container,
key,
Keys...  keys 
)

Definition at line 90 of file Utils.hpp.

References NAIA::ContainsKeys(), and NAIA::end().

template<typename T , typename Key , typename... Keys>
std::enable_if<std::is_convertible<Key, size_t>::value, bool>::type NAIA::ContainsKeys ( const std::vector< T > &  container,
Key  key,
Keys...  keys 
)

Definition at line 101 of file Utils.hpp.

References NAIA::ContainsKeys().

template<typename T , typename Key , typename Value >
std::enable_if<std::is_convertible<T, Key>::value, bool>::type NAIA::KeyExists ( key,
const std::map< Key, Value > &  container 
)

Definition at line 60 of file Utils.hpp.

References NAIA::end(), and NAIA::_private::keyexists_deprecation_msg.

template<typename T , typename Value >
std::enable_if<std::is_convertible<T, size_t>::value, bool>::type NAIA::KeyExists ( key,
const std::vector< Value > &  container 
)

Definition at line 68 of file Utils.hpp.

References NAIA::_private::keyexists_deprecation_msg.

Variable Documentation

const std::array<std::string, numBDTTypes> NAIA::Ecal::BDTNames {"v5std", "v5ada", "v7std", "v7ada"}
static

Definition at line 322 of file Utils.h.

Referenced by NAIA::EcalBaseData::Dump().

constexpr std::array<BDTType, numBDTTypes> NAIA::Ecal::BDTTypes {BDTType::v5std, BDTType::v5ada, BDTType::v7std, BDTType::v7ada}

Definition at line 320 of file Utils.h.

Referenced by NAIA::EcalBaseData::Dump().

const std::array<std::string, numBetaClusterTypes> NAIA::Tof::betaClusterTypeNames {"OnTime", "OffTime"}
static

Definition at line 366 of file Utils.h.

constexpr std::array<BetaClusterType, numBetaClusterTypes> NAIA::Tof::betaClusterTypes
Initial value:

Definition at line 363 of file Utils.h.

const std::array<std::string, numBetaTypes> NAIA::Tof::betaNames {"BetaH", "Evgeni"}
static

Definition at line 355 of file Utils.h.

Referenced by NAIA::TofBaseData::Dump(), and NAIA::TofPlusData::Dump().

const std::array<std::string, numBetaTypes> NAIA::Rich::betaNames {"CIEMAT", "SIMPLE", "REFIT", "LIP"}
static

Definition at line 425 of file Utils.h.

constexpr std::array<BetaType, numBetaTypes> NAIA::Tof::betaTypes {BetaType::BetaH, BetaType::Evgeni}

Definition at line 353 of file Utils.h.

Referenced by NAIA::TofBaseData::Dump(), and NAIA::TofPlusData::Dump().

constexpr std::array<BetaType, numBetaTypes> NAIA::Rich::betaTypes
const std::array<std::string, numFits> NAIA::TrTrack::fitNames {"Choutko", "Kalman", "GBL", "KalmanElectron"}
static

Definition at line 188 of file Utils.h.

Referenced by NAIA::TrTrackBaseData::Dump(), and NAIA::TrTrackPlusData::Dump().

constexpr std::array<FitPositionHeight, numFitPositionHeights> NAIA::TrTrack::fitPositionHeights
constexpr std::array<float, numFitPositionHeights> NAIA::TrTrack::fitPositionHeightZ
Initial value:
= {
159.04, 53.05, 29.22, 25.24, 1.706, -2.292, -25.26, -29.25,
-136.03, 64.425, 61.325, -62.875, -64.425, 0, -142.732, -159.382}

The z coordinate corresponding to each FitPositionHeight value

Definition at line 135 of file Utils.h.

const std::array<std::string, numFitPositionHeights> NAIA::TrTrack::fitPositionNames
static
Initial value:
{
"Layer1", "Layer2", "Layer3", "Layer4", "Layer5", "Layer6", "Layer7", "Layer8",
"Layer9", "TofLayer0", "TofLayer1", "TofLayer2", "TofLayer3", "EcalCOG", "EcalTop", "EcalBottom"}

Definition at line 140 of file Utils.h.

constexpr std::array<Fit, numFits> NAIA::TrTrack::fitTypes {Fit::Choutko, Fit::Kalman, Fit::GBL, Fit::KalmanElectron}

Definition at line 186 of file Utils.h.

constexpr std::array<FitPositionHeight, numTrLayers> NAIA::TrTrack::layerPositionHeights
const std::array<std::string, numLikelihoodTypes> NAIA::TrdK::likelihoodNames {"Electron", "Proton", "Helium"}
static

Definition at line 250 of file Utils.h.

Referenced by NAIA::TrdKBaseData::Dump().

const std::array<std::string, numLikelihoodRTypes> NAIA::TrdK::likelihoodRNames {"ep", "eHe", "pHe"}
static

Definition at line 265 of file Utils.h.

Referenced by NAIA::TrdKBaseData::Dump().

constexpr std::array<LikelihoodRType, numLikelihoodRTypes> NAIA::TrdK::likelihoodRTypes
Initial value:
proton/helium likelihood ratio
Definition: Utils.h:259
electron/helium likelihood ratio
Definition: Utils.h:258
electron/proton likelihood ratio
Definition: Utils.h:257

Definition at line 262 of file Utils.h.

Referenced by NAIA::TrdKBaseData::Dump().

constexpr std::array<LikelihoodType, numLikelihoodTypes> NAIA::Ecal::likelihoodTypeNames
constexpr std::array<LikelihoodType, numLikelihoodTypes> NAIA::TrdK::likelihoodTypes
constexpr std::array<MCHeight, numMCHeights> NAIA::MCTruth::MCHeights
constexpr std::array<float, numMCHeights> NAIA::MCTruth::MCHeightsZ
Initial value:
{std::numeric_limits<float>::max(),
159.04,
64.425,
53.05,
29.22,
25.24,
1.706,
-2.292,
-25.26,
-29.25,
-62.875,
-71.87,
-135.03}

Definition at line 391 of file Utils.h.

constexpr unsigned int NAIA::Ecal::numBDTTypes = 4

Definition at line 316 of file Utils.h.

Referenced by NAIA::EcalBaseData::ResizeMembers().

constexpr unsigned int NAIA::Tof::numBetaClusterTypes = 2

Definition at line 359 of file Utils.h.

constexpr unsigned int NAIA::Tof::numBetaTypes = 2

Definition at line 346 of file Utils.h.

constexpr unsigned int NAIA::Rich::numBetaTypes = 4

Definition at line 413 of file Utils.h.

constexpr unsigned int NAIA::TrTrack::numChargeRecos = 3

Definition at line 88 of file Utils.h.

constexpr unsigned int NAIA::TrdK::numChargeTypes = 3

Definition at line 229 of file Utils.h.

Referenced by NAIA::TrdKBaseData::ResizeMembers().

constexpr unsigned int NAIA::Tof::numChargeTypes = 3

Definition at line 332 of file Utils.h.

constexpr unsigned int NAIA::Ecal::numEnergyRecos = 5

Definition at line 285 of file Utils.h.

Referenced by NAIA::EcalBaseData::ResizeMembers().

constexpr unsigned int NAIA::TrTrack::numFitPositionHeights = 16

Definition at line 101 of file Utils.h.

constexpr unsigned int NAIA::TrTrack::numFits = 4

Definition at line 176 of file Utils.h.

constexpr unsigned int NAIA::TrdK::numLikelihoodRTypes = 3

Definition at line 254 of file Utils.h.

constexpr unsigned int NAIA::TrdK::numLikelihoodTypes = 3

Definition at line 243 of file Utils.h.

constexpr unsigned int NAIA::Ecal::numLikelihoodTypes = 2

Definition at line 307 of file Utils.h.

Referenced by NAIA::EcalPlusData::ResizeMembers().

constexpr unsigned int NAIA::MCTruth::numMCHeights = 13

Definition at line 372 of file Utils.h.

constexpr unsigned int NAIA::TrdK::numQualTypes = 2

Definition at line 269 of file Utils.h.

Referenced by NAIA::TrdKBaseData::ResizeMembers().

constexpr unsigned int NAIA::TrTrack::numSides = 2

Definition at line 202 of file Utils.h.

constexpr unsigned int NAIA::TrTrack::numSpans = 7

Definition at line 155 of file Utils.h.

constexpr unsigned int NAIA::TrTrack::numTrackDistances = 7

Definition at line 212 of file Utils.h.

constexpr unsigned int NAIA::TrTrack::numTrGeos = 4

Definition at line 192 of file Utils.h.

constexpr unsigned int NAIA::TrTrack::numTrLayers = 9

Definition at line 145 of file Utils.h.

const std::array<std::string, numQualTypes> NAIA::TrdK::qualNames {"OnTrack", "OffTrack"}
static

Definition at line 278 of file Utils.h.

Referenced by NAIA::TrdKBaseData::Dump().

constexpr std::array<QualType, numQualTypes> NAIA::TrdK::qualTypes {QualType::OnTrack, QualType::OffTrack}

Definition at line 276 of file Utils.h.

Referenced by NAIA::TrdKBaseData::Dump().

const std::array<std::string, numChargeTypes> NAIA::TrdK::recoNames {"Total", "Upper", "Lower"}
static

Definition at line 239 of file Utils.h.

Referenced by NAIA::TrdKBaseData::Dump().

const std::array<std::string, numEnergyRecos> NAIA::Ecal::recoNames
static
Initial value:
{"EnergyD", "EnergyE", "EnergyCorrEneE_E",
"EnergyCorrEne2017", "EcalKEle"}

Definition at line 302 of file Utils.h.

Referenced by NAIA::EcalBaseData::Dump().

const std::array<std::string, numChargeTypes> NAIA::Tof::recoNames {"Total", "Upper", "Lower"}
static

Definition at line 342 of file Utils.h.

Referenced by NAIA::TofBaseData::Dump().

constexpr std::array<ChargeRecoType, numChargeRecos> NAIA::TrTrack::recoTypes
Initial value:
Hu Liu reconstruction.
Definition: Utils.h:92
Yi Jia reconstruction.
Definition: Utils.h:93
Standard tracker charge reconstruction.
Definition: Utils.h:91

Definition at line 96 of file Utils.h.

Referenced by NAIA::UnbExtHitBaseData::Dump(), NAIA::TrTrackBaseData::Dump(), and NAIA::TrTrackPlusData::Dump().

constexpr std::array<ChargeType, numChargeTypes> NAIA::TrdK::recoTypes {ChargeType::Total, ChargeType::Upper, ChargeType::Lower}

Definition at line 237 of file Utils.h.

Referenced by NAIA::TrdKBaseData::Dump().

constexpr std::array<EnergyRecoType, numEnergyRecos> NAIA::Ecal::recoTypes
Initial value:
{
Ecal energy (W. Xu 3D reconstruction)
Definition: Utils.h:293
Ecal energy (2017 reconstruction)
Definition: Utils.h:292
Ecal energy (standard reconstruction)
Definition: Utils.h:290
Total deposited energy in Ecal.
Definition: Utils.h:289
Ecal energy (electron hypothesys, Using different methods to recover anode efficiency, rear leakage, lateral leakage and temperature effects)
Definition: Utils.h:291

Definition at line 298 of file Utils.h.

Referenced by NAIA::EcalBaseData::Dump().

constexpr std::array<ChargeType, numChargeTypes> NAIA::Tof::recoTypes {ChargeType::Total, ChargeType::Upper, ChargeType::Lower}

Definition at line 340 of file Utils.h.

Referenced by NAIA::TofBaseData::Dump().

const std::array<std::string, numSides> NAIA::TrTrack::sideNames {"X", "Y"}
static

Definition at line 208 of file Utils.h.

constexpr std::array<Side, numSides> NAIA::TrTrack::sides {Side::X, Side::Y}

Definition at line 206 of file Utils.h.

const std::array<std::string, numSpans> NAIA::TrTrack::spanNames
static
Initial value:
{"InnerOnly", "InnerL1", "InnerL9", "FullSpan",
"UpperHalfInner", "LowerHalfInner", "InnerNoMS"}

Definition at line 171 of file Utils.h.

Referenced by NAIA::TrTrackBaseData::Dump(), and NAIA::TrTrackPlusData::Dump().

constexpr std::array<Span, numSpans> NAIA::TrTrack::spanTypes
Initial value:
Track constructed with the upper part of the inner tracker (layers 2 to 6)
Definition: Utils.h:162
Track constructed with the upper part of the inner tracker (layers 3 to 8)
Definition: Utils.h:163
Track constructed with inner tracker + layer 1 hits.
Definition: Utils.h:159
Track constructed with inner tracker + layer9 hits.
Definition: Utils.h:160
Track constructed with all available hits (inner tracker + layer 1 + layer 9)
Definition: Utils.h:161
Track constructed without correcting for multiple scattering.
Definition: Utils.h:164
Track constructed with only inner tracker hits.
Definition: Utils.h:158

Definition at line 167 of file Utils.h.

const std::array<std::string, numTrackDistances> NAIA::TrTrack::trackDistanceNames
static
Initial value:
{"OnTrack", "Onemm", "Onecm", "Twocm",
"Fivecm", "Tencm", "AllLayer"}

Definition at line 220 of file Utils.h.

constexpr std::array<DistanceFromTrack, numTrackDistances> NAIA::TrTrack::trackDistances
const std::array<std::string, numTrGeos> NAIA::TrTrack::trGeoNames {"Default", "InnerOnly", "InnerL1", "FullSpan"}
static

Definition at line 198 of file Utils.h.

constexpr std::array<TrGeometry, numTrGeos> NAIA::TrTrack::trGeoTypes
Initial value:
Track constructed with inner tracker + layer 1 hits.
Definition: Utils.h:159
Track constructed with all available hits (inner tracker + layer 1 + layer 9)
Definition: Utils.h:161
Track constructed with only inner tracker hits.
Definition: Utils.h:158

Definition at line 195 of file Utils.h.