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

Enumerations

enum  ObjectType {
  Other = 0 , CaloCluster = 1 , Jet = 2 , ParticleFlow = 3 ,
  TrackParticle = 4 , NeutralParticle = 5 , Electron = 6 , Photon = 7 ,
  Muon = 8 , Tau = 9 , TrackCaloCluster = 10 , FlowElement = 11 ,
  Vertex = 101 , BTag = 102 , TruthParticle = 201 , TruthVertex = 202 ,
  TruthEvent = 203 , TruthPileupEvent = 204 , L2StandAloneMuon = 501 , L2IsoMuon = 502 ,
  L2CombinedMuon = 503 , TrigElectron = 504 , TrigPhoton = 505 , TrigCaloCluster = 506 ,
  TrigEMCluster = 507 , EventInfo = 1001 , EventFormat = 1002 , Particle = 1101 ,
  CompositeParticle = 1102
}
 Type of objects that have a representation in the xAOD EDM. More...

Enumeration Type Documentation

◆ ObjectType

Type of objects that have a representation in the xAOD EDM.

xAOD classes identify themselves by all of them providing a function with the signature:

xAOD::Type::ObjectType type() const;

This can be used to easily identify what sort of object some generic code is dealing with, avoiding doing a lot of dynamic_cast-s instead.

Note that Doxygen doesn't allow to group enumeration variables together like it does for members of a class, that's why the grouping comments are not created according to the Doxygen rules.

Enumerator
Other 

An object not falling into any of the other categories.

CaloCluster 

The object is a calorimeter cluster.

Jet 

The object is a jet.

Definition of the current "jet version".

ParticleFlow 

The object is a particle-flow object.

TrackParticle 

The object is a charged track particle.

NeutralParticle 

The object is a neutral particle.

Electron 

The object is an electron.

Photon 

The object is a photon.

Muon 

The object is a muon.

Tau 

The object is a tau (jet)

TrackCaloCluster 

The object is a track-calo-cluster.

FlowElement 

The object is a track-calo-cluster.

Vertex 

The object is a vertex.

BTag 

The object is a b-tagging object.

TruthParticle 

The object is a truth particle.

TruthVertex 

The object is a truth vertex.

TruthEvent 

The object is a truth event.

TruthPileupEvent 

The object is a truth pileup event.

L2StandAloneMuon 

The object is a stand-alone LVL2 muon.

L2IsoMuon 

The object is a LVL2 isolated muon.

L2CombinedMuon 

The object is a combined LVL2 muon.

TrigElectron 

The object is a LVL2 electron.

TrigPhoton 

The object is a LVL2 photon.

TrigCaloCluster 

The object is a LVL2 calorimeter cluster.

TrigEMCluster 

The object is a LVL2 EM cluster.

EventInfo 

The object is an event information one.

EventFormat 

The object is an event format one.

Particle 

Generic particle object, for analysis.

CompositeParticle 

Particle composed of other particles.

Definition at line 32 of file ObjectType.h.

32 {
33
34 Other = 0,
35
36 // Reconstructed particle types
37 // {
38
39 CaloCluster = 1,
40 Jet = 2,
41 ParticleFlow = 3,
42
43 TrackParticle = 4,
44 NeutralParticle = 5,
45
46 Electron = 6,
47 Photon = 7,
48 Muon = 8,
49 Tau = 9,
50
51 TrackCaloCluster = 10,
52 FlowElement = 11,
53
54 // }
55
56 // Reconstructed non-particle types
57 // {
58
59 Vertex = 101,
60 BTag = 102,
61
62 // }
63
64 // Truth types
65 // {
66
67 TruthParticle = 201,
68 TruthVertex = 202,
69 TruthEvent = 203,
70 TruthPileupEvent = 204,
71
72 // }
73
74 // Trigger types
75 // {
76
77 L2StandAloneMuon = 501,
78 L2IsoMuon = 502,
79 L2CombinedMuon = 503,
80
81 TrigElectron = 504,
82 TrigPhoton = 505,
83 TrigCaloCluster = 506,
84 TrigEMCluster = 507,
85
86 // }
87
88 // Auxiliary types
89 // {
90
91 EventInfo = 1001,
92 EventFormat = 1002,
93
94 Particle = 1101,
95 CompositeParticle = 1102
96
97 // }
98
99}; // enum ObjectType
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
@ TruthPileupEvent
The object is a truth pileup event.
Definition ObjectType.h:70
@ TrackParticle
The object is a charged track particle.
Definition ObjectType.h:43
@ CompositeParticle
Particle composed of other particles.
Definition ObjectType.h:95
@ L2IsoMuon
The object is a LVL2 isolated muon.
Definition ObjectType.h:78
@ Jet
The object is a jet.
Definition ObjectType.h:40
@ Photon
The object is a photon.
Definition ObjectType.h:47
@ EventFormat
The object is an event format one.
Definition ObjectType.h:92
@ ParticleFlow
The object is a particle-flow object.
Definition ObjectType.h:41
@ TruthEvent
The object is a truth event.
Definition ObjectType.h:69
@ Other
An object not falling into any of the other categories.
Definition ObjectType.h:34
@ FlowElement
The object is a track-calo-cluster.
Definition ObjectType.h:52
@ CaloCluster
The object is a calorimeter cluster.
Definition ObjectType.h:39
@ TrigCaloCluster
The object is a LVL2 calorimeter cluster.
Definition ObjectType.h:83
@ BTag
The object is a b-tagging object.
Definition ObjectType.h:60
@ L2StandAloneMuon
The object is a stand-alone LVL2 muon.
Definition ObjectType.h:77
@ TrackCaloCluster
The object is a track-calo-cluster.
Definition ObjectType.h:51
@ TruthParticle
The object is a truth particle.
Definition ObjectType.h:67
@ NeutralParticle
The object is a neutral particle.
Definition ObjectType.h:44
@ Electron
The object is an electron.
Definition ObjectType.h:46
@ L2CombinedMuon
The object is a combined LVL2 muon.
Definition ObjectType.h:79
@ Particle
Generic particle object, for analysis.
Definition ObjectType.h:94
@ TrigElectron
The object is a LVL2 electron.
Definition ObjectType.h:81
@ TrigEMCluster
The object is a LVL2 EM cluster.
Definition ObjectType.h:84
@ TruthVertex
The object is a truth vertex.
Definition ObjectType.h:68
@ Vertex
The object is a vertex.
Definition ObjectType.h:59
@ TrigPhoton
The object is a LVL2 photon.
Definition ObjectType.h:82