ATLAS Offline Software
Loading...
Searching...
No Matches
TruthParticleParameters Namespace Reference

Typedefs

typedef std::array< double, TruthParticleParameters::NbrOfConesConeCuts_t

Enumerations

enum  ConeSize {
  etcone10 = 0 , etcone20 = 1 , etcone30 = 2 , etcone40 = 3 ,
  etcone = 4 , etcone50 = 5 , etcone60 = 6 , etcone70 = 7 ,
  NbrOfCones = 8
}
 Enum for Cone size indexes (for isolation) More...

Functions

double coneCut (const TruthParticleParameters::ConeSize idx)
 The actual definition of delta R cuts for each cone.

Typedef Documentation

◆ ConeCuts_t

Enumeration Type Documentation

◆ ConeSize

Enum for Cone size indexes (for isolation)

Enumerator
etcone10 
etcone20 
etcone30 
etcone40 
etcone 
etcone50 
etcone60 
etcone70 
NbrOfCones 

Definition at line 20 of file TruthParticleParamDefs.h.

20 {
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 };

Function Documentation

◆ coneCut()

double TruthParticleParameters::coneCut ( const TruthParticleParameters::ConeSize idx)
inline

The actual definition of delta R cuts for each cone.

Definition at line 38 of file TruthParticleParamDefs.h.

38 {
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 }
std::array< double, TruthParticleParameters::NbrOfCones > ConeCuts_t