ATLAS Offline Software
Typedefs | Enumerations | Functions
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. More...
 

Typedef Documentation

◆ ConeCuts_t

Definition at line 34 of file TruthParticleParamDefs.h.

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  }
TruthParticleParameters::NbrOfCones
@ NbrOfCones
Definition: TruthParticleParamDefs.h:31
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::etcone10
@ etcone10
Definition: TruthParticleParamDefs.h:21
TruthParticleParameters::etcone70
@ etcone70
Definition: TruthParticleParamDefs.h:28
TruthParticleParameters::etcone20
@ etcone20
Definition: TruthParticleParamDefs.h:22
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