ATLAS Offline Software
PhysicsAnalysis
TruthParticleID
McParticleEvent
McParticleEvent
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
17
namespace
TruthParticleParameters
{
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
31
NbrOfCones
= 8
32
};
33
34
typedef
std::array<double, TruthParticleParameters::NbrOfCones>
ConeCuts_t
;
35
37
inline
38
double
coneCut
(
const
TruthParticleParameters::ConeSize
idx
) {
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
55
namespace
McAod
{
56
59
typedef
std::array<double, TruthParticleParameters::NbrOfCones>
60
EtIsolations
;
61
62
}
//> end namespace McAod
63
64
#endif // MCPARTICLEEVENT_TRUTHPARTICLEPARAMDEFS_H
65
TruthParticleParameters::NbrOfCones
@ NbrOfCones
Definition:
TruthParticleParamDefs.h:31
McAod
Definition:
TruthParticleParamDefs.h:55
TruthParticleParameters::ConeCuts_t
std::array< double, TruthParticleParameters::NbrOfCones > ConeCuts_t
Definition:
TruthParticleParamDefs.h:34
TruthParticleParameters::etcone30
@ etcone30
Definition:
TruthParticleParamDefs.h:23
TruthParticleParameters::etcone40
@ etcone40
Definition:
TruthParticleParamDefs.h:24
TruthParticleParameters::ConeSize
ConeSize
Enum for Cone size indexes (for isolation)
Definition:
TruthParticleParamDefs.h:20
TruthParticleParameters
Definition:
TruthParticleParamDefs.h:17
TruthParticleParameters::etcone10
@ etcone10
Definition:
TruthParticleParamDefs.h:21
McAod::EtIsolations
std::array< double, TruthParticleParameters::NbrOfCones > EtIsolations
An array of doubles of fixed size to modelize the Et isolations for different values of isolation rad...
Definition:
TruthParticleParamDefs.h:60
TruthParticleParameters::etcone70
@ etcone70
Definition:
TruthParticleParamDefs.h:28
TruthParticleParameters::etcone20
@ etcone20
Definition:
TruthParticleParamDefs.h:22
TruthParticleParameters::coneCut
double coneCut(const TruthParticleParameters::ConeSize idx)
The actual definition of delta R cuts for each cone.
Definition:
TruthParticleParamDefs.h:38
TruthParticleParameters::etcone60
@ etcone60
Definition:
TruthParticleParamDefs.h:27
TruthParticleParameters::etcone
@ etcone
Definition:
TruthParticleParamDefs.h:25
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition:
LArNewCalib_DelayDump_OFC_Cali.py:69
TruthParticleParameters::etcone50
@ etcone50
Definition:
TruthParticleParamDefs.h:26
Generated on Thu Nov 7 2024 21:31:09 for ATLAS Offline Software by
1.8.18