The interface class for accessing the correct event objects. More...
#include <IEventObjects.h>
Public Member Functions | |
virtual | ~IEventObjects () |
standard virtual destructor for base class | |
template<class T > | |
T * | get (ObjectType type) const |
the object or object container for the given object type or NULL if it hasn't been filled (yet). | |
xAOD::IParticleContainer * | getParticles (ObjectType type) |
the object container as a xAOD::IParticleContainer | |
virtual void * | getVoid (ObjectType type) const =0 |
get the object or object container for the given object type or NULL if it hasn't been filled (yet). | |
virtual StatusCode | addCopy (ObjectType type, const std::string &name)=0 |
add a shallow copy of the input container with the given name | |
virtual StatusCode | addNew (ObjectType type)=0 |
add a new container of the given type | |
virtual float | eventWeight () const =0 |
the event weight | |
xAOD::EventInfo * | eventinfo () const |
the eventinfo object | |
EventSelectType * | eventSelect () const |
the eventinfo object | |
xAOD::MuonContainer * | muons () const |
the muon container | |
xAOD::TauJetContainer * | taus () const |
the tau container | |
xAOD::ElectronContainer * | electrons () const |
the electron container | |
xAOD::PhotonContainer * | photons () const |
the photon container | |
xAOD::JetContainer * | jets () const |
the jet container | |
xAOD::JetContainer * | fat_jets () const |
the fat jet container | |
xAOD::MissingETContainer * | met () const |
the met container | |
xAOD::MissingETContainer * | met2 () const |
the met container |
The interface class for accessing the correct event objects.
This is in essence a wrapper around StoreGate or TEvent/TStore, using ObjectType to stand in for the name (and also implying the type).
virtual ana::IEventObjects::~IEventObjects | ( | ) | [virtual] |
standard virtual destructor for base class
virtual StatusCode ana::IEventObjects::addCopy | ( | ObjectType | type, | |
const std::string & | name | |||
) | [pure virtual] |
add a shallow copy of the input container with the given name
Implemented in ana::EventObjects, and ana::OptimizedObjects.
virtual StatusCode ana::IEventObjects::addNew | ( | ObjectType | type | ) | [pure virtual] |
add a new container of the given type
Implemented in ana::EventObjects, and ana::OptimizedObjects.
xAOD::ElectronContainer * ana::IEventObjects::electrons | ( | ) | const [inline] |
the electron container
xAOD::EventInfo * ana::IEventObjects::eventinfo | ( | ) | const [inline] |
the eventinfo object
EventSelectType * ana::IEventObjects::eventSelect | ( | ) | const [inline] |
the eventinfo object
virtual float ana::IEventObjects::eventWeight | ( | ) | const [pure virtual] |
the event weight
this is a dummy for now and the mechanism might change at some point
Implemented in ana::EventObjects, and ana::OptimizedObjects.
xAOD::JetContainer * ana::IEventObjects::fat_jets | ( | ) | const [inline] |
the fat jet container
T * ana::IEventObjects::get | ( | ObjectType | type | ) | const [inline] |
the object or object container for the given object type or NULL if it hasn't been filled (yet).
xAOD::IParticleContainer * ana::IEventObjects::getParticles | ( | ObjectType | type | ) |
the object container as a xAOD::IParticleContainer
virtual void* ana::IEventObjects::getVoid | ( | ObjectType | type | ) | const [pure virtual] |
get the object or object container for the given object type or NULL if it hasn't been filled (yet).
Implemented in ana::EventObjects, and ana::OptimizedObjects.
xAOD::JetContainer * ana::IEventObjects::jets | ( | ) | const [inline] |
the jet container
xAOD::MissingETContainer * ana::IEventObjects::met | ( | ) | const [inline] |
the met container
xAOD::MissingETContainer * ana::IEventObjects::met2 | ( | ) | const [inline] |
the met container
xAOD::MuonContainer * ana::IEventObjects::muons | ( | ) | const [inline] |
the muon container
xAOD::PhotonContainer * ana::IEventObjects::photons | ( | ) | const [inline] |
the photon container
xAOD::TauJetContainer * ana::IEventObjects::taus | ( | ) | const [inline] |
the tau container