ChannelHit Class Reference

#include <ChannelHit.hh>

Collaboration diagram for ChannelHit:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChannelHit (const Channel &)
 ChannelHit (const Channel &, const i16 value)
virtual ~ChannelHit ()
i16 getValue (void) const
bool setValue (i16 aValue)
const ChannelgetChannel (void) const
const ULong64_t getTimestamp (void) const
const UInt_t getBcId_Abs (void) const
const UInt_t getBcId_Dif (void) const
const UInt_t getBcId_Hit (void) const
void setHardrocTime (const ULong64_t ts, const UInt_t aBcId_Abs, const UInt_t aBcId_Dif, const UInt_t aBcId_Hit)
void print (void) const

Static Public Member Functions

static void sortByValue (std::vector< ChannelHit * > &, bool ascending)

Private Attributes

i16 value
const Channelchannel
ULong64_t timestamp
UInt_t bcId_Abs
UInt_t bcId_Dif
UInt_t bcId_Hit


Detailed Description

CLASS ChannelHit //

Definition at line 20 of file ChannelHit.hh.


Constructor & Destructor Documentation

ChannelHit::ChannelHit ( const Channel  ) 

ChannelHit::ChannelHit ( const Channel ,
const i16  value 
)

virtual ChannelHit::~ChannelHit (  )  [virtual]


Member Function Documentation

i16 ChannelHit::getValue ( void   )  const [inline]

Definition at line 27 of file ChannelHit.hh.

Referenced by sorter::operator()(), Ascending::operator()(), and Descending::operator()().

00027 { return value; }

bool ChannelHit::setValue ( i16  aValue  )  [inline]

Definition at line 28 of file ChannelHit.hh.

00028 { value = aValue; return true; }

const Channel& ChannelHit::getChannel ( void   )  const [inline]

Definition at line 29 of file ChannelHit.hh.

00029 { return channel; }

const ULong64_t ChannelHit::getTimestamp ( void   )  const [inline]

Definition at line 30 of file ChannelHit.hh.

00030 { return(timestamp); };

const UInt_t ChannelHit::getBcId_Abs ( void   )  const [inline]

Definition at line 31 of file ChannelHit.hh.

00031 { return(bcId_Abs); };

const UInt_t ChannelHit::getBcId_Dif ( void   )  const [inline]

Definition at line 32 of file ChannelHit.hh.

00032 { return(bcId_Dif); };

const UInt_t ChannelHit::getBcId_Hit ( void   )  const [inline]

Definition at line 33 of file ChannelHit.hh.

00033 { return(bcId_Hit); };

void ChannelHit::setHardrocTime ( const ULong64_t  ts,
const UInt_t  aBcId_Abs,
const UInt_t  aBcId_Dif,
const UInt_t  aBcId_Hit 
) [inline]

Definition at line 34 of file ChannelHit.hh.

00035              { timestamp = ts, bcId_Abs = aBcId_Abs, bcId_Dif = aBcId_Dif, bcId_Hit = aBcId_Hit; };

static void ChannelHit::sortByValue ( std::vector< ChannelHit * > &  ,
bool  ascending 
) [static]

void ChannelHit::print ( void   )  const


Member Data Documentation

i16 ChannelHit::value [private]

Definition at line 44 of file ChannelHit.hh.

const Channel& ChannelHit::channel [private]

Definition at line 45 of file ChannelHit.hh.

Referenced by getChannel().

ULong64_t ChannelHit::timestamp [private]

Definition at line 47 of file ChannelHit.hh.

Referenced by getTimestamp(), and setHardrocTime().

UInt_t ChannelHit::bcId_Abs [private]

Definition at line 48 of file ChannelHit.hh.

Referenced by getBcId_Abs(), and setHardrocTime().

UInt_t ChannelHit::bcId_Dif [private]

Definition at line 49 of file ChannelHit.hh.

Referenced by getBcId_Dif(), and setHardrocTime().

UInt_t ChannelHit::bcId_Hit [private]

Definition at line 50 of file ChannelHit.hh.

Referenced by getBcId_Hit(), and setHardrocTime().


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