26 static const CLID& CLID_Event = 1110;
77 std::ostream& fillStream( std::ostream& s )
const override;
114 return s <<
"class Event :"
115 <<
"\n Event number = " << std::setw( 12 ) <<
m_event <<
"\n Run number = " << std::setw( 12 )
128 if ( i->target() == c ) {
unsigned int CLID
Class ID definition.
DataObject()
Standard Constructor.
Essential information of the event used in examples It can be identified by "/Event".
void addCollision(Collision *vtx)
Add collision.
void setRun(int value)
Update run number.
const SmartRefVector< Collision > & collisions() const
Access to collisions.
const Gaudi::Time & time() const
Retrieve reference to event time stamp.
void setTime(const Gaudi::Time &value)
Update reference to event time stamp.
Gaudi::Time m_time
Time stamp.
SmartRefVector< Collision > m_collisions
Vector of collisions this object belongs to.
std::ostream & fillStream(std::ostream &s) const override
Fill the output stream (ASCII)
const CLID & clID() const override
Retrieve reference to class definition structure.
int event() const
Retrieve event number.
int run() const
Retrieve run number.
virtual StreamBuffer & serialize(StreamBuffer &s) const
Serialize the object for writing.
void removeCollision(Collision *vtx)
Remove collision.
void setEvent(int value)
Update event number.
static const CLID & classID()
Kernel objects: SmartRef.
Kernel objects: SmartRefVector.
The stream buffer is a small object collecting object data.
std::ostream & operator<<(std::ostream &s, const Event &obj)
Output operator (ASCII)
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...