8 #ifndef LARG4_IONIZATIONANDSCINTILLATION_H 9 #define LARG4_IONIZATIONANDSCINTILLATION_H 21 class HepRandomEngine;
25 class DetectorPropertiesData;
35 CLHEP::HepRandomEngine& engine);
40 void Reset(
const G4Step*
step);
45 return fISCalc->EnergyDeposit();
50 return fISCalc->VisibleEnergyDeposit();
55 return fISCalc->NumberIonizationElectrons();
60 return fISCalc->NumberScintillationPhotons();
65 return fISCalc->StepSizeLimit();
70 CLHEP::HepRandomEngine& engine);
72 std::unique_ptr<larg4::ISCalculation>
76 G4Step
const* fStep{
nullptr};
80 TH1F* fElectronsPerStep{
nullptr};
81 TH1F* fStepSize{
nullptr};
82 TH1F* fPhotonsPerStep{
nullptr};
83 TH1F* fEnergyPerStep{
nullptr};
88 TH2F* fElectronsVsPhotons{
nullptr};
94 #endif // LARG4_IONIZATIONANDSCINTILLATION double NumberIonizationElectrons() const
TH1F * fPhotonsPerEDep
histogram of photons per MeV deposited
double VisibleEnergyDeposit() const
TH1F * fElectronsPerEDep
histogram of electrons per MeV deposited
TH1F * fElectronsPerLength
histogram of electrons per cm
std::unique_ptr< larg4::ISCalculation > fISCalc
CLHEP::HepRandomEngine & fEngine
random engine (needed for NEST)
General LArSoft Utilities.
double EnergyDeposit() const
TH1F * fPhotonsPerLength
histogram of photons per cm
double NumberScintillationPhotons() const
double StepSizeLimit() const
std::string fISCalculator
name of calculator to use, NEST or Separate