9 #ifndef UTIL_CALORIMETRYALG_H
10 #define UTIL_CALORIMETRYALG_H
12 #include "fhiclcpp/types/Atom.h"
13 #include "fhiclcpp/types/Sequence.h"
14 #include "fhiclcpp/types/Table.h"
16 #include "art/Framework/Services/Registry/ServiceHandle.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;
161 double T0 = 0)
const;
164 art::ServiceHandle<geo::Geometry const>
geom;
170 double T0 = 0)
const;
176 double EField)
const;
186 #endif // UTIL_CALORIMETRYALG_H
std::vector< double > const fCalAreaConstants
fhicl::Atom< bool > CaloDoLifeTimeCorrection
Declaration of signal hit object.
process_name can override from command line with o or output calo
double ElectronsFromADCArea(double area, unsigned short plane) const
double ElectronsFromADCPeak(double adc, unsigned short plane) const
double dEdx_AMP(detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, recob::Hit const &hit, double pitch, double T0=0) const
art::ServiceHandle< geo::Geometry const > geom
bool const fDoLifeTimeCorrection
BEGIN_PROLOG vertical distance to the surface Name
std::vector< double > const fCalAmpConstants
CalorimetryAlg(const fhicl::ParameterSet &pset)
fhicl::Sequence< double > CalAreaConstants
Contains all timing reference information for the detector.
fhicl::Atom< bool > CaloUseModBox
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
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
fhicl::Sequence< double > CalAmpConstants
art framework interface to geometry description
process_name opdaq physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator T0