20 Gen::MipRecombination::MipRecombination(
double Rmip,
double Wi)
25 Gen::MipRecombination::~MipRecombination()
28 double Gen::MipRecombination::operator()(
double dE,
double dX)
30 return m_rmip*dE/m_wi;
34 m_rmip =
get(
config,
"Rmip", m_rmip);
35 m_wi =
get(
config,
"Wi", m_wi);
50 Gen::BirksRecombination::BirksRecombination(
double Efield,
double A3t,
double k3t,
double rho,
double Wi)
51 : m_a3t(A3t), m_k3t(k3t), m_efield(Efield), m_rho(rho), m_wi(Wi)
Model for a MIP, dQ = (Rmip/Wi)*dE.
virtual ~BirksRecombination()
virtual ~BoxRecombination()
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
virtual double operator()(double dE, double dX=0.0)
virtual double operator()(double dE, double dX=0.0)
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
void log(source_loc source, level::level_enum lvl, const char *fmt, const Args &...args)
Json::Value Configuration
BoxRecombination(double Efield=500 *units::volt/units::cm, double A=0.930, double B=0.212 *units::gram/(units::MeV *units::cm2)*(units::kilovolt/units::cm), double rho=1.396 *units::gram/units::cm3, double Wi=23.6 *units::eV/(-1 *units::eplus))
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
WIRECELL_FACTORY(MipRecombination, WireCell::Gen::MipRecombination, WireCell::IRecombinationModel, WireCell::IConfigurable) WIRECELL_FACTORY(BirksRecombination