All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
sistrip::Signal Class Reference

Signal class holds all information that one gets from strip, pixel, etc ... More...

#include <Signal.h>

Public Member Functions

 Signal (double charge, double time)
 Constructor. More...
 
 ~Signal ()
 Destructor. More...
 
void setCharge (double charge)
 Set signal. More...
 
void updateCharge (double charge)
 Update signal. More...
 
void setTime (double time)
 Set time when signal was created. More...
 
void updateSimHitMap (EVENT::SimTrackerHit *simHit, float weight)
 Update MC truth information about SimTrackerHits, which contributed. More...
 
void updateSimHitMap (SimTrackerHitMap simHitMap)
 Update MC truth information about SimTrackerHits, which contributed. More...
 
double getCharge () const
 Get signal. More...
 
double getTime () const
 Get time when signal was created. More...
 
const SimTrackerHitMapgetSimHitMap () const
 Get MC truth information about SimTrackerHits, which contributed. More...
 
float getSimHitWeightSum ()
 Get MC truth information - total sum of individual weights. More...
 

Private Attributes

double _charge
 Signal charge. More...
 
double _time
 Time when signal has been created. More...
 
SimTrackerHitMap _simHitMap
 Map of SimTrkHits which contributed to the signal. More...
 

Detailed Description

Signal class holds all information that one gets from strip, pixel, etc ...

Author
Z. Drasal, Charles University Prague

Definition at line 24 of file Signal.h.

Constructor & Destructor Documentation

sistrip::Signal::Signal ( double  charge,
double  time 
)
inline

Constructor.

Definition at line 29 of file Signal.h.

sistrip::Signal::~Signal ( )
inline

Destructor.

Definition at line 32 of file Signal.h.

Member Function Documentation

double sistrip::Signal::getCharge ( ) const
inline

Get signal.

Definition at line 56 of file Signal.h.

const SimTrackerHitMap& sistrip::Signal::getSimHitMap ( ) const
inline

Get MC truth information about SimTrackerHits, which contributed.

Definition at line 62 of file Signal.h.

float sistrip::Signal::getSimHitWeightSum ( )

Get MC truth information - total sum of individual weights.

Definition at line 46 of file Signal.cc.

double sistrip::Signal::getTime ( ) const
inline

Get time when signal was created.

Definition at line 59 of file Signal.h.

void sistrip::Signal::setCharge ( double  charge)
inline

Set signal.

Definition at line 38 of file Signal.h.

void sistrip::Signal::setTime ( double  time)
inline

Set time when signal was created.

Definition at line 44 of file Signal.h.

void sistrip::Signal::updateCharge ( double  charge)
inline

Update signal.

Definition at line 41 of file Signal.h.

void sistrip::Signal::updateSimHitMap ( EVENT::SimTrackerHit *  simHit,
float  weight 
)

Update MC truth information about SimTrackerHits, which contributed.

Definition at line 19 of file Signal.cc.

void sistrip::Signal::updateSimHitMap ( SimTrackerHitMap  simHitMap)

Update MC truth information about SimTrackerHits, which contributed.

Definition at line 31 of file Signal.cc.

Member Data Documentation

double sistrip::Signal::_charge
private

Signal charge.

Definition at line 70 of file Signal.h.

SimTrackerHitMap sistrip::Signal::_simHitMap
private

Map of SimTrkHits which contributed to the signal.

Definition at line 73 of file Signal.h.

double sistrip::Signal::_time
private

Time when signal has been created.

Definition at line 71 of file Signal.h.


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