20 #include "larevt/CalibrationDBI/Interface/ElectronLifetimeService.h" 21 #include "larevt/CalibrationDBI/Interface/ElectronLifetimeProvider.h" 70 double dQdx = dQ/pitch;
71 return dEdx_AMP(dQdx, time, plane, T0);
81 double dQdx_e = dQdx/fADCtoEl;
102 double dQdx = dQ/pitch;
113 double dQdx_e = dQdx/fADCtoEl;
141 time = t * timetick - T0*1
e-3;
147 double correction = exp(time/tau);
153 double correction = elifetime_provider.Lifetime(time);
fhicl::Atom< int > CaloLifeTimeForm
virtual int TriggerOffset() const =0
double dEdx_AREA(art::Ptr< recob::Hit > hit, double pitch, double T0=0) const
geo::WireID WireID() const
Initial tdc tick for hit.
Declaration of signal hit object.
virtual double BirksCorrection(double dQdX) const =0
dQ/dX in electrons/cm, returns dE/dX in MeV/cm.
virtual double ModBoxCorrection(double dQdX) const =0
fhicl::Atom< bool > CaloDoLifeTimeCorrection
virtual double SamplingRate() const =0
Returns the period of the TPC readout electronics clock.
void reconfigure(const Config &config)
float Integral() const
Integral under the calibrated signal waveform of the hit, in tick x ADC units.
float PeakAmplitude() const
The estimated amplitude of the hit at its peak, in ADC units.
fhicl::Sequence< double > CalAmpConstants
fhicl::Atom< bool > CaloUseModBox
bool fDoLifeTimeCorrection
std::vector< double > fCalAmpConstants
const detinfo::DetectorProperties * detprop
PlaneID_t Plane
Index of the plane within its TPC.
Detector simulation of raw signals on wires.
CalorimetryAlg(const fhicl::ParameterSet &pset)
float PeakTime() const
Time of the signal peak, in tick units.
2D representation of charge deposited in the TDC/wire plane
double dEdx_from_dQdx_e(double dQdx_e, double time, double T0=0) const
double LifetimeCorrection(double time, double T0=0) const
double dEdx_AMP(art::Ptr< recob::Hit > hit, double pitch, double T0=0) const
fhicl::Sequence< double > CalAreaConstants
cet::coded_exception< error, detail::translate > exception
virtual double ElectronLifetime() const =0
Returns the attenuation constant for ionization electrons.
std::vector< double > fCalAreaConstants