33 <<
"Must select either '0' for exponential or '1' for exponential + " 46 double const T0)
const 60 unsigned int const plane,
61 double const T0)
const 63 double const dQdx = dQ / pitch;
64 return dEdx_AMP(clock_data, det_prop, dQdx, time, plane, T0, det_prop.
Efield());
73 unsigned int const plane,
74 double const T0)
const 77 double const dQdx_e = dQdx / fADCtoEl;
90 double const EField)
const 104 unsigned int const plane,
106 double const EField)
const 108 double const dQdx = dQ / pitch;
109 return dEdx_AMP(clock_data, det_prop, dQdx, time, plane, T0, EField);
118 unsigned int const plane,
120 double const EField)
const 123 double const dQdx_e = dQdx / fADCtoEl;
135 double const T0)
const 148 unsigned int const plane,
149 double const T0)
const 151 double const dQdx = dQ / pitch;
152 return dEdx_AREA(clock_data, det_prop, dQdx, time, plane, T0, det_prop.
Efield());
161 unsigned int const plane,
162 double const T0)
const 165 double const dQdx_e = dQdx / fADCtoEl;
178 double const EField)
const 191 unsigned int const plane,
193 double const EField)
const 195 double const dQdx = dQ / pitch;
196 return dEdx_AREA(clock_data, det_prop, dQdx, time, plane, T0, EField);
205 unsigned int const plane,
207 double const EField)
const 210 double const dQdx_e = dQdx / fADCtoEl;
220 double const T0)
const 230 double const EField)
const 249 double const T0)
const 253 double const adjusted_time = t * timetick - T0 * 1
e-3;
259 return exp(adjusted_time / tau);
263 auto const& elifetime_provider =
265 return elifetime_provider.Lifetime(adjusted_time);
std::vector< double > const fCalAreaConstants
fhicl::Atom< bool > CaloDoLifeTimeCorrection
geo::WireID WireID() const
double ElectronLifetime() const
float Integral() const
Integral under the calibrated signal waveform of the hit, in tick x ADC units.
double ModBoxCorrection(double dQdX) const
float PeakAmplitude() const
The estimated amplitude of the hit at its peak, in ADC units.
double Efield(unsigned int planegap=0) const
kV/cm
double dEdx_AMP(detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, recob::Hit const &hit, double pitch, double T0=0) const
bool const fDoLifeTimeCorrection
PlaneID_t Plane
Index of the plane within its TPC.
std::vector< double > const fCalAmpConstants
Definition of data types for geometry description.
Detector simulation of raw signals on wires.
CalorimetryAlg(const fhicl::ParameterSet &pset)
float PeakTime() const
Time of the signal peak, in tick units.
fhicl::Sequence< double > CalAreaConstants
Declaration of signal hit object.
Contains all timing reference information for the detector.
fhicl::Atom< bool > CaloUseModBox
double BirksCorrection(double dQdX) const
dQ/dX in electrons/cm, returns dE/dX in MeV/cm.
double dEdx_from_dQdx_e(detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, double dQdx_e, double time, double T0=0) const
double dEdx_AREA(detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, recob::Hit const &hit, double pitch, double T0=0) const
int trigger_offset(DetectorClocksData const &data)
fhicl::Atom< int > CaloLifeTimeForm
2D representation of charge deposited in the TDC/wire plane
double LifetimeCorrection(detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, double time, double T0=0) const
double sampling_rate(DetectorClocksData const &data)
Returns the period of the TPC readout electronics clock.
fhicl::Sequence< double > CalAmpConstants
cet::coded_exception< error, detail::translate > exception