ATLAS Offline Software
Loading...
Searching...
No Matches
ObjectType.h File Reference
#include <iosfwd>
Include dependency graph for ObjectType.h:

Go to the source code of this file.

Namespaces

namespace  xAODType
namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.

Enumerations

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

Functions

std::ostream & operator<< (std::ostream &out, xAOD::Type::ObjectType type)
 Convenience operator for printing the object type in a (debug) message.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & out,
xAOD::Type::ObjectType type )

Convenience operator for printing the object type in a (debug) message.

Convenience operator for printing the object type in a (debug) message.

Parameters
outThe STL stream to print to
typeThe type whose name to print in the stream
Returns
The same stream that it received

Definition at line 25 of file ObjectType.cxx.

25 {
26
27 switch( type ) {
28
30
40
43
48
52
57
60
63
64 default:
65 out << "UNKNOWN";
66 break;
67 }
68
69 // Return the stream object:
70 return out;
71}
#define PRINT_TYPE(TYPE)
Helper macro for printing the object type as a string.
@ 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
@ EventInfo
The object is an event information one.
Definition ObjectType.h:91
@ 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
@ CaloCluster
The object is a calorimeter cluster.
Definition ObjectType.h:39
@ Muon
The object is a muon.
Definition ObjectType.h:48
@ 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
@ 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
@ Tau
The object is a tau (jet)
Definition ObjectType.h:49
@ 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