51 BeamBackHit(
int subDet,
int iden,
int PDG,
int trackID, TVector3 position,
52 TVector3 momentum,
double t,
double E_start,
double E_end,
53 double eDep,
double trackLength,
double nWeight):
68 case 4:
return "ARICH";
71 case 7:
return "EKLM";
72 case 8:
return "BKLM";
Class BeamBackHit - Stores hits from beam backgound simulation.
double m_energyDeposit
energy deposited in sensitive volume
double m_E_start
energy of particle at entrance into the volume
TVector3 m_momentum
momentum of the hit
BeamBackHit(int subDet, int iden, int PDG, int trackID, TVector3 position, TVector3 momentum, double t, double E_start, double E_end, double eDep, double trackLength, double nWeight)
Full constructor.
void shiftInTime(double time)
shift in time for beambkgmixer
int m_PDG
The PDG code of the particle that hit the sensitive area.
int m_trackID
the trackID of the hit
TVector3 m_position
global position of the hit
TString getSubDetName() const
Get the subdetector name in which the hit occured.
double m_t
time at which the hit occured
double getNeutronWeight() const
get the effective neutron weigth
const TVector3 & getPosition() const
Get global position of the particle hit.
void setPDG(int PDG)
Set the lund code of the particle that hit the sensitive area.
double getEnergy() const
Get energy of the particle.
void setTrackID(int trackID)
set the trackID of the track
ClassDef(BeamBackHit, 1)
the class title
void setPosition(TVector3 position)
Set global position of the particle hit.
const TVector3 & getMomentum() const
Get momentum of the particle hit.
double m_E_end
energy of the particle when leaving the volume
int getTrackID() const
the traci ID of the particle
double m_neutronWeight
the effective neutron weight
double getEnergyDeposit() const
Get particle energy deposit in sensitive volume.
void setMomentum(TVector3 momentum)
Set momentum of the particle hit.
void setEnergy(double E)
Set energy of the particle.
double getEnergyAtExit() const
Get energy of the particle.
double m_trackLength
length of the track in the volume
int getPDG() const
Get the lund code of the particle that hit the sensitive area.
double getTrackLength() const
the length of the track in the volume
void setEnergyDeposit(double eDep)
Set particle energy deposit in volume.
void setSubDet(int subDet)
Set the subdetector group in which the hit occured.
void setTime(double t)
Set the time at which the hit occured.
int m_subDet
The name of the subdetector.
void setNeutronWeight(double w)
set the neutron weight
void setIdentifier(int iden)
Set the subdetector component identifier.
BeamBackHit()
Default constructor.
int m_identifier
The identifier of subdetector component.
void setEnergyAtExit(double E)
Set energy of track at exit point of volume.
int getIdentifier() const
Get the identifier of subdetector component in which hit occured.
int getSubDet() const
Det the index of subdetector in which hit occured.
void setTrackLength(double l)
set the length of the track in the volume
double getTime() const
Get the time at which the hit occured.
Abstract base class for different kinds of events.