LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Energy deposition in the active material. More...
#include "SimEnergyDeposit.h"
Public Types | |
using | Length_t = float |
using | Point_t = geo::Point_t |
Public Member Functions | |
SimEnergyDeposit (int np=0, int ne=0, double sy=0, double e=0., geo::Point_t start={0., 0., 0.}, geo::Point_t end={0., 0., 0.}, double t0=0., double t1=0., int id=0, int pdg=0, int origTrackID=0) | |
int | NumPhotons () const |
int | NumFPhotons () const |
int | NumSPhotons () const |
int | NumElectrons () const |
double | ScintYieldRatio () const |
double | Energy () const |
geo::Point_t | Start () const |
geo::Point_t | End () const |
double | Time () const |
int | TrackID () const |
int | OrigTrackID () const |
void | setTrackID (int id) |
int | PdgCode () const |
geo::Length_t | StartX () const |
geo::Length_t | StartY () const |
geo::Length_t | StartZ () const |
double | StartT () const |
geo::Length_t | EndX () const |
geo::Length_t | EndY () const |
geo::Length_t | EndZ () const |
double | EndT () const |
geo::Point_t | MidPoint () const |
geo::Length_t | MidPointX () const |
geo::Length_t | MidPointY () const |
geo::Length_t | MidPointZ () const |
geo::Length_t | X () const |
geo::Length_t | Y () const |
geo::Length_t | Z () const |
double | T () const |
double | T0 () const |
double | T1 () const |
double | E () const |
geo::Length_t | StepLength () const |
bool | operator< (const SimEnergyDeposit &rhs) const |
Private Attributes | |
int | numPhotons |
of scintillation photons More... | |
int | numElectrons |
of ionization electrons More... | |
float | scintYieldRatio |
scintillation yield of LAr More... | |
float | edep |
energy deposition (MeV) More... | |
geo::Point_t | startPos |
positions in (cm) More... | |
geo::Point_t | endPos |
double | startTime |
(ns) More... | |
double | endTime |
(ns) More... | |
int | trackID |
simulation track id More... | |
int | pdgCode |
pdg code of particle to avoid lookup by particle type later More... | |
int | origTrackID |
complementary simulation track id, kept true to G4 even for shower secondaries/tertiaries etc. More... | |
Energy deposition in the active material.
The detector simulation (presently LArG4, which invokes Geant4) propagates particles through the detector in intervals of "steps". In Geant4, a step is normally defined by the smallest of the distance from the current position of the particle to the point where it enters a new volume boundary, the particle undergoes some "interesting" physics event, or the range of the particle due to its energy falls below a given limit.
In LArG4
, an additional limit is applied: We force the steps to be small (typically 1/10th the wire spacing in the planes of the TPC) so we can process the energy deposited by each step into electron clusters.
The SimEnergyDeposit class defines what Geant4 truth information for each step is passed to the ionization -> sim::SimChannel
conversion, and for the optical-photon -> sim::SimPhoton
conversion.
William Seligman, Nevis Labs, 10/12/2017
Definition at line 40 of file SimEnergyDeposit.h.
using sim::SimEnergyDeposit::Length_t = float |
Definition at line 43 of file SimEnergyDeposit.h.
Definition at line 44 of file SimEnergyDeposit.h.
|
inline |
Definition at line 58 of file SimEnergyDeposit.h.
|
inline |
|
inline |
Definition at line 97 of file SimEnergyDeposit.h.
References endPos.
Referenced by sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID(), and phot::PhotonLibraryPropagation::produce().
|
inline |
|
inline |
Definition at line 112 of file SimEnergyDeposit.h.
References endPos.
Referenced by larg4::ISCalcCorrelated::AngleToEFieldAtStep(), and larg4::ISCalcNESTLAr::CalcIonAndScint().
|
inline |
Definition at line 113 of file SimEnergyDeposit.h.
References endPos.
Referenced by larg4::ISCalcCorrelated::AngleToEFieldAtStep(), and larg4::ISCalcNESTLAr::CalcIonAndScint().
|
inline |
Definition at line 114 of file SimEnergyDeposit.h.
References endPos.
Referenced by larg4::ISCalcCorrelated::AngleToEFieldAtStep(), and larg4::ISCalcNESTLAr::CalcIonAndScint().
|
inline |
Definition at line 95 of file SimEnergyDeposit.h.
References edep.
Referenced by larg4::ISCalcSeparate::CalcIon(), larg4::ISCalcNESTLAr::CalcIonAndScint(), larg4::ISCalcSeparate::CalcIonAndScint(), larg4::ISCalcCorrelated::CalcIonAndScint(), larg4::ISCalcSeparate::CalcScint(), detsim::ISCalculationSeparate::CalculateIonization(), detsim::ISCalculationSeparate::CalculateIonizationAndScintillation(), detsim::ISCalculationSeparate::CalculateScintillation(), sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), and sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
Definition at line 118 of file SimEnergyDeposit.h.
References endPos, and startPos.
Referenced by larg4::ISCalcCorrelated::AngleToEFieldAtStep(), sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), larg4::ISCalcNESTLAr::EFieldAtStep(), larg4::ISCalcSeparate::EFieldAtStep(), larg4::ISCalcCorrelated::EFieldAtStep(), and phot::PhotonLibraryPropagation::produce().
|
inline |
Definition at line 124 of file SimEnergyDeposit.h.
References endPos, and startPos.
Referenced by detsim::ISCalculationSeparate::CalculateIonization(), and detsim::ISCalculationSeparate::EFieldAtStep().
|
inline |
Definition at line 125 of file SimEnergyDeposit.h.
References endPos, and startPos.
Referenced by detsim::ISCalculationSeparate::CalculateIonization(), and detsim::ISCalculationSeparate::EFieldAtStep().
|
inline |
Definition at line 126 of file SimEnergyDeposit.h.
References endPos, and startPos.
Referenced by detsim::ISCalculationSeparate::CalculateIonization(), and detsim::ISCalculationSeparate::EFieldAtStep().
|
inline |
Definition at line 93 of file SimEnergyDeposit.h.
References numElectrons.
Referenced by sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), and sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
Definition at line 91 of file SimEnergyDeposit.h.
References numPhotons, and scintYieldRatio.
Referenced by sim::DumpSimEnergyDeposits::dumpEnergyDeposit().
|
inline |
Definition at line 90 of file SimEnergyDeposit.h.
References numPhotons.
Referenced by sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), and sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
Definition at line 92 of file SimEnergyDeposit.h.
References numPhotons, and scintYieldRatio.
Referenced by sim::DumpSimEnergyDeposits::dumpEnergyDeposit().
|
inline |
Definition at line 147 of file SimEnergyDeposit.h.
References edep, startPos, startTime, and trackID.
|
inline |
Definition at line 100 of file SimEnergyDeposit.h.
References origTrackID.
Referenced by sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
Definition at line 102 of file SimEnergyDeposit.h.
References pdgCode.
Referenced by larg4::ISCalcNESTLAr::CalcIonAndScint(), larg4::ISCalcCorrelated::CalcIonAndScint(), detsim::ISCalculationSeparate::CalculateScintillation(), sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), larg4::ISCalc::GetScintYield(), larg4::ISCalc::GetScintYieldRatio(), and sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
Definition at line 94 of file SimEnergyDeposit.h.
References scintYieldRatio.
Referenced by sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
|
inline |
Definition at line 96 of file SimEnergyDeposit.h.
References startPos.
Referenced by sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), and sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
|
inline |
Definition at line 108 of file SimEnergyDeposit.h.
References startPos.
Referenced by larg4::ISCalcCorrelated::AngleToEFieldAtStep(), and larg4::ISCalcNESTLAr::CalcIonAndScint().
|
inline |
Definition at line 109 of file SimEnergyDeposit.h.
References startPos.
Referenced by larg4::ISCalcCorrelated::AngleToEFieldAtStep(), and larg4::ISCalcNESTLAr::CalcIonAndScint().
|
inline |
Definition at line 110 of file SimEnergyDeposit.h.
References startPos.
Referenced by larg4::ISCalcCorrelated::AngleToEFieldAtStep(), and larg4::ISCalcNESTLAr::CalcIonAndScint().
|
inline |
Definition at line 138 of file SimEnergyDeposit.h.
References endPos, and startPos.
Referenced by larg4::ISCalcSeparate::CalcIon(), larg4::ISCalcCorrelated::CalcIonAndScint(), detsim::ISCalculationSeparate::CalculateIonization(), and sim::DumpSimEnergyDeposits::dumpEnergyDeposit().
|
inline |
|
inline |
Definition at line 131 of file SimEnergyDeposit.h.
References startTime.
Referenced by sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID(), and phot::PhotonLibraryPropagation::produce().
|
inline |
Definition at line 132 of file SimEnergyDeposit.h.
References endTime.
Referenced by sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
Definition at line 98 of file SimEnergyDeposit.h.
References endTime, and startTime.
Referenced by sim::DumpSimEnergyDeposits::dumpEnergyDeposit().
|
inline |
Definition at line 99 of file SimEnergyDeposit.h.
References trackID.
Referenced by sim::DumpSimEnergyDeposits::dumpEnergyDeposit(), and sim::MergeSimSourcesUtility::offsetSimEnergyDepositTrackID().
|
inline |
Definition at line 127 of file SimEnergyDeposit.h.
References endPos, and startPos.
|
inline |
Definition at line 128 of file SimEnergyDeposit.h.
References endPos, and startPos.
|
inline |
Definition at line 129 of file SimEnergyDeposit.h.
References endPos, and startPos.
|
private |
energy deposition (MeV)
Definition at line 183 of file SimEnergyDeposit.h.
Referenced by E(), Energy(), and operator<().
|
private |
Definition at line 185 of file SimEnergyDeposit.h.
Referenced by End(), EndX(), EndY(), EndZ(), MidPoint(), MidPointX(), MidPointY(), MidPointZ(), StepLength(), X(), Y(), and Z().
|
private |
|
private |
of ionization electrons
Definition at line 181 of file SimEnergyDeposit.h.
Referenced by NumElectrons().
|
private |
of scintillation photons
Definition at line 178 of file SimEnergyDeposit.h.
Referenced by NumFPhotons(), NumPhotons(), and NumSPhotons().
|
private |
complementary simulation track id, kept true to G4 even for shower secondaries/tertiaries etc.
Definition at line 191 of file SimEnergyDeposit.h.
Referenced by OrigTrackID().
|
private |
pdg code of particle to avoid lookup by particle type later
Definition at line 189 of file SimEnergyDeposit.h.
Referenced by PdgCode().
|
private |
scintillation yield of LAr
Definition at line 182 of file SimEnergyDeposit.h.
Referenced by NumFPhotons(), NumSPhotons(), and ScintYieldRatio().
|
private |
positions in (cm)
Definition at line 184 of file SimEnergyDeposit.h.
Referenced by MidPoint(), MidPointX(), MidPointY(), MidPointZ(), operator<(), Start(), StartX(), StartY(), StartZ(), StepLength(), X(), Y(), and Z().
|
private |
(ns)
Definition at line 186 of file SimEnergyDeposit.h.
Referenced by operator<(), StartT(), T(), T0(), and Time().
|
private |
simulation track id
Definition at line 188 of file SimEnergyDeposit.h.
Referenced by operator<(), setTrackID(), and TrackID().