ATLAS Offline Software
Loading...
Searching...
No Matches
TruthParticleParamDefs.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// TruthParticleParamDefs.h
7// Header file for parameters definitions for TruthParticle
8// Stolen from ElectronParamDefs.h
9// Author : Sebastien Binet : March 2006
11#ifndef MCPARTICLEEVENT_TRUTHPARTICLEPARAMDEFS_H
12#define MCPARTICLEEVENT_TRUTHPARTICLEPARAMDEFS_H
13
14
15#include <array>
16
18
20 enum ConeSize {
21 etcone10 = 0,//<! ET in a cone of R=0.10
22 etcone20 = 1,//<! ET in a cone of R=0.20
23 etcone30 = 2,//<! ET in a cone of R=0.30
24 etcone40 = 3,//<! ET in a cone of R=0.40
25 etcone = 4,//<! ET in a cone of R=0.45
26 etcone50 = 5,//<! ET in a cone of R=0.50
27 etcone60 = 6,//<! ET in a cone of R=0.60
28 etcone70 = 7,//<! ET in a cone of R=0.70
29
30 // keep this enum the last one
32 };
33
34 typedef std::array<double, TruthParticleParameters::NbrOfCones> ConeCuts_t;
35
37 inline
39 static const ConeCuts_t coneCuts = {
40 {
41 0.10, // TruthParticleParameters::etcone10
42 0.20, // TruthParticleParameters::etcone20
43 0.30, // TruthParticleParameters::etcone30
44 0.40, // TruthParticleParameters::etcone40
45 0.45, // TruthParticleParameters::etcone
46 0.50, // TruthParticleParameters::etcone50
47 0.60, // TruthParticleParameters::etcone60
48 0.70 // TruthParticleParameters::etcone70
49 }
50 };
51 return coneCuts[idx];
52 }
53} //> end namespace TruthParticleParameters
54
55namespace McAod {
56
59 typedef std::array<double, TruthParticleParameters::NbrOfCones>
61
62} //> end namespace McAod
63
64#endif // MCPARTICLEEVENT_TRUTHPARTICLEPARAMDEFS_H
65
std::array< double, TruthParticleParameters::NbrOfCones > EtIsolations
An array of doubles of fixed size to modelize the Et isolations for different values of isolation rad...
double coneCut(const TruthParticleParameters::ConeSize idx)
The actual definition of delta R cuts for each cone.
std::array< double, TruthParticleParameters::NbrOfCones > ConeCuts_t
ConeSize
Enum for Cone size indexes (for isolation)