22 #include "Geant4/G4EmSaturation.hh" 23 #include "Geant4/G4LossTableManager.hh" 24 #include "Geant4/G4ParticleTypes.hh" 33 #include "cetlib_except/exception.h" 41 std::cout <<
"LegacyLArG4/ISCalculationCorrelated Initialize." <<
std::endl;
113 G4ThreeVector totstep = step->GetPostStepPoint()->GetPosition();
114 totstep -= step->GetPreStepPoint()->GetPosition();
120 if (dEdx < 1.) dEdx = 1.;
126 double Xi =
fModBoxB * dEdx / EFieldStep;
151 <<
" Electrons produced for " <<
fEnergyDeposit <<
" MeV deposited with " << recomb
static constexpr double cm
Store parameters for running LArG4.
double VoxelSizeX() const
Access to voxel dimensions and offsets.
Encapsulates calculation of LArVoxelID and LArVoxel parameters.
double EFieldAtStep(double fEfield, const G4Step *step) const
double LarqlChi0B() const
double Temperature() const
In kelvin.
double LarqlAlpha() const
bool UseModBoxRecomb() const
double VoxelSizeY() const
static constexpr double MeV
double LarqlChi0D() const
double Efield(unsigned int planegap=0) const
kV/cm
double VoxelSizeZ() const
double LarqlChi0C() const
double dEdx(float dqdx, float Efield)
bool UseModLarqlRecomb() const
double fNumIonElectrons
number of ionization electrons for this step
double Density(double temperature=0.) const
Returns argon density at a given temperature.
virtual double ScintPreScale(bool prescale=true) const =0
static int max(int a, int b)
double LarqlChi0A() const
double fNumScintPhotons
number of scintillation photons for this step
double fEnergyDeposit
total energy deposited in the step
double GeVToElectrons() const
QTextStream & endl(QTextStream &s)