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