![]() |
Belle II Software
release-06-02-00
|
Class BeamBackHit - Stores hits from beam backgound simulation. More...
#include <BeamBackHit.h>


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 | |
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.
|
inline |
Full constructor.
| subDet | the ID of the individual subdetector |
| iden | the ID of the particular volume |
| PDG | the PDG code of the particle |
| trackID | the trackID of the track |
| position | the position of the hit |
| momentum | the momentum of particle at the time of the hit |
| t | time at which the hit occured |
| E_start | the energy of the particle at the entrance to the volume |
| E_end | the energy of the particle at the exit of the volume |
| eDep | the energy deposited in the volume |
| trackLength | the length of the track in the volume |
| nWeight | the effective neutron weight |
Definition at line 51 of file BeamBackHit.h.