LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ISCalcCorrelated.h"
Public Member Functions | |
ISCalcCorrelated (detinfo::DetectorPropertiesData const &detProp, CLHEP::HepRandomEngine &Engine) | |
double | EFieldAtStep (double efield, sim::SimEnergyDeposit const &edep) override |
double | AngleToEFieldAtStep (double efield, sim::SimEnergyDeposit const &edep) |
ISCalcData | CalcIonAndScint (detinfo::DetectorPropertiesData const &detProp, sim::SimEnergyDeposit const &edep) override |
double | GetScintYield (sim::SimEnergyDeposit const &edep, bool prescale) |
double | GetScintYieldRatio (sim::SimEnergyDeposit const &edep) |
Private Member Functions | |
double | EscapingEFraction (double const dEdx) const |
double | FieldCorrection (double const EF, double const dEdx) const |
Private Attributes | |
ISTPC | fISTPC |
const spacecharge::SpaceCharge * | fSCE |
CLHEP::RandBinomial | fBinomialGen |
double | fGeVToElectrons |
from LArG4Parameters service More... | |
double | fWion |
W_ion (23.6 eV) == 1/fGeVToElectrons. More... | |
double | fWph |
from LArG4Parameters service More... | |
double | fScintPreScale |
scintillation pre-scaling factor from LArProperties service More... | |
double | fRecombA |
from LArG4Parameters service More... | |
double | fRecombk |
from LArG4Parameters service More... | |
double | fModBoxA |
from LArG4Parameters service More... | |
double | fModBoxB |
from LArG4Parameters service More... | |
double | fEllipsModBoxA |
from LArG4Parameters service More... | |
double | fEllipsModBoxB |
from LArG4Parameters service More... | |
double | fEllipsModBoxR |
from LArG4Parameters service More... | |
double | fLarqlChi0A |
from LArG4Parameters service More... | |
double | fLarqlChi0B |
from LArG4Parameters service More... | |
double | fLarqlChi0C |
from LArG4Parameters service More... | |
double | fLarqlChi0D |
from LArG4Parameters service More... | |
double | fLarqlAlpha |
from LArG4Parameters service More... | |
double | fLarqlBeta |
from LArG4Parameters service More... | |
double | fQAlpha |
from LArG4Parameters service More... | |
bool | fUseModBoxRecomb |
from LArG4Parameters service More... | |
bool | fUseEllipsModBoxRecomb |
from LArG4Parameters service More... | |
bool | fUseModLarqlRecomb |
from LArG4Parameters service More... | |
bool | fUseBinomialFlucts |
from LArG4Parameters service More... | |
Definition at line 33 of file ISCalcCorrelated.h.
larg4::ISCalcCorrelated::ISCalcCorrelated | ( | detinfo::DetectorPropertiesData const & | detProp, |
CLHEP::HepRandomEngine & | Engine | ||
) |
Definition at line 34 of file ISCalcCorrelated.cxx.
References e, sim::LArG4Parameters::EllipsModBoxA(), sim::LArG4Parameters::EllipsModBoxB(), sim::LArG4Parameters::EllipsModBoxR(), fBinomialGen, fEllipsModBoxA, fEllipsModBoxB, fEllipsModBoxR, fGeVToElectrons, fLarqlAlpha, fLarqlBeta, fLarqlChi0A, fLarqlChi0B, fLarqlChi0C, fLarqlChi0D, fModBoxA, fModBoxB, fQAlpha, fRecombA, fRecombk, fSCE, fScintPreScale, fUseBinomialFlucts, fUseEllipsModBoxRecomb, fUseModBoxRecomb, fUseModLarqlRecomb, fWion, fWph, sim::LArG4Parameters::GeVToElectrons(), sim::LArG4Parameters::LarqlAlpha(), sim::LArG4Parameters::LarqlBeta(), sim::LArG4Parameters::LarqlChi0A(), sim::LArG4Parameters::LarqlChi0B(), sim::LArG4Parameters::LarqlChi0C(), sim::LArG4Parameters::LarqlChi0D(), MF_LOG_INFO, sim::LArG4Parameters::ModBoxA(), sim::LArG4Parameters::ModBoxB(), sim::LArG4Parameters::QAlpha(), sim::LArG4Parameters::RecombA(), sim::LArG4Parameters::Recombk(), sim::LArG4Parameters::UseBinomialFlucts(), sim::LArG4Parameters::UseEllipsModBoxRecomb(), sim::LArG4Parameters::UseModBoxRecomb(), sim::LArG4Parameters::UseModLarqlRecomb(), and sim::LArG4Parameters::Wph().
double larg4::ISCalcCorrelated::AngleToEFieldAtStep | ( | double | efield, |
sim::SimEnergyDeposit const & | edep | ||
) |
Definition at line 214 of file ISCalcCorrelated.cxx.
References util::abs(), geo::TPCGeo::DetectDriftDirection(), spacecharge::SpaceCharge::EnableSimEfieldSCE(), sim::SimEnergyDeposit::EndX(), sim::SimEnergyDeposit::EndY(), sim::SimEnergyDeposit::EndZ(), fISTPC, fSCE, spacecharge::SpaceCharge::GetEfieldOffsets(), larg4::ISTPC::isScintInActiveVolume(), sim::SimEnergyDeposit::MidPoint(), geo::GeometryCore::PositionToTPCID(), sim::SimEnergyDeposit::StartX(), sim::SimEnergyDeposit::StartY(), sim::SimEnergyDeposit::StartZ(), and geo::GeometryCore::TPC().
Referenced by CalcIonAndScint().
|
overridevirtual |
Implements larg4::ISCalc.
Definition at line 78 of file ISCalcCorrelated.cxx.
References AngleToEFieldAtStep(), tca::dEdx(), edep, detinfo::DetectorPropertiesData::Efield(), EFieldAtStep(), sim::SimEnergyDeposit::Energy(), EscapingEFraction(), fBinomialGen, fEllipsModBoxA, fEllipsModBoxB, fEllipsModBoxR, FieldCorrection(), fModBoxA, fModBoxB, fQAlpha, fRecombA, fRecombk, fScintPreScale, fUseBinomialFlucts, fUseEllipsModBoxRecomb, fUseModBoxRecomb, fUseModLarqlRecomb, fWion, fWph, larg4::ISCalc::GetScintYieldRatio(), MF_LOG_DEBUG, sim::SimEnergyDeposit::PdgCode(), and sim::SimEnergyDeposit::StepLength().
|
overridevirtual |
Implements larg4::ISCalc.
Definition at line 164 of file ISCalcCorrelated.cxx.
References geo::TPCGeo::DetectDriftDirection(), spacecharge::SpaceCharge::EnableSimEfieldSCE(), fISTPC, fSCE, spacecharge::SpaceCharge::GetEfieldOffsets(), larg4::ISTPC::isScintInActiveVolume(), sim::SimEnergyDeposit::MidPoint(), geo::GeometryCore::PositionToTPCID(), and geo::GeometryCore::TPC().
Referenced by CalcIonAndScint().
|
private |
Definition at line 276 of file ISCalcCorrelated.cxx.
References fLarqlChi0A, fLarqlChi0B, fLarqlChi0C, and fLarqlChi0D.
Referenced by CalcIonAndScint().
|
private |
Definition at line 283 of file ISCalcCorrelated.cxx.
References fLarqlAlpha, and fLarqlBeta.
Referenced by CalcIonAndScint().
|
inherited |
Definition at line 21 of file ISCalc.cxx.
References detinfo::LArProperties::AlphaScintYield(), detinfo::LArProperties::ElectronScintYield(), larg4::ISCalc::fLArProp, detinfo::LArProperties::KaonScintYield(), detinfo::LArProperties::MuonScintYield(), sim::SimEnergyDeposit::PdgCode(), detinfo::LArProperties::PionScintYield(), detinfo::LArProperties::ProtonScintYield(), detinfo::LArProperties::ScintByParticleType(), and detinfo::LArProperties::ScintYield().
Referenced by larg4::ISCalcSeparate::CalcScint().
|
inherited |
Definition at line 41 of file ISCalc.cxx.
References detinfo::LArProperties::AlphaScintYieldRatio(), detinfo::LArProperties::ElectronScintYieldRatio(), larg4::ISCalc::fLArProp, detinfo::LArProperties::KaonScintYieldRatio(), detinfo::LArProperties::MuonScintYieldRatio(), sim::SimEnergyDeposit::PdgCode(), detinfo::LArProperties::PionScintYieldRatio(), detinfo::LArProperties::ProtonScintYieldRatio(), detinfo::LArProperties::ScintByParticleType(), and detinfo::LArProperties::ScintYieldRatio().
Referenced by larg4::ISCalcNESTLAr::CalcIonAndScint(), CalcIonAndScint(), and larg4::ISCalcSeparate::CalcScint().
|
private |
Definition at line 48 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 58 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 59 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 60 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 50 of file ISCalcCorrelated.h.
Referenced by ISCalcCorrelated().
|
private |
Definition at line 46 of file ISCalcCorrelated.h.
Referenced by AngleToEFieldAtStep(), and EFieldAtStep().
|
private |
from LArG4Parameters service
Definition at line 65 of file ISCalcCorrelated.h.
Referenced by FieldCorrection(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 66 of file ISCalcCorrelated.h.
Referenced by FieldCorrection(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 61 of file ISCalcCorrelated.h.
Referenced by EscapingEFraction(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 62 of file ISCalcCorrelated.h.
Referenced by EscapingEFraction(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 63 of file ISCalcCorrelated.h.
Referenced by EscapingEFraction(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 64 of file ISCalcCorrelated.h.
Referenced by EscapingEFraction(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 56 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 57 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 67 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 54 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 55 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
Definition at line 47 of file ISCalcCorrelated.h.
Referenced by AngleToEFieldAtStep(), EFieldAtStep(), and ISCalcCorrelated().
|
private |
scintillation pre-scaling factor from LArProperties service
Definition at line 53 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 71 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 69 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 68 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 70 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
W_ion (23.6 eV) == 1/fGeVToElectrons.
Definition at line 51 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().
|
private |
from LArG4Parameters service
Definition at line 52 of file ISCalcCorrelated.h.
Referenced by CalcIonAndScint(), and ISCalcCorrelated().