#include <ISCalcCorrelated.h>
Definition at line 35 of file ISCalcCorrelated.h.
Definition at line 21 of file ISCalcCorrelated.cxx.
22 :
fISTPC{*(lar::providerFrom<geo::Geometry>())}
24 std::cout <<
"IonizationAndScintillation/ISCalcCorrelated Initialize." <<
std::endl;
27 fSCE = lar::providerFrom<spacecharge::SpaceChargeService>();
28 fLArProp = lar::providerFrom<detinfo::LArPropertiesService>();
34 fRecombk = LArG4PropHandle->
Recombk() / detProp.Density(detProp.Temperature());
36 fModBoxB = LArG4PropHandle->
ModBoxB() / detProp.Density(detProp.Temperature());
double LarqlChi0B() const
double LarqlAlpha() const
bool UseModBoxRecomb() const
double LarqlChi0D() const
double LarqlChi0C() const
bool UseModLarqlRecomb() const
double LarqlChi0A() const
double GeVToElectrons() const
QTextStream & endl(QTextStream &s)
Implements larg4::ISCalc.
Definition at line 56 of file ISCalcCorrelated.cxx.
59 double const energy_deposit = edep.Energy();
62 double Nq = energy_deposit /
fWph;
64 float ds = edep.StepLength();
65 double dEdx = (ds <= 0.0) ? 0.0 : energy_deposit /
ds;
66 double EFieldStep =
EFieldAtStep(detProp.Efield(), edep);
73 if (dEdx < 1.) dEdx = 1.;
78 double Xi =
fModBoxB * dEdx / EFieldStep;
99 double const num_electrons = (energy_deposit /
fWion) * recomb;
105 <<
" Electrons produced for " << energy_deposit <<
" MeV deposited with " << recomb
106 <<
" recombination: " << num_electrons <<
std::endl;
107 MF_LOG_DEBUG(
"ISCalcCorrelated") <<
"number photons: " << num_photons;
double dEdx(float dqdx, float Efield)
QTextStream & endl(QTextStream &s)
Implements larg4::ISCalc.
Definition at line 143 of file ISCalcCorrelated.cxx.
152 return efield *
std::hypot(1 + eFieldOffsets.X(), eFieldOffsets.Y(), eFieldOffsets.Z());
virtual bool EnableSimEfieldSCE() const =0
std::enable_if_t< std::is_arithmetic_v< T >, T > hypot(T x, T y)
virtual geo::Vector_t GetEfieldOffsets(geo::Point_t const &point) const =0
bool isScintInActiveVolume(geo::Point_t const &ScintPoint)
double larg4::ISCalcCorrelated::EscapingEFraction |
( |
double const |
dEdx | ) |
|
|
private |
double larg4::ISCalcCorrelated::FieldCorrection |
( |
double const |
EF, |
|
|
double const |
dEdx |
|
) |
| |
|
private |
Definition at line 114 of file ISCalcCorrelated.cxx.
125 switch (edep.PdgCode()) {
virtual double ElectronScintYieldRatio() const =0
virtual double ScintYieldRatio() const =0
virtual double AlphaScintYieldRatio() const =0
virtual double ProtonScintYieldRatio() const =0
virtual double PionScintYieldRatio() const =0
virtual double MuonScintYieldRatio() const =0
virtual double KaonScintYieldRatio() const =0
virtual bool ScintByParticleType() const =0
double larg4::ISCalcCorrelated::fGeVToElectrons |
|
private |
ISTPC larg4::ISCalcCorrelated::fISTPC |
|
private |
double larg4::ISCalcCorrelated::fLarqlAlpha |
|
private |
double larg4::ISCalcCorrelated::fLarqlBeta |
|
private |
double larg4::ISCalcCorrelated::fLarqlChi0A |
|
private |
double larg4::ISCalcCorrelated::fLarqlChi0B |
|
private |
double larg4::ISCalcCorrelated::fLarqlChi0C |
|
private |
double larg4::ISCalcCorrelated::fLarqlChi0D |
|
private |
double larg4::ISCalcCorrelated::fModBoxA |
|
private |
double larg4::ISCalcCorrelated::fModBoxB |
|
private |
double larg4::ISCalcCorrelated::fRecombA |
|
private |
double larg4::ISCalcCorrelated::fRecombk |
|
private |
double larg4::ISCalcCorrelated::fScintPreScale |
|
private |
scintillation pre-scaling factor from LArProperties service
Definition at line 49 of file ISCalcCorrelated.h.
bool larg4::ISCalcCorrelated::fUseModBoxRecomb |
|
private |
bool larg4::ISCalcCorrelated::fUseModLarqlRecomb |
|
private |
double larg4::ISCalcCorrelated::fWion |
|
private |
double larg4::ISCalcCorrelated::fWph |
|
private |
The documentation for this class was generated from the following files: