Event Class Reference

#include <Event.hh>

Collaboration diagram for Event:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Event (Run &aRun)
 Event (Run &, i64 aTimestamp, i32 aId)
 ~Event ()
std::ostream & operator<< (std::ostream &out) const
const RungetRun (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 ChannelHitgetChannelHitByOrder (ui64 order, const Chamber &aChamber)
const ChannelHitgetChannelHitByOrder (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 SlowControlEntrygetSlowControlEntry ()

Private Member Functions

void initChannelHitVector (void)

Private Attributes

i32 id
const Runrun
i64 timestamp
std::map< ui16, std::multiset
< ChannelHit *, sorter > > 
channelHits
const SlowControlEntryslowControlEntry

Friends

std::ostream & operator<< (std::ostream &out, const Event &x)


Detailed Description

CLASS EVENT //

Definition at line 30 of file Event.hh.


Constructor & Destructor Documentation

Event::Event ( Run aRun  ) 

Event::Event ( Run ,
i64  aTimestamp,
i32  aId 
)

Event::~Event (  ) 


Member Function Documentation

std::ostream& Event::operator<< ( std::ostream &  out  )  const

const Run& Event::getRun ( void   )  const [inline]

Definition at line 40 of file Event.hh.

00040 { return run; }

i32 Event::getId ( void   )  const [inline]

Definition at line 41 of file Event.hh.

00041 { return id; }

void Event::setId ( i32  aId  )  [inline]

Definition at line 42 of file Event.hh.

00042 { id = aId; }

const i64 Event::getTimeStamp ( void   )  const [inline]

Definition at line 43 of file Event.hh.

00043 { return timestamp; }

void Event::setTimeStamp ( i64  aTimestamp  )  [inline]

Definition at line 44 of file Event.hh.

00044 { timestamp = aTimestamp; }

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 Channel achannel,
const Chamber aChamber 
)

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]

Definition at line 64 of file Event.hh.

00064 { return slowControlEntry;};

void Event::initChannelHitVector ( void   )  [private]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const Event x 
) [friend]


Member Data Documentation

i32 Event::id [private]

Definition at line 70 of file Event.hh.

Referenced by getId().

const Run& Event::run [private]

Definition at line 71 of file Event.hh.

Referenced by getRun().

i64 Event::timestamp [private]

Definition at line 72 of file Event.hh.

Referenced by getTimeStamp(), and setTimeStamp().

std::map<ui16, std::multiset<ChannelHit*,sorter> > Event::channelHits [private]

Definition at line 75 of file Event.hh.

Referenced by getChannelHitSize().

Definition at line 76 of file Event.hh.

Referenced by getSlowControlEntry().


The documentation for this class was generated from the following file:

Generated on Thu Jul 9 09:49:39 2009 for MicromegasFramework by  doxygen 1.5.8