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