12#include <simulation/dataobjects/SimHitBase.h>
15#include <Math/Vector3D.h>
34 DosiHit():
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, 0),
43 ROOT::Math::XYZVector Momentum,
44 ROOT::Math::XYZVector Position,
ClassDosiHit - Geant4 ulated hit for the Dosi crystal in beast.
ROOT::Math::XYZVector m_Position
Position.
int getPDGCode() const
Get Particle PDG (can be one of secondaries)
void setEnergyDep(double Edep)
Set Deposit energy.
int getTrackId() const
Get Track ID.
int getCellId() const
Get Cell ID.
double getFlightTime() const
Get Flight time from IP.
void setPDGCode(int Pdg)
Set Particle PDG (can be one of secondaries)
DosiHit()
default constructor for ROOT
void setPosition(ROOT::Math::XYZVector Position)
Set Position.
double getEnergyRecDep() const
Get Deposit energy folded by resolution.
void setCellId(int CellId)
Set Cell ID.
double getEnergyDep() const
Get Deposit energy.
float m_FlightTime
Flight time from IP.
float m_Edep
Deposit energy.
DosiHit(int CellId, int TrackId, int Pdg, float FlightTime, float Edep, ROOT::Math::XYZVector Momentum, ROOT::Math::XYZVector Position, float Erecdep)
Useful Constructor.
void setPosIn(ROOT::Math::XYZVector Position)
Set Position.
void setMomentum(ROOT::Math::XYZVector Momentum)
Set Momentum.
float m_Erecdep
Deposit energy reconstructed.
void setTrackId(int TrackId)
Set Track ID.
ROOT::Math::XYZVector getPosIn() const
Get Position.
void setFlightTime(double FlightTime)
Set Flight time from IP.
ROOT::Math::XYZVector getMomentum() const
Get Momentum.
ROOT::Math::XYZVector getPosition() const
Get Position.
void shiftInTime(float delta) override
Shift the Hit in time (needed for beam background mixing)
ROOT::Math::XYZVector m_Momentum
Momentum.
int m_Pdg
Particle PDG (can be one of secondaries)
Class SimHitBase - A common base for subdetector SimHits.
Abstract base class for different kinds of events.