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

This class holds all information about strip clusters, where the strip cluster is defined as a bunch of strips, where at least one strip has its signal above so-called seed threshold and other strips above threshold lower than seed. More...

#include <StripCluster.h>

Public Member Functions

 StripCluster (short int layerID, short int ladderID, short int sensorID, CLHEP::Hep3Vector position, CLHEP::Hep3Vector posSigma, double charge, short int size)
 Constructor. More...
 
 StripCluster (short int layerID, short int ladderID, short int sensorID, CLHEP::Hep3Vector position, CLHEP::Hep3Vector posSigma, double charge, short int size, short int stripFront, short int stripRear)
 Constructor with strips ID. More...
 
 ~StripCluster ()
 Destructor. More...
 
void setLayerID (short int iLayer)
 Set cluster layer ID. More...
 
void setLadderID (short int iLadder)
 Set cluster ladder ID. More...
 
void setSensorID (short int iSensor)
 Set cluster sensor ID. More...
 
void setPosX (double posX)
 Set cluster position X in cm. More...
 
void setPosY (double posY)
 Set cluster position Y in cm. More...
 
void setPosZ (double posZ)
 Set cluster position Z in cm. More...
 
void set3Position (const CLHEP::Hep3Vector &position)
 Set cluster position Three vector in cm. More...
 
void setPosSigmaX (double posSigmaX)
 Set cluster - position sigma X in cm. More...
 
void setPosSigmaY (double posSigmaY)
 Set cluster - position sigma Y in cm. More...
 
void setPosSigmaZ (double posSigmaZ)
 Set cluster - position sigma Z in cm. More...
 
void set3PosSigma (const CLHEP::Hep3Vector &position)
 Set cluster position Three vector in cm. More...
 
void setCharge (double charge)
 Set cluster charge. More...
 
void setTime (double time)
 Set time when the cluster has been created by a particle in s. More...
 
void setSize (short int size)
 Set cluster size (how many strips contributed) More...
 
void updateSimHitMap (SimTrackerHitMap simHitMap)
 Update MC truth information about SimTrackerHits, which contributed. More...
 
void setStripFront (const int &stripId)
 Set front strip ID. More...
 
void setStripRear (const int &stripId)
 Set rear strip ID. More...
 
short int getLayerID () const
 Get cluster layer ID. More...
 
short int getLadderID () const
 Get cluster ladder ID. More...
 
short int getSensorID () const
 Get cluster sensor ID. More...
 
double getPosX () const
 Get cluster position X. More...
 
double getPosY () const
 Get cluster position Y. More...
 
double getPosZ () const
 Get cluster position Z. More...
 
CLHEP::Hep3Vector get3Position () const
 Get cluster position Three vector. More...
 
double getPosSigmaX () const
 Get cluster - position sigma X. More...
 
double getPosSigmaY () const
 Get cluster - position sigma Y. More...
 
double getPosSigmaZ () const
 Get cluster - position sigma Z. More...
 
CLHEP::Hep3Vector get3PosSigma () const
 Get cluster position Three vector. More...
 
double getCharge () const
 Get cluster charge. More...
 
double getTime () const
 Get time when the cluster has been created by a particle. More...
 
short int getSize () const
 Get cluster size. 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...
 
int getStripFront () const
 Get front strip ID. More...
 
int getStripRear () const
 Get rear strip ID. More...
 

Protected Attributes

short int _iLayer
 ID number of a layer. More...
 
short int _iLadder
 ID number of a ladder. More...
 
short int _iSensor
 ID number of a sensor. More...
 
CLHEP::Hep3Vector _position
 Cluster position in cm. More...
 
CLHEP::Hep3Vector _posSigma
 Cluster - position sigma in cm. More...
 
double _charge
 Total charge deposited. More...
 
double _time
 Time when the cluster has been created by a particle. More...
 
short int _size
 Cluster size. More...
 
short int _stripFront
 Strip ID of the front sensor. More...
 
short int _stripRear
 Strip ID of the rear sensor. More...
 
SimTrackerHitMap _simHitMap
 Map of SimTrkHits which contributed to the signal. More...
 

Detailed Description

This class holds all information about strip clusters, where the strip cluster is defined as a bunch of strips, where at least one strip has its signal above so-called seed threshold and other strips above threshold lower than seed.

Author
Z. Drasal, Charles University Prague

Definition at line 24 of file StripCluster.h.

Constructor & Destructor Documentation

sistrip::StripCluster::StripCluster ( short int  layerID,
short int  ladderID,
short int  sensorID,
CLHEP::Hep3Vector  position,
CLHEP::Hep3Vector  posSigma,
double  charge,
short int  size 
)
inline

Constructor.

Definition at line 28 of file StripCluster.h.

sistrip::StripCluster::StripCluster ( short int  layerID,
short int  ladderID,
short int  sensorID,
CLHEP::Hep3Vector  position,
CLHEP::Hep3Vector  posSigma,
double  charge,
short int  size,
short int  stripFront,
short int  stripRear 
)
inline

Constructor with strips ID.

Definition at line 35 of file StripCluster.h.

sistrip::StripCluster::~StripCluster ( )

Destructor.

Definition at line 18 of file StripCluster.cc.

Member Function Documentation

CLHEP::Hep3Vector sistrip::StripCluster::get3Position ( ) const
inline

Get cluster position Three vector.

Definition at line 120 of file StripCluster.h.

CLHEP::Hep3Vector sistrip::StripCluster::get3PosSigma ( ) const
inline

Get cluster position Three vector.

Definition at line 132 of file StripCluster.h.

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

Get cluster charge.

Definition at line 135 of file StripCluster.h.

short int sistrip::StripCluster::getLadderID ( ) const
inline

Get cluster ladder ID.

Definition at line 105 of file StripCluster.h.

short int sistrip::StripCluster::getLayerID ( ) const
inline

Get cluster layer ID.

Definition at line 102 of file StripCluster.h.

double sistrip::StripCluster::getPosSigmaX ( ) const
inline

Get cluster - position sigma X.

Definition at line 123 of file StripCluster.h.

double sistrip::StripCluster::getPosSigmaY ( ) const
inline

Get cluster - position sigma Y.

Definition at line 126 of file StripCluster.h.

double sistrip::StripCluster::getPosSigmaZ ( ) const
inline

Get cluster - position sigma Z.

Definition at line 129 of file StripCluster.h.

double sistrip::StripCluster::getPosX ( ) const
inline

Get cluster position X.

Definition at line 111 of file StripCluster.h.

double sistrip::StripCluster::getPosY ( ) const
inline

Get cluster position Y.

Definition at line 114 of file StripCluster.h.

double sistrip::StripCluster::getPosZ ( ) const
inline

Get cluster position Z.

Definition at line 117 of file StripCluster.h.

short int sistrip::StripCluster::getSensorID ( ) const
inline

Get cluster sensor ID.

Definition at line 108 of file StripCluster.h.

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

Get MC truth information about SimTrackerHits, which contributed.

Definition at line 144 of file StripCluster.h.

float sistrip::StripCluster::getSimHitWeightSum ( )

Get MC truth information - total sum of individual weights.

Definition at line 61 of file StripCluster.cc.

short int sistrip::StripCluster::getSize ( ) const
inline

Get cluster size.

Definition at line 141 of file StripCluster.h.

int sistrip::StripCluster::getStripFront ( ) const
inline

Get front strip ID.

Definition at line 150 of file StripCluster.h.

int sistrip::StripCluster::getStripRear ( ) const
inline

Get rear strip ID.

Definition at line 153 of file StripCluster.h.

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

Get time when the cluster has been created by a particle.

Definition at line 138 of file StripCluster.h.

void sistrip::StripCluster::set3Position ( const CLHEP::Hep3Vector &  position)

Set cluster position Three vector in cm.

Definition at line 26 of file StripCluster.cc.

void sistrip::StripCluster::set3PosSigma ( const CLHEP::Hep3Vector &  position)

Set cluster position Three vector in cm.

Definition at line 36 of file StripCluster.cc.

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

Set cluster charge.

Definition at line 82 of file StripCluster.h.

void sistrip::StripCluster::setLadderID ( short int  iLadder)
inline

Set cluster ladder ID.

Definition at line 52 of file StripCluster.h.

void sistrip::StripCluster::setLayerID ( short int  iLayer)
inline

Set cluster layer ID.

Definition at line 49 of file StripCluster.h.

void sistrip::StripCluster::setPosSigmaX ( double  posSigmaX)
inline

Set cluster - position sigma X in cm.

Definition at line 70 of file StripCluster.h.

void sistrip::StripCluster::setPosSigmaY ( double  posSigmaY)
inline

Set cluster - position sigma Y in cm.

Definition at line 73 of file StripCluster.h.

void sistrip::StripCluster::setPosSigmaZ ( double  posSigmaZ)
inline

Set cluster - position sigma Z in cm.

Definition at line 76 of file StripCluster.h.

void sistrip::StripCluster::setPosX ( double  posX)
inline

Set cluster position X in cm.

Definition at line 58 of file StripCluster.h.

void sistrip::StripCluster::setPosY ( double  posY)
inline

Set cluster position Y in cm.

Definition at line 61 of file StripCluster.h.

void sistrip::StripCluster::setPosZ ( double  posZ)
inline

Set cluster position Z in cm.

Definition at line 64 of file StripCluster.h.

void sistrip::StripCluster::setSensorID ( short int  iSensor)
inline

Set cluster sensor ID.

Definition at line 55 of file StripCluster.h.

void sistrip::StripCluster::setSize ( short int  size)
inline

Set cluster size (how many strips contributed)

Definition at line 88 of file StripCluster.h.

void sistrip::StripCluster::setStripFront ( const int &  stripId)
inline

Set front strip ID.

Definition at line 94 of file StripCluster.h.

void sistrip::StripCluster::setStripRear ( const int &  stripId)
inline

Set rear strip ID.

Definition at line 97 of file StripCluster.h.

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

Set time when the cluster has been created by a particle in s.

Definition at line 85 of file StripCluster.h.

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

Update MC truth information about SimTrackerHits, which contributed.

Definition at line 46 of file StripCluster.cc.

Member Data Documentation

double sistrip::StripCluster::_charge
protected

Total charge deposited.

Definition at line 165 of file StripCluster.h.

short int sistrip::StripCluster::_iLadder
protected

ID number of a ladder.

Definition at line 159 of file StripCluster.h.

short int sistrip::StripCluster::_iLayer
protected

ID number of a layer.

Definition at line 158 of file StripCluster.h.

short int sistrip::StripCluster::_iSensor
protected

ID number of a sensor.

Definition at line 160 of file StripCluster.h.

CLHEP::Hep3Vector sistrip::StripCluster::_position
protected

Cluster position in cm.

Definition at line 162 of file StripCluster.h.

CLHEP::Hep3Vector sistrip::StripCluster::_posSigma
protected

Cluster - position sigma in cm.

Definition at line 163 of file StripCluster.h.

SimTrackerHitMap sistrip::StripCluster::_simHitMap
protected

Map of SimTrkHits which contributed to the signal.

Definition at line 172 of file StripCluster.h.

short int sistrip::StripCluster::_size
protected

Cluster size.

Definition at line 167 of file StripCluster.h.

short int sistrip::StripCluster::_stripFront
protected

Strip ID of the front sensor.

Definition at line 169 of file StripCluster.h.

short int sistrip::StripCluster::_stripRear
protected

Strip ID of the rear sensor.

Definition at line 170 of file StripCluster.h.

double sistrip::StripCluster::_time
protected

Time when the cluster has been created by a particle.

Definition at line 166 of file StripCluster.h.


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