Go to the documentation of this file.
26 static const CLID& CLID_Event = 1110;
44 const CLID&
clID()
const override {
return classID(); }
48 int event()
const {
return m_event; }
50 void setEvent(
int value ) { m_event = value; }
53 int run()
const {
return m_run; }
55 void setRun(
int value ) { m_run = value; }
114 return s <<
"class Event :"
128 if ( i->target() ==
c ) {
void addCollision(Collision *vtx)
Add collision.
const SmartRefVector< Collision > & collisions() const
Access to collisions.
void setRun(int value)
Update run number.
Kernel objects: SmartRefVector.
std::ostream & fillStream(std::ostream &s) const override
Fill the output stream (ASCII)
void setTime(const Gaudi::Time &value)
Update reference to event time stamp.
const CLID & clID() const override
Retrieve reference to class definition structure.
static const CLID & classID()
void removeCollision(Collision *vtx)
Remove collision.
int run() const
Retrieve run number.
const Gaudi::Time & time() const
Retrieve reference to event time stamp.
unsigned int CLID
Class ID definition.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
virtual StreamBuffer & serialize(StreamBuffer &s) const
Serialize the object for writing.
Gaudi::Time m_time
Time stamp.
std::ostream & operator<<(std::ostream &s, const Event &obj)
Output operator (ASCII)
int event() const
Retrieve event number.
Kernel objects: SmartRef.
SmartRefVector< Collision > m_collisions
Vector of collisions this object belongs to.
void setEvent(int value)
Update event number.