ATLAS Offline Software
ObjectType.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef XAODBASE_OBJECTTYPE_H
8 #define XAODBASE_OBJECTTYPE_H
9 
10 // System include(s):
11 #include <iosfwd>
12 
13 namespace xAODType {
14 
32 enum ObjectType {
33 
34  Other = 0,
35 
36  // Reconstructed particle types
37  // {
38 
40  Jet = 2,
42 
45 
46  Electron = 6,
47  Photon = 7,
48  Muon = 8,
49  Tau = 9,
50 
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,
71 
72  // }
73 
74  // Trigger types
75  // {
76 
78  L2IsoMuon = 502,
80 
81  TrigElectron = 504,
82  TrigPhoton = 505,
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
100 
102 
103 } // namespace xAODType
104 
105 namespace xAOD{
106  /*
107  * This is deemed more conveninet for the clients
108  * i.e
109  * xAOD::Type::ObjectType
110  * so for compatibility with the above we alias
111  * xAODType to be just Type
112  */
113  namespace Type=xAODType;
114 }
115 
117 std::ostream& operator<< ( std::ostream& out, xAOD::Type::ObjectType type );
118 
119 
120 
121 #endif // XAODBASE_OBJECTTYPE_H
xAODType::TrackParticle
@ TrackParticle
The object is a charged track particle.
Definition: ObjectType.h:43
TruthVertex
HepMC::GenVertex TruthVertex
Definition: Simulation/G4Sim/MCTruth/MCTruth/TruthEvent.h:12
Jet
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
Definition: Reconstruction/Jet/JetEvent/JetEvent/Jet.h:47
ObjectType
ObjectType
Definition: BaseObject.h:11
TruthParticle
Definition: PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticle.h:58
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
Tau
Definition: EfficiencyPtPlots.cxx:9
TrigElectron
File: TrigElectron.h.
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigElectron.h:63
CompositeParticle
Definition: PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticle.h:52
TrigEMCluster
Class with calibrated variables for egamma clustering.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:31
TruthEvent
HepMC::GenEvent TruthEvent
Definition: Simulation/G4Sim/MCTruth/MCTruth/TruthEvent.h:11
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Photon
Class describing an photon
xAODType::TrackCaloCluster
@ TrackCaloCluster
The object is a track-calo-cluster.
Definition: ObjectType.h:51
xAODType::TruthPileupEvent
@ TruthPileupEvent
The object is a truth pileup event.
Definition: ObjectType.h:70
xAODType::ROOT6_NamespaceAutoloadHook
Definition: ObjectType.h:101
xAODType::Other
@ Other
An object not falling into any of the other categories.
Definition: ObjectType.h:34
TrigCaloCluster
Base Cluster Class.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:39
xAODType::Vertex
@ Vertex
The object is a vertex.
Definition: ObjectType.h:59
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
xAODType::ParticleFlow
@ ParticleFlow
The object is a particle-flow object.
Definition: ObjectType.h:41
xAODType::NeutralParticle
@ NeutralParticle
The object is a neutral particle.
Definition: ObjectType.h:44
xAODType
Definition: ObjectType.h:13
EventInfo
This class provides general information about an event. Event information is provided by the accessor...
Definition: EventInfo/EventInfo/EventInfo.h:42
test_pythinning.out
out
Definition: test_pythinning.py:94
xAODType::L2IsoMuon
@ L2IsoMuon
The object is a LVL2 isolated muon.
Definition: ObjectType.h:78
xAODType::Particle
@ Particle
Generic particle object, for analysis.
Definition: ObjectType.h:94
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAODType::EventFormat
@ EventFormat
The object is an event format one.
Definition: ObjectType.h:92
Electron
Class describing an electron.
xAODType::FlowElement
@ FlowElement
The object is a track-calo-cluster.
Definition: ObjectType.h:52
xAODType::L2StandAloneMuon
@ L2StandAloneMuon
The object is a stand-alone LVL2 muon.
Definition: ObjectType.h:77
xAODType::BTag
@ BTag
The object is a b-tagging object.
Definition: ObjectType.h:60
xAODType::ObjectType
ObjectType
Type of objects that have a representation in the xAOD EDM.
Definition: ObjectType.h:32
xAODType::L2CombinedMuon
@ L2CombinedMuon
The object is a combined LVL2 muon.
Definition: ObjectType.h:79
TrigPhoton
File: TrigPhoton.h.
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:44
operator<<
std::ostream & operator<<(std::ostream &out, xAOD::Type::ObjectType type)
Convenience operator for printing the object type in a (debug) message.
Definition: ObjectType.cxx:25