 |
Belle II Software
release-05-01-25
|
14 #include <simulation/dataobjects/SimHitBase.h>
33 class CsiHit_v2 :
public SimHitBase {
36 CsiHit_v2():
SimHitBase(),
m_CellId(0),
m_TrackId(0),
m_Pdg(0),
m_FlightTime(0),
m_Edep(0),
m_Momentum(0, 0, 0),
m_Position(0, 0,
double getFlightTime() const
Get Flight time from IP.
TVector3 getPosIn() const
Get Position.
TVector3 getPosition() const
Get Position.
TVector3 getMomentum() const
Get Momentum.
double getEnergyRecDep() const
Get Deposit energy folded by resolution.
CsiHit_v2()
default constructor for ROOT
void setTrackId(int TrackId)
Set Track ID.
ClassCsiHit_v2 - Geant4 simulated hits in CsI crystals in BEAST.
void setPDGCode(int Pdg)
Set Particle PDG (can be one of secondaries)
void setPosition(TVector3 Position)
Set Position.
Class SimHitBase - A common base for subdetector SimHits.
TVector3 m_Momentum
Momentum.
float m_Erecdep
Deposit energy reconstructed.
void setMomentum(TVector3 Momentum)
Set Momentum.
int getCellId() const
Get Cell ID.
void setEnergyDep(double Edep)
Set Deposit energy.
void shiftInTime(float delta) override
Shift the SimHit in time (needed for beam background mixing)
void setCellId(int CellId)
Set Cell ID.
Abstract base class for different kinds of events.
int m_Pdg
Particle PDG (can be one of secondaries)
float m_FlightTime
Flight time from IP.
TVector3 m_Position
Position.
int getPDGCode() const
Get Particle PDG (can be one of secondaries)
int getTrackId() const
Get Track ID.
void setPosIn(TVector3 Position)
Set Position.
void setFlightTime(double FlightTime)
Set Flight time from IP.
double getEnergyDep() const
Get Deposit energy.
float m_Edep
Deposit energy.