11#include <Math/Vector3D.h>
53 const ROOT::Math::XYZVector& position,
54 const ROOT::Math::XYZVector& momentum,
55 double t,
double E_start,
double E_end,
double eDep,
56 double trackLength,
double nWeight):
73 case 4:
return "ARICH";
76 case 7:
return "EKLM";
77 case 8:
return "BKLM";
Class BeamBackHit - Stores hits from beam backgound simulation.
void setMomentum(ROOT::Math::XYZVector momentum)
Set momentum of the particle hit.
float m_t
Time at which the hit occured.
float m_E_end
Energy of the particle when leaving the volume.
float m_energyDeposit
Energy deposited in sensitive volume.
float m_momentumZ
Momentum of the hit (Z coordinate).
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.
TString getSubDetName() const
Get the subdetector name in which the hit occured.
float m_trackLength
Length of the track in the volume.
BeamBackHit(int subDet, int iden, int PDG, int trackID, const ROOT::Math::XYZVector &position, const ROOT::Math::XYZVector &momentum, double t, double E_start, double E_end, double eDep, double trackLength, double nWeight)
Full constructor.
double getNeutronWeight() const
get the effective neutron weigth
void setPDG(int PDG)
Set the lund code of the particle that hit the sensitive area.
double getEnergy() const
Get energy of the particle.
float m_neutronWeight
The effective neutron weight.
void setTrackID(int trackID)
set the trackID of the track
float m_positionY
Global position of the hit (Y coordinate).
ClassDef(BeamBackHit, 2)
Class version.
void setPosition(ROOT::Math::XYZVector position)
Set global position of the particle hit.
float m_positionZ
Global position of the hit (Z coordinate).
int getTrackID() const
the traci ID of the particle
double getEnergyDeposit() const
Get particle energy deposit in sensitive volume.
void setEnergy(double E)
Set energy of the particle.
double getEnergyAtExit() const
Get energy of the particle.
float m_E_start
Energy of particle at entrance into the volume.
int getPDG() const
Get the lund code of the particle that hit the sensitive area.
float m_momentumY
Momentum of the hit (Y coordinate).
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.
ROOT::Math::XYZVector getMomentum() const
Get momentum of the particle hit.
ROOT::Math::XYZVector getPosition() const
Get global position of the particle hit.
void setTime(double t)
Set the time at which the hit occured.
float m_positionX
Global position of the hit (X coordinate).
int m_subDet
The name of the subdetector.
void setNeutronWeight(double w)
set the neutron weight
float m_momentumX
Momentum of the hit (X coordinate).
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.