Digitization cluster class. More...
#include <DigiCluster.h>
Public Member Functions | |
DigiCluster () | |
Constructor. More... | |
DigiCluster (short int charge, float time, float depE, CLHEP::Hep3Vector position, short int iLayer, short int iLadder, short int iSensor, int cellID, EVENT::MCParticle *mcPart, EVENT::SimTrackerHit *simHit) | |
Constructor setting charge, number of carriers, position, sensor ID and wafer ID. More... | |
~DigiCluster () | |
Destructor. More... | |
void | setPosX (double posX) |
Set cluster position X. More... | |
void | setPosY (double posY) |
Set cluster position Y. More... | |
void | setPosZ (double posZ) |
Set cluster position Z. More... | |
void | set3Position (const CLHEP::Hep3Vector &position) |
Set cluster position Three vector. More... | |
void | setVelX (double velX) |
Set cluster velocity X. More... | |
void | setVelY (double velY) |
Set cluster velocity Y. More... | |
void | setVelZ (double velZ) |
Set cluster velocity Z. More... | |
void | set3Velocity (const CLHEP::Hep3Vector &velocity) |
Set cluster velocity Three vector. More... | |
void | setTime (float time) |
Set time when the cluster has been generated by a particle. More... | |
void | setDriftTime (double driftTime) |
Set cluster total drift time. More... | |
void | setDiffSigma (double diffSigma) |
Set cluster total diffusion sigma. More... | |
void | setCharge (short int charge) |
Set cluster charge. More... | |
void | setNCarriers (float depEnergy) |
Set number of charge carriers. More... | |
void | setLayerID (short int iLayer) |
Set layer ID. More... | |
void | setLadderID (short int iLadder) |
Set ladder ID. More... | |
void | setSensorID (short int iSensor) |
Set sensor ID. More... | |
void | setCellID (int cellID) |
Set cell ID. More... | |
void | setMCParticle (EVENT::MCParticle *mcPart) |
Set pointer to MCParticle. More... | |
void | setSimTrackerHit (EVENT::SimTrackerHit *simHit) |
Set pointer to SimTrackerHit. 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 | getVelX () const |
Get cluster velocity X. More... | |
double | getVelY () const |
Get cluster velocity Y. More... | |
double | getVelZ () const |
Get cluster velocity Z. More... | |
CLHEP::Hep3Vector | get3Velocity () const |
Get cluster velocity Three vector. More... | |
float | getTime () const |
Get time when the cluster has been generated by a particle. More... | |
double | getDriftTime () const |
Get cluster total drift time. More... | |
double | getDiffSigma () const |
Get cluster total diffusion sigma. More... | |
short int | getCharge () const |
Get cluster charge. More... | |
int | getNCarriers () const |
Get number of charge carriers. More... | |
short int | getLayerID () const |
Get layer ID. More... | |
short int | getLadderID () const |
Get ladder ID. More... | |
short int | getSensorID () const |
Get sensor ID. More... | |
int | getCellID () const |
Get cell ID. More... | |
EVENT::MCParticle * | getMCParticle () const |
Get pointer to MCParticle which has created given cluster. More... | |
EVENT::SimTrackerHit * | getSimTrackerHit () const |
Get pointer to SimTrackerHit from which the given cluster has been created. More... | |
Protected Attributes | |
CLHEP::Hep3Vector | _position |
Cluster position in cm. More... | |
CLHEP::Hep3Vector | _velocity |
Cluster velocity in cm/s. More... | |
float | _time |
Time when the cluster has been generated by a particle in s. More... | |
double | _driftTime |
Cluster total drift time in s. More... | |
double | _diffSigma |
Cluster total diffusion sigma in cm. More... | |
short int | _charge |
Cluster charge (e cluster = -1; h cluster = +1) More... | |
int | _nCarriers |
Number of charge carriers, i.e. More... | |
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... | |
int | _iCell |
ID number of layer+ladder+sensor - encoded into one number. More... | |
EVENT::MCParticle * | _MCPart |
Monte Carlo particle which has created cluster signal. More... | |
EVENT::SimTrackerHit * | _simHit |
SimTrackerHit from which the cluster signal has been created. More... | |
Digitization cluster class.
One cluster represents a bunch of either electrons or holes created by ionizing particle, where the number of charge carriers is proportional to the deposited energy by the particle. Energy necessary for creation of one e-h pair is defined in header file PhysicalConstants.h
Definition at line 30 of file DigiCluster.h.
sistrip::DigiCluster::DigiCluster | ( | ) |
Constructor.
Definition at line 12 of file DigiCluster.cc.
|
inline |
Constructor setting charge, number of carriers, position, sensor ID and wafer ID.
Definition at line 38 of file DigiCluster.h.
sistrip::DigiCluster::~DigiCluster | ( | ) |
Destructor.
Definition at line 36 of file DigiCluster.cc.
|
inline |
Get cluster position Three vector.
Definition at line 121 of file DigiCluster.h.
|
inline |
Get cluster velocity Three vector.
Definition at line 133 of file DigiCluster.h.
|
inline |
Get cell ID.
Definition at line 160 of file DigiCluster.h.
|
inline |
Get cluster charge.
Definition at line 145 of file DigiCluster.h.
|
inline |
Get cluster total diffusion sigma.
Definition at line 142 of file DigiCluster.h.
|
inline |
Get cluster total drift time.
Definition at line 139 of file DigiCluster.h.
|
inline |
Get ladder ID.
Definition at line 154 of file DigiCluster.h.
|
inline |
Get layer ID.
Definition at line 151 of file DigiCluster.h.
|
inline |
Get pointer to MCParticle which has created given cluster.
Definition at line 163 of file DigiCluster.h.
|
inline |
Get number of charge carriers.
Definition at line 148 of file DigiCluster.h.
|
inline |
Get cluster position X.
Definition at line 112 of file DigiCluster.h.
|
inline |
Get cluster position Y.
Definition at line 115 of file DigiCluster.h.
|
inline |
Get cluster position Z.
Definition at line 118 of file DigiCluster.h.
|
inline |
Get sensor ID.
Definition at line 157 of file DigiCluster.h.
|
inline |
Get pointer to SimTrackerHit from which the given cluster has been created.
Definition at line 166 of file DigiCluster.h.
|
inline |
Get time when the cluster has been generated by a particle.
Definition at line 136 of file DigiCluster.h.
|
inline |
Get cluster velocity X.
Definition at line 124 of file DigiCluster.h.
|
inline |
Get cluster velocity Y.
Definition at line 127 of file DigiCluster.h.
|
inline |
Get cluster velocity Z.
Definition at line 130 of file DigiCluster.h.
void sistrip::DigiCluster::set3Position | ( | const CLHEP::Hep3Vector & | position | ) |
Set cluster position Three vector.
Definition at line 44 of file DigiCluster.cc.
void sistrip::DigiCluster::set3Velocity | ( | const CLHEP::Hep3Vector & | velocity | ) |
Set cluster velocity Three vector.
Definition at line 54 of file DigiCluster.cc.
|
inline |
Set cell ID.
Definition at line 100 of file DigiCluster.h.
|
inline |
Set cluster charge.
Definition at line 85 of file DigiCluster.h.
|
inline |
Set cluster total diffusion sigma.
Definition at line 82 of file DigiCluster.h.
|
inline |
Set cluster total drift time.
Definition at line 79 of file DigiCluster.h.
|
inline |
Set ladder ID.
Definition at line 94 of file DigiCluster.h.
|
inline |
Set layer ID.
Definition at line 91 of file DigiCluster.h.
|
inline |
Set pointer to MCParticle.
Definition at line 103 of file DigiCluster.h.
|
inline |
Set number of charge carriers.
Definition at line 88 of file DigiCluster.h.
|
inline |
Set cluster position X.
Definition at line 52 of file DigiCluster.h.
|
inline |
Set cluster position Y.
Definition at line 55 of file DigiCluster.h.
|
inline |
Set cluster position Z.
Definition at line 58 of file DigiCluster.h.
|
inline |
Set sensor ID.
Definition at line 97 of file DigiCluster.h.
|
inline |
Set pointer to SimTrackerHit.
Definition at line 106 of file DigiCluster.h.
|
inline |
Set time when the cluster has been generated by a particle.
Definition at line 76 of file DigiCluster.h.
|
inline |
Set cluster velocity X.
Definition at line 64 of file DigiCluster.h.
|
inline |
Set cluster velocity Y.
Definition at line 67 of file DigiCluster.h.
|
inline |
Set cluster velocity Z.
Definition at line 70 of file DigiCluster.h.
|
protected |
Cluster charge (e cluster = -1; h cluster = +1)
Definition at line 175 of file DigiCluster.h.
|
protected |
Cluster total diffusion sigma in cm.
Definition at line 174 of file DigiCluster.h.
|
protected |
Cluster total drift time in s.
Definition at line 173 of file DigiCluster.h.
|
protected |
ID number of layer+ladder+sensor - encoded into one number.
Definition at line 181 of file DigiCluster.h.
|
protected |
ID number of a ladder.
Definition at line 179 of file DigiCluster.h.
|
protected |
ID number of a layer.
Definition at line 178 of file DigiCluster.h.
|
protected |
ID number of a sensor.
Definition at line 180 of file DigiCluster.h.
|
protected |
Monte Carlo particle which has created cluster signal.
Definition at line 183 of file DigiCluster.h.
|
protected |
Number of charge carriers, i.e.
electrons, resp. holes
Definition at line 176 of file DigiCluster.h.
|
protected |
Cluster position in cm.
Definition at line 170 of file DigiCluster.h.
|
protected |
SimTrackerHit from which the cluster signal has been created.
Definition at line 184 of file DigiCluster.h.
|
protected |
Time when the cluster has been generated by a particle in s.
Definition at line 172 of file DigiCluster.h.
|
protected |
Cluster velocity in cm/s.
Definition at line 171 of file DigiCluster.h.