Belle II Software  release-06-01-15
BeamBackHit Class Reference

Class BeamBackHit - Stores hits from beam backgound simulation. More...

#include <BeamBackHit.h>

Inheritance diagram for BeamBackHit:
Collaboration diagram for BeamBackHit:

Public Member Functions

 BeamBackHit ()
 Default constructor.
 
 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. More...
 
TString getSubDetName () const
 Get the subdetector name in which the hit occured.
 
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.
 
int getPDG () const
 Get the lund code of the particle that hit the sensitive area.
 
int getTrackID () const
 the traci ID of the particle
 
const TVector3 & getPosition () const
 Get global position of the particle hit.
 
const TVector3 & getMomentum () const
 Get momentum of the particle hit.
 
double getTime () const
 Get the time at which the hit occured.
 
double getEnergy () const
 Get energy of the particle.
 
double getEnergyAtExit () const
 Get energy of the particle.
 
double getEnergyDeposit () const
 Get particle energy deposit in sensitive volume.
 
double getTrackLength () const
 the length of the track in the volume
 
double getNeutronWeight () const
 get the effective neutron weigth
 
void setSubDet (int subDet)
 Set the subdetector group in which the hit occured.
 
void setIdentifier (int iden)
 Set the subdetector component identifier.
 
void setPDG (int PDG)
 Set the lund code of the particle that hit the sensitive area.
 
void setTrackID (int trackID)
 set the trackID of the track
 
void setPosition (TVector3 position)
 Set global position of the particle hit.
 
void setMomentum (TVector3 momentum)
 Set momentum of the particle hit.
 
void setTime (double t)
 Set the time at which the hit occured.
 
void setEnergy (double E)
 Set energy of the particle.
 
void setEnergyAtExit (double E)
 Set energy of track at exit point of volume.
 
void setEnergyDeposit (double eDep)
 Set particle energy deposit in volume.
 
void setTrackLength (double l)
 set the length of the track in the volume
 
void setNeutronWeight (double w)
 set the neutron weight
 
void shiftInTime (double time)
 shift in time for beambkgmixer
 

Private Member Functions

 ClassDef (BeamBackHit, 1)
 the class title
 

Private Attributes

int m_subDet
 The name of the subdetector.
 
int m_identifier
 The identifier of subdetector component.
 
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
 
TVector3 m_momentum
 momentum of the hit
 
double m_t
 time at which the hit occured
 
double m_E_start
 energy of particle at entrance into the volume
 
double m_E_end
 energy of the particle when leaving the volume
 
double m_energyDeposit
 energy deposited in sensitive volume
 
double m_trackLength
 length of the track in the volume
 
double m_neutronWeight
 the effective neutron weight
 

Detailed Description

Class BeamBackHit - Stores hits from beam backgound simulation.

This is a class to store beam backgound hits hits in datastore. It is a general class for all subdetectors

Definition at line 28 of file BeamBackHit.h.

Constructor & Destructor Documentation

◆ BeamBackHit()

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 
)
inline

Full constructor.

Parameters
subDetthe ID of the individual subdetector
identhe ID of the particular volume
PDGthe PDG code of the particle
trackIDthe trackID of the track
positionthe position of the hit
momentumthe momentum of particle at the time of the hit
ttime at which the hit occured
E_startthe energy of the particle at the entrance to the volume
E_endthe energy of the particle at the exit of the volume
eDepthe energy deposited in the volume
trackLengththe length of the track in the volume
nWeightthe effective neutron weight

Definition at line 51 of file BeamBackHit.h.

53  :
54  m_subDet(subDet), m_identifier(iden), m_PDG(PDG), m_trackID(trackID),
55  m_position(position), m_momentum(momentum), m_t(t), m_E_start(E_start),
56  m_E_end(E_end), m_energyDeposit(eDep), m_trackLength(trackLength),
57  m_neutronWeight(nWeight)
58  {}
double m_energyDeposit
energy deposited in sensitive volume
Definition: BeamBackHit.h:162
double m_E_start
energy of particle at entrance into the volume
Definition: BeamBackHit.h:160
TVector3 m_momentum
momentum of the hit
Definition: BeamBackHit.h:158
int m_PDG
The PDG code of the particle that hit the sensitive area.
Definition: BeamBackHit.h:155
int m_trackID
the trackID of the hit
Definition: BeamBackHit.h:156
TVector3 m_position
global position of the hit
Definition: BeamBackHit.h:157
double m_t
time at which the hit occured
Definition: BeamBackHit.h:159
double m_E_end
energy of the particle when leaving the volume
Definition: BeamBackHit.h:161
double m_neutronWeight
the effective neutron weight
Definition: BeamBackHit.h:164
double m_trackLength
length of the track in the volume
Definition: BeamBackHit.h:163
int m_subDet
The name of the subdetector.
Definition: BeamBackHit.h:153
int m_identifier
The identifier of subdetector component.
Definition: BeamBackHit.h:154

The documentation for this class was generated from the following file: