9 #ifndef UTIL_CALORIMETRYALG_H 10 #define UTIL_CALORIMETRYALG_H 23 class DetectorClocksData;
24 class DetectorPropertiesData;
40 Name(
"CalAmpConstants"),
41 Comment(
"ADC to electrons constants for each plane.")};
44 Name(
"CalAreaConstants"),
45 Comment(
"Area to electrons constants for each plane.")};
48 Comment(
"Use modified box model if true, birks otherwise")};
51 Comment(
"0 = exponential, 1 = exponential + constant")};
54 Comment(
"Apply lifetime correction if true")};
102 double EField)
const;
109 double T0 = 0)
const;
116 double T0 = 0)
const;
122 double T0 = 0)
const;
129 double EField)
const;
137 double EField)
const;
144 double EField)
const;
149 return adc / fCalAmpConstants[plane];
155 return area / fCalAreaConstants[plane];
161 double T0 = 0)
const;
170 double T0 = 0)
const;
176 double EField)
const;
186 #endif // UTIL_CALORIMETRYALG_H
std::vector< double > const fCalAreaConstants
Reconstruction base classes.
ChannelGroupService::Name Name
art framework interface to geometry description
double ElectronsFromADCArea(double area, unsigned short plane) const
double ElectronsFromADCPeak(double adc, unsigned short plane) const
art::ServiceHandle< geo::Geometry const > geom
bool const fDoLifeTimeCorrection
General LArSoft Utilities.
std::vector< double > const fCalAmpConstants
Detector simulation of raw signals on wires.
CalorimetryAlg(const fhicl::ParameterSet &pset)
Declaration of signal hit object.
Contains all timing reference information for the detector.
2D representation of charge deposited in the TDC/wire plane