2 #define STRIPCLUSTER_H 1
7 #include <CLHEP/Vector/ThreeVector.h>
28 StripCluster(
short int layerID ,
short int ladderID ,
short int sensorID,
29 CLHEP::Hep3Vector position, CLHEP::Hep3Vector posSigma,
30 double charge,
short int size) :
35 StripCluster(
short int layerID ,
short int ladderID ,
short int sensorID,
36 CLHEP::Hep3Vector position, CLHEP::Hep3Vector posSigma,
37 double charge,
short int size,
38 short int stripFront,
short int stripRear) :
180 #endif // STRIPCLUSTER_H
double getTime() const
Get time when the cluster has been created by a particle.
void set3Position(const CLHEP::Hep3Vector &position)
Set cluster position Three vector in cm.
void updateSimHitMap(SimTrackerHitMap simHitMap)
Update MC truth information about SimTrackerHits, which contributed.
void setLadderID(short int iLadder)
Set cluster ladder ID.
short int getSensorID() const
Get cluster sensor ID.
void setCharge(double charge)
Set cluster charge.
void setPosZ(double posZ)
Set cluster position Z in cm.
This class holds all information about strip clusters, where the strip cluster is defined as a bunch ...
~StripCluster()
Destructor.
double getPosSigmaY() const
Get cluster - position sigma Y.
CLHEP::Hep3Vector _position
Cluster position in cm.
double _time
Time when the cluster has been created by a particle.
std::map< EVENT::SimTrackerHit *, float > SimTrackerHitMap
int getStripFront() const
Get front strip ID.
void setLayerID(short int iLayer)
Set cluster layer ID.
double _charge
Total charge deposited.
short int _stripFront
Strip ID of the front sensor.
StripCluster(short int layerID, short int ladderID, short int sensorID, CLHEP::Hep3Vector position, CLHEP::Hep3Vector posSigma, double charge, short int size)
Constructor.
const SimTrackerHitMap & getSimHitMap() const
Get MC truth information about SimTrackerHits, which contributed.
CLHEP::Hep3Vector get3PosSigma() const
Get cluster position Three vector.
void setPosY(double posY)
Set cluster position Y in cm.
double getPosY() const
Get cluster position Y.
double getPosSigmaZ() const
Get cluster - position sigma Z.
short int getLadderID() const
Get cluster ladder ID.
short int _size
Cluster size.
void setPosSigmaX(double posSigmaX)
Set cluster - position sigma X in cm.
void setTime(double time)
Set time when the cluster has been created by a particle in s.
SimTrackerHitMap _simHitMap
Map of SimTrkHits which contributed to the signal.
double getCharge() const
Get cluster charge.
void setStripFront(const int &stripId)
Set front strip ID.
short int _iSensor
ID number of a sensor.
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.
short int getSize() const
Get cluster size.
short int _stripRear
Strip ID of the rear sensor.
float getSimHitWeightSum()
Get MC truth information - total sum of individual weights.
void setStripRear(const int &stripId)
Set rear strip ID.
CLHEP::Hep3Vector _posSigma
Cluster - position sigma in cm.
void setPosX(double posX)
Set cluster position X in cm.
int getStripRear() const
Get rear strip ID.
short int getLayerID() const
Get cluster layer ID.
double getPosX() const
Get cluster position X.
void setSize(short int size)
Set cluster size (how many strips contributed)
void setPosSigmaZ(double posSigmaZ)
Set cluster - position sigma Z in cm.
double getPosSigmaX() const
Get cluster - position sigma X.
short int _iLadder
ID number of a ladder.
double getPosZ() const
Get cluster position Z.
void setSensorID(short int iSensor)
Set cluster sensor ID.
void set3PosSigma(const CLHEP::Hep3Vector &position)
Set cluster position Three vector in cm.
short int _iLayer
ID number of a layer.
void setPosSigmaY(double posSigmaY)
Set cluster - position sigma Y in cm.
CLHEP::Hep3Vector get3Position() const
Get cluster position Three vector.