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 SimTrackerHitMap & | getSimHitMap () 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... | |
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.
Definition at line 24 of file StripCluster.h.
|
inline |
Constructor.
Definition at line 28 of file StripCluster.h.
|
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.
|
inline |
Get cluster position Three vector.
Definition at line 120 of file StripCluster.h.
|
inline |
Get cluster position Three vector.
Definition at line 132 of file StripCluster.h.
|
inline |
Get cluster charge.
Definition at line 135 of file StripCluster.h.
|
inline |
Get cluster ladder ID.
Definition at line 105 of file StripCluster.h.
|
inline |
Get cluster layer ID.
Definition at line 102 of file StripCluster.h.
|
inline |
Get cluster - position sigma X.
Definition at line 123 of file StripCluster.h.
|
inline |
Get cluster - position sigma Y.
Definition at line 126 of file StripCluster.h.
|
inline |
Get cluster - position sigma Z.
Definition at line 129 of file StripCluster.h.
|
inline |
Get cluster position X.
Definition at line 111 of file StripCluster.h.
|
inline |
Get cluster position Y.
Definition at line 114 of file StripCluster.h.
|
inline |
Get cluster position Z.
Definition at line 117 of file StripCluster.h.
|
inline |
Get cluster sensor ID.
Definition at line 108 of file StripCluster.h.
|
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.
|
inline |
Get cluster size.
Definition at line 141 of file StripCluster.h.
|
inline |
Get front strip ID.
Definition at line 150 of file StripCluster.h.
|
inline |
Get rear strip ID.
Definition at line 153 of file StripCluster.h.
|
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.
|
inline |
Set cluster charge.
Definition at line 82 of file StripCluster.h.
|
inline |
Set cluster ladder ID.
Definition at line 52 of file StripCluster.h.
|
inline |
Set cluster layer ID.
Definition at line 49 of file StripCluster.h.
|
inline |
Set cluster - position sigma X in cm.
Definition at line 70 of file StripCluster.h.
|
inline |
Set cluster - position sigma Y in cm.
Definition at line 73 of file StripCluster.h.
|
inline |
Set cluster - position sigma Z in cm.
Definition at line 76 of file StripCluster.h.
|
inline |
Set cluster position X in cm.
Definition at line 58 of file StripCluster.h.
|
inline |
Set cluster position Y in cm.
Definition at line 61 of file StripCluster.h.
|
inline |
Set cluster position Z in cm.
Definition at line 64 of file StripCluster.h.
|
inline |
Set cluster sensor ID.
Definition at line 55 of file StripCluster.h.
|
inline |
Set cluster size (how many strips contributed)
Definition at line 88 of file StripCluster.h.
|
inline |
Set front strip ID.
Definition at line 94 of file StripCluster.h.
|
inline |
Set rear strip ID.
Definition at line 97 of file StripCluster.h.
|
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.
|
protected |
Total charge deposited.
Definition at line 165 of file StripCluster.h.
|
protected |
ID number of a ladder.
Definition at line 159 of file StripCluster.h.
|
protected |
ID number of a layer.
Definition at line 158 of file StripCluster.h.
|
protected |
ID number of a sensor.
Definition at line 160 of file StripCluster.h.
|
protected |
Cluster position in cm.
Definition at line 162 of file StripCluster.h.
|
protected |
Cluster - position sigma in cm.
Definition at line 163 of file StripCluster.h.
|
protected |
Map of SimTrkHits which contributed to the signal.
Definition at line 172 of file StripCluster.h.
|
protected |
Cluster size.
Definition at line 167 of file StripCluster.h.
|
protected |
Strip ID of the front sensor.
Definition at line 169 of file StripCluster.h.
|
protected |
Strip ID of the rear sensor.
Definition at line 170 of file StripCluster.h.
|
protected |
Time when the cluster has been created by a particle.
Definition at line 166 of file StripCluster.h.