LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "IonizationAndScintillation.h"
Public Member Functions | |
void | Reset (const G4Step *step) |
double | EnergyDeposit () const |
double | VisibleEnergyDeposit () const |
double | NumberIonizationElectrons () const |
double | NumberScintillationPhotons () const |
double | StepSizeLimit () const |
Static Public Member Functions | |
static IonizationAndScintillation * | CreateInstance (detinfo::DetectorPropertiesData const &detProp, CLHEP::HepRandomEngine &engine) |
static IonizationAndScintillation * | Instance () |
Private Member Functions | |
IonizationAndScintillation (detinfo::DetectorPropertiesData const &detProp, CLHEP::HepRandomEngine &engine) | |
Private Attributes | |
std::unique_ptr< larg4::ISCalculation > | fISCalc |
std::string | fISCalculator |
name of calculator to use, NEST or Separate More... | |
G4Step const * | fStep {nullptr} |
pointer to the current G4 step More... | |
int | fStepNumber {-1} |
last StepNumber checked More... | |
int | fTrkID {-1} |
last TrkID checked More... | |
TH1F * | fElectronsPerStep {nullptr} |
histogram of electrons per step More... | |
TH1F * | fStepSize {nullptr} |
histogram of the step sizes More... | |
TH1F * | fPhotonsPerStep {nullptr} |
histogram of the photons per step More... | |
TH1F * | fEnergyPerStep {nullptr} |
histogram of the energy deposited per step More... | |
TH1F * | fElectronsPerLength |
histogram of electrons per cm More... | |
TH1F * | fPhotonsPerLength |
histogram of photons per cm More... | |
TH1F * | fElectronsPerEDep |
histogram of electrons per MeV deposited More... | |
TH1F * | fPhotonsPerEDep |
histogram of photons per MeV deposited More... | |
TH2F * | fElectronsVsPhotons {nullptr} |
histogram of electrons vs photons per step More... | |
CLHEP::HepRandomEngine & | fEngine |
random engine (needed for NEST) More... | |
Definition at line 31 of file IonizationAndScintillation.h.
|
private |
Definition at line 52 of file IonizationAndScintillation.cxx.
References fElectronsPerEDep, fElectronsPerLength, fElectronsPerStep, fElectronsVsPhotons, fEnergyPerStep, fEngine, fISCalc, fISCalculator, fPhotonsPerEDep, fPhotonsPerLength, fPhotonsPerStep, fStepNumber, fStepSize, fTrkID, and sim::LArG4Parameters::IonAndScintCalculator().
Referenced by CreateInstance().
|
static |
Definition at line 34 of file IonizationAndScintillation.cxx.
References larg4::gInstance, and IonizationAndScintillation().
Referenced by larg4::LArG4::beginJob().
|
inline |
Definition at line 42 of file IonizationAndScintillation.h.
Referenced by larg4::LArVoxelReadout::DriftIonizationElectrons().
|
static |
Definition at line 43 of file IonizationAndScintillation.cxx.
References larg4::gInstance.
Referenced by larg4::LArVoxelReadout::DriftIonizationElectrons(), larg4::LArVoxelReadoutGeometry::LArVoxelReadoutGeometry(), larg4::OpFastScintillation::PostStepDoIt(), larg4::LArVoxelReadout::ProcessHits(), larg4::OpFastScintillation::RecordPhotonsProduced(), and larg4::IonizationAndScintillationAction::SteppingAction().
|
inline |
Definition at line 44 of file IonizationAndScintillation.h.
Referenced by larg4::LArVoxelReadout::DriftIonizationElectrons().
|
inline |
Definition at line 45 of file IonizationAndScintillation.h.
Referenced by larg4::OpFastScintillation::PostStepDoIt().
void larg4::IonizationAndScintillation::Reset | ( | const G4Step * | step | ) |
Definition at line 96 of file IonizationAndScintillation.cxx.
References fElectronsPerEDep, fElectronsPerLength, fElectronsPerStep, fElectronsVsPhotons, fEnergyPerStep, fISCalc, fPhotonsPerEDep, fPhotonsPerLength, fPhotonsPerStep, fStep, fStepNumber, fStepSize, fTrkID, and MF_LOG_DEBUG.
Referenced by larg4::OpFastScintillation::PostStepDoIt(), larg4::LArVoxelReadout::ProcessHits(), and larg4::IonizationAndScintillationAction::SteppingAction().
|
inline |
Definition at line 46 of file IonizationAndScintillation.h.
Referenced by larg4::LArVoxelReadoutGeometry::LArVoxelReadoutGeometry().
|
inline |
Definition at line 43 of file IonizationAndScintillation.h.
Referenced by larg4::OpFastScintillation::RecordPhotonsProduced().
|
private |
histogram of electrons per MeV deposited
Definition at line 66 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
histogram of electrons per cm
Definition at line 64 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
histogram of electrons per step
Definition at line 60 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
histogram of electrons vs photons per step
Definition at line 68 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
histogram of the energy deposited per step
Definition at line 63 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
random engine (needed for NEST)
Definition at line 69 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation().
|
private |
object to calculate ionization and scintillation produced by an energy deposition
Definition at line 53 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
name of calculator to use, NEST or Separate
Definition at line 55 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation().
|
private |
histogram of photons per MeV deposited
Definition at line 67 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
histogram of photons per cm
Definition at line 65 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
histogram of the photons per step
Definition at line 62 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
pointer to the current G4 step
Definition at line 56 of file IonizationAndScintillation.h.
Referenced by Reset().
|
private |
last StepNumber checked
Definition at line 57 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
histogram of the step sizes
Definition at line 61 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().
|
private |
last TrkID checked
Definition at line 58 of file IonizationAndScintillation.h.
Referenced by IonizationAndScintillation(), and Reset().