#include <Event.hh>
Public Member Functions | |
Event (Run &aRun) | |
Event (Run &, i64 aTimestamp, i32 aId) | |
~Event () | |
std::ostream & | operator<< (std::ostream &out) const |
const Run & | getRun (void) const |
i32 | getId (void) const |
void | setId (i32 aId) |
const i64 | getTimeStamp (void) const |
void | setTimeStamp (i64 aTimestamp) |
ui64 | getChannelHitSize (ui32 chamberId) const |
const ChannelHit & | getChannelHitByOrder (ui64 order, const Chamber &aChamber) |
const ChannelHit & | getChannelHitByOrder (ui64 order, const Chamber &aChamber, i16 aThreshold) |
ui64 | getChannelHitOrder (const Channel &achannel, const Chamber &aChamber) |
ui64 | getChannelHitOrder (const ChannelHit &aChannelHit, const Chamber &aChamber, bool sort) |
void | insertHit (Chamber &, ChannelHit *) |
const std::multiset < ChannelHit *, sorter > & | getChannelHitVector (const Chamber &aChamber) const |
void | print (void) const |
void | setSlowControlParam (const SlowControlEntry *params) |
const float | getPressure () const |
const float | getTemperature () const |
const float | getDriftVolt (i32 chamberId) const |
const float | getMeshVolt (i32 chamberId) const |
const SlowControlEntry * | getSlowControlEntry () |
Private Member Functions | |
void | initChannelHitVector (void) |
Private Attributes | |
i32 | id |
const Run & | run |
i64 | timestamp |
std::map< ui16, std::multiset < ChannelHit *, sorter > > | channelHits |
const SlowControlEntry * | slowControlEntry |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Event &x) |
Definition at line 30 of file Event.hh.
Event::Event | ( | Run & | aRun | ) |
Event::Event | ( | Run & | , | |
i64 | aTimestamp, | |||
i32 | aId | |||
) |
Event::~Event | ( | ) |
std::ostream& Event::operator<< | ( | std::ostream & | out | ) | const |
const Run& Event::getRun | ( | void | ) | const [inline] |
i32 Event::getId | ( | void | ) | const [inline] |
const i64 Event::getTimeStamp | ( | void | ) | const [inline] |
void Event::setTimeStamp | ( | i64 | aTimestamp | ) | [inline] |
ui64 Event::getChannelHitSize | ( | ui32 | chamberId | ) | const [inline] |
Definition at line 46 of file Event.hh.
00046 { return channelHits.find(chamberId)->second.size(); }
const ChannelHit& Event::getChannelHitByOrder | ( | ui64 | order, | |
const Chamber & | aChamber | |||
) |
const ChannelHit& Event::getChannelHitByOrder | ( | ui64 | order, | |
const Chamber & | aChamber, | |||
i16 | aThreshold | |||
) |
ui64 Event::getChannelHitOrder | ( | const ChannelHit & | aChannelHit, | |
const Chamber & | aChamber, | |||
bool | sort | |||
) |
void Event::insertHit | ( | Chamber & | , | |
ChannelHit * | ||||
) |
const std::multiset<ChannelHit*,sorter>& Event::getChannelHitVector | ( | const Chamber & | aChamber | ) | const |
void Event::print | ( | void | ) | const |
void Event::setSlowControlParam | ( | const SlowControlEntry * | params | ) |
const float Event::getPressure | ( | ) | const |
const float Event::getTemperature | ( | ) | const |
const float Event::getDriftVolt | ( | i32 | chamberId | ) | const |
const float Event::getMeshVolt | ( | i32 | chamberId | ) | const |
const SlowControlEntry* Event::getSlowControlEntry | ( | ) | [inline] |
void Event::initChannelHitVector | ( | void | ) | [private] |
std::ostream& operator<< | ( | std::ostream & | out, | |
const Event & | x | |||
) | [friend] |
const Run& Event::run [private] |
i64 Event::timestamp [private] |
std::map<ui16, std::multiset<ChannelHit*,sorter> > Event::channelHits [private] |
const SlowControlEntry* Event::slowControlEntry [private] |