 |
Belle II Software
release-05-02-19
|
14 #include <simulation/dataobjects/SimHitBase.h>
33 class TPCSimHit :
public SimHitBase {
36 TPCSimHit():
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,
void shiftInTime(float delta)
Shift the SimHit in time (needed for beam background mixing)
void setFlag(int flag)
Set flag.
void setPosIn(TVector3 Position)
Set Position.
void setMomentum(TVector3 Momentum)
Set Momentum.
int getTrackId() const
Get Track ID.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Class SimHitBase - A common base for subdetector SimHits.
TVector3 m_Momentum
Momentum.
TPCSimHit()
default constructor for ROOT
TVector3 getMomentum() const
Get Momentum.
void setTrackId(int TrackId)
Set Track ID.
double getFlightTime() const
Get Flight time from IP.
int getCellId() const
Get Cell ID.
float m_Edep
Deposit energy.
Abstract base class for different kinds of events.
void setPosition(TVector3 Position)
Set Position.
int m_Pdg
Particle PDG (can be one of secondaries)
TVector3 getPosIn() const
Get Position.
void setFlightTime(double FlightTime)
Set Flight time from IP.
void setPDGCode(int Pdg)
Set Particle PDG (can be one of secondaries)
int getFlag() const
Get flag.
void setEnergyDep(double Edep)
Set Deposit energy.
TVector3 m_Position
Position.
int getPDGCode() const
Get Particle PDG (can be one of secondaries)
ClassTPCSimHit - Geant4 simulated hit for the TPC crystal in beast.
double getEnergyDep() const
Get Deposit energy.
float m_FlightTime
Flight time from IP.
TVector3 getPosition() const
Get Position.
void setCellId(int CellId)
Set Cell ID.