![]() |
ATLAS Offline Software
|
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... | |
| enum xAODType::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.
Definition at line 32 of file ObjectType.h.