ATLAS Offline Software
Macros | Functions
ObjectType.cxx File Reference
#include <iostream>
#include "xAODBase/ObjectType.h"
Include dependency graph for ObjectType.cxx:

Go to the source code of this file.

Macros

#define PRINT_TYPE(TYPE)
 Helper macro for printing the object type as a string. More...
 

Functions

std::ostream & operator<< (std::ostream &out, xAOD::Type::ObjectType type)
 This function can be used in (debug) printouts to easily show the type name returned by an object. More...
 

Macro Definition Documentation

◆ PRINT_TYPE

#define PRINT_TYPE (   TYPE)
Value:
case TYPE: \
out << #TYPE; \
break

Helper macro for printing the object type as a string.

Definition at line 14 of file ObjectType.cxx.

Function Documentation

◆ operator<<()

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

This function can be used in (debug) printouts to easily show the type name returned by an object.

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.

xAOD::Electron
Electron_v1 Electron
Definition of the current "egamma version".
Definition: Event/xAOD/xAODEgamma/xAODEgamma/Electron.h:17
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition: Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
xAOD::TruthEvent
TruthEvent_v1 TruthEvent
Typedef to implementation.
Definition: TruthEvent.h:17
EventInfo
EventInfo
Definition: EventTPCnv.cxx:47
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
xAOD::Particle
Particle_v1 Particle
Define the latest version of the particle class.
Definition: Event/xAOD/xAODParticleEvent/xAODParticleEvent/Particle.h:17
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
TrigEMCluster
Athena::TPCnvVers::Old TrigEMCluster
Definition: TrigCaloEventTPCnv.cxx:124
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
PRINT_TYPE
#define PRINT_TYPE(TYPE)
Helper macro for printing the object type as a string.
Definition: ObjectType.cxx:13
xAOD::CompositeParticle
CompositeParticle_v1 CompositeParticle
Define the latest version of the composite particle class.
Definition: Event/xAOD/xAODParticleEvent/xAODParticleEvent/CompositeParticle.h:17
xAOD::TrigPhoton
TrigPhoton_v1 TrigPhoton
Declare the latest version of TrigPhoton.
Definition: Event/xAOD/xAODTrigEgamma/xAODTrigEgamma/TrigPhoton.h:16
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition: Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
xAOD::TruthPileupEvent
TruthPileupEvent_v1 TruthPileupEvent
Typedef to implementation.
Definition: TruthPileupEvent.h:15
xAODType::ParticleFlow
@ ParticleFlow
The object is a particle-flow object.
Definition: ObjectType.h:41
xAOD::TruthVertex
TruthVertex_v1 TruthVertex
Typedef to implementation.
Definition: TruthVertex.h:15
xAOD::L2IsoMuon
L2IsoMuon_v1 L2IsoMuon
Define the latest version of the muon Iso class.
Definition: L2IsoMuon.h:15
xAOD::NeutralParticle
NeutralParticle_v1 NeutralParticle
Reference the current persistent version:
Definition: NeutralParticle.h:13
TYPE
#define TYPE(CODE, TYP, IOTYP)
xAOD::L2CombinedMuon
L2CombinedMuon_v1 L2CombinedMuon
Define the latest version of the muon CB class.
Definition: L2CombinedMuon.h:15
xAOD::TrigElectron
TrigElectron_v1 TrigElectron
Declare the latest version of the class.
Definition: Event/xAOD/xAODTrigEgamma/xAODTrigEgamma/TrigElectron.h:16
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition: Event/xAOD/xAODEgamma/xAODEgamma/Photon.h:17
Muon
struct TBPatternUnitContext Muon
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::EventFormat
EventFormat_v1 EventFormat
Definition of the current event format version.
Definition: EventFormat.h:16
xAODType::Tau
@ Tau
The object is a tau (jet)
Definition: ObjectType.h:49
xAOD::TrigCaloCluster
TrigCaloCluster_v1 TrigCaloCluster
Define the latest version of the trigger calorimeter cluster class.
Definition: Event/xAOD/xAODTrigCalo/xAODTrigCalo/TrigCaloCluster.h:17
xAODType::BTag
@ BTag
The object is a b-tagging object.
Definition: ObjectType.h:60
xAOD::L2StandAloneMuon
L2StandAloneMuon_v2 L2StandAloneMuon
Define the latest version of the muon SA class.
Definition: L2StandAloneMuon.h:17
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition: Event/xAOD/xAODJet/xAODJet/Jet.h:17