18 , fXeConcentration{pset.
get<
double>(
"XeConcentration")}
22 ,
fTauAX {pset.get<
double>(
"TauAX")}
23 ,
fTauXX {pset.get<
double>(
"TauXX")}
24 ,
fTauN2 {pset.get<
double>(
"TauN2", 0)}
39 while (integral < 0.999) {
49 while (integral < 0.999) {
57 <<
"Configured:" <<
"\n" 61 <<
" TauAX: " <<
fTauAX <<
" ns\n" 62 <<
" TauXX: " <<
fTauXX <<
" ns\n" 63 <<
"Calculated:" <<
"\n" 64 <<
" TauTA singlet: " <<
fTauTAs <<
" ns\n" 65 <<
" TauTA triplet: " <<
fTauTAt <<
" ns\n" 66 <<
" TauTX: " <<
fTauTX <<
" ns\n" 67 <<
" MaxTime Singlet: " <<
fMaxTs <<
" ns\n" 68 <<
" MaxTime Triplet: " <<
fMaxTt <<
" ns\n";
75 return ( exp(-t/tau1) - exp(-t/tau2) ) / (tau1 - tau2);
83 CLHEP::RandFlat randflatscinttime{engine};
88 double ran1 = randflatscinttime();
89 double ran2 = randflatscinttime();
93 double t = ran1 * (is_fast ?
fMaxTs ScintTimeXeDoping(fhicl::ParameterSet const &pset)
double singlet_distro(double t) const
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
double triplet_distro(double t) const
T get(std::string const &key) const
General LArSoft Utilities.
void GenScintTime(bool is_fast, CLHEP::HepRandomEngine &engine)
double exp_diff(double t, double tau1, double tau2) const