#include <ISCalculation.h>
Definition at line 14 of file ISCalculation.h.
virtual larg4::ISCalculation::~ISCalculation |
( |
| ) |
|
|
virtualdefault |
virtual void larg4::ISCalculation::CalculateIonizationAndScintillation |
( |
const G4Step * |
step | ) |
|
|
pure virtual |
double larg4::ISCalculation::EFieldAtStep |
( |
double |
fEfield, |
|
|
const G4Step * |
step |
|
) |
| const |
Definition at line 19 of file ISCalculation.cxx.
21 auto const* SCE = lar::providerFrom<spacecharge::SpaceChargeService>();
22 if (!SCE->EnableSimEfieldSCE())
return efield;
24 (
step->GetPreStepPoint()->GetPosition() +
step->GetPostStepPoint()->GetPosition()) * 0.5 /
26 auto const eFieldOffsets = SCE->GetEfieldOffsets(midPoint);
27 return efield *
std::hypot(1 + eFieldOffsets.X(), eFieldOffsets.Y(), eFieldOffsets.Z());
static constexpr double cm
std::enable_if_t< std::is_arithmetic_v< T >, T > hypot(T x, T y)
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
double larg4::ISCalculation::EnergyDeposit |
( |
| ) |
const |
|
inline |
Definition at line 23 of file ISCalculation.h.
double fEnergyDeposit
total energy deposited in the step
double larg4::ISCalculation::NumberIonizationElectrons |
( |
| ) |
const |
|
inline |
Definition at line 28 of file ISCalculation.h.
double fNumIonElectrons
number of ionization electrons for this step
double larg4::ISCalculation::NumberScintillationPhotons |
( |
| ) |
const |
|
inline |
Definition at line 33 of file ISCalculation.h.
double fNumScintPhotons
number of scintillation photons for this step
virtual void larg4::ISCalculation::Reset |
( |
| ) |
|
|
pure virtual |
virtual double larg4::ISCalculation::StepSizeLimit |
( |
| ) |
const |
|
pure virtual |
double larg4::ISCalculation::VisibleEnergyDeposit |
( |
| ) |
const |
|
inline |
double larg4::ISCalculation::fEnergyDeposit |
|
protected |
double larg4::ISCalculation::fNumIonElectrons |
|
protected |
number of ionization electrons for this step
Definition at line 49 of file ISCalculation.h.
double larg4::ISCalculation::fNumScintPhotons |
|
protected |
number of scintillation photons for this step
Definition at line 50 of file ISCalculation.h.
double larg4::ISCalculation::fVisibleEnergyDeposition |
|
protected |
The documentation for this class was generated from the following files: