![]() |
Belle II Software
release-08-02-05
|
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, 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. 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 | |
| ROOT::Math::XYZVector | getPosition () const |
| Get global position of the particle hit. | |
| ROOT::Math::XYZVector | 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 (ROOT::Math::XYZVector position) |
| Set global position of the particle hit. | |
| void | setMomentum (ROOT::Math::XYZVector 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, 2) | |
| Class version. | |
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. | |
| float | m_positionX |
| Global position of the hit (X coordinate). | |
| float | m_positionY |
| Global position of the hit (Y coordinate). | |
| float | m_positionZ |
| Global position of the hit (Z coordinate). | |
| float | m_momentumX |
| Momentum of the hit (X coordinate). | |
| float | m_momentumY |
| Momentum of the hit (Y coordinate). | |
| float | m_momentumZ |
| Momentum of the hit (Z coordinate). | |
| float | m_t |
| Time at which the hit occured. | |
| float | m_E_start |
| Energy of particle at entrance into the volume. | |
| float | m_E_end |
| Energy of the particle when leaving the volume. | |
| float | m_energyDeposit |
| Energy deposited in sensitive volume. | |
| float | m_trackLength |
| Length of the track in the volume. | |
| float | 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 52 of file BeamBackHit.h.