Belle II Software development
|
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. | |
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 |
Default constructor.
Definition at line 32 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.
|
inline |
|
inline |
|
inline |
|
inline |
Get the identifier of subdetector component in which hit occured.
Definition at line 83 of file BeamBackHit.h.
|
inline |
Get momentum of the particle hit.
Definition at line 101 of file BeamBackHit.h.
|
inline |
|
inline |
Get the lund code of the particle that hit the sensitive area.
Definition at line 89 of file BeamBackHit.h.
|
inline |
Get global position of the particle hit.
Definition at line 95 of file BeamBackHit.h.
|
inline |
|
inline |
Get the subdetector name in which the hit occured.
Definition at line 66 of file BeamBackHit.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set energy of track at exit point of volume.
Definition at line 159 of file BeamBackHit.h.
|
inline |
Set particle energy deposit in volume.
Definition at line 162 of file BeamBackHit.h.
|
inline |
Set the subdetector component identifier.
Definition at line 128 of file BeamBackHit.h.
|
inline |
Set momentum of the particle hit.
Definition at line 145 of file BeamBackHit.h.
|
inline |
|
inline |
Set the lund code of the particle that hit the sensitive area.
Definition at line 131 of file BeamBackHit.h.
|
inline |
Set global position of the particle hit.
Definition at line 137 of file BeamBackHit.h.
|
inline |
Set the subdetector group in which the hit occured.
Definition at line 125 of file BeamBackHit.h.
|
inline |
Set the time at which the hit occured.
Definition at line 153 of file BeamBackHit.h.
|
inline |
set the trackID of the track
Definition at line 134 of file BeamBackHit.h.
|
inline |
set the length of the track in the volume
Definition at line 165 of file BeamBackHit.h.
|
inline |
|
private |
Energy of the particle when leaving the volume.
Definition at line 212 of file BeamBackHit.h.
|
private |
Energy of particle at entrance into the volume.
Definition at line 209 of file BeamBackHit.h.
|
private |
Energy deposited in sensitive volume.
Definition at line 215 of file BeamBackHit.h.
|
private |
The identifier of subdetector component.
Definition at line 179 of file BeamBackHit.h.
|
private |
Momentum of the hit (X coordinate).
Definition at line 197 of file BeamBackHit.h.
|
private |
Momentum of the hit (Y coordinate).
Definition at line 200 of file BeamBackHit.h.
|
private |
Momentum of the hit (Z coordinate).
Definition at line 203 of file BeamBackHit.h.
|
private |
The effective neutron weight.
Definition at line 221 of file BeamBackHit.h.
|
private |
The PDG code of the particle that hit the sensitive area.
Definition at line 182 of file BeamBackHit.h.
|
private |
Global position of the hit (X coordinate).
Definition at line 188 of file BeamBackHit.h.
|
private |
Global position of the hit (Y coordinate).
Definition at line 191 of file BeamBackHit.h.
|
private |
Global position of the hit (Z coordinate).
Definition at line 194 of file BeamBackHit.h.
|
private |
The name of the subdetector.
Definition at line 176 of file BeamBackHit.h.
|
private |
Time at which the hit occured.
Definition at line 206 of file BeamBackHit.h.
|
private |
The trackID of the hit.
Definition at line 185 of file BeamBackHit.h.
|
private |
Length of the track in the volume.
Definition at line 218 of file BeamBackHit.h.