17 const auto clockData =
23 ->DataFor(evt, clockData);
27 clockData, detProp, hits
32 return std::make_pair(charge, calE);
Utility containing helpful functions for end users to access information about Hits.
std::pair< double, double > calcHitsChargeCalE(const std::vector< art::Ptr< recob::Hit >> &hits, const art::Event &evt, calo::CalorimetryAlg &algCalorimetry, unsigned int plane)
double ElectronsFromADCArea(double area, unsigned short plane) const
static double LifetimeCorrectedTotalHitCharge(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const std::vector< art::Ptr< recob::Hit > > &hits)
get the total hit charge, corrected for lifetime