LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ShowerEnergyAlg.h"
Classes | |
struct | LinearFunction |
Public Member Functions | |
ShowerEnergyAlg (fhicl::ParameterSet const &pset) | |
double | ShowerEnergy (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit >> const &hits, geo::PlaneID::PlaneID_t plane) const |
Private Attributes | |
std::array< LinearFunction, 3 > const | fLinearFunctions |
Definition at line 32 of file ShowerEnergyAlg.h.
|
explicit |
Definition at line 26 of file ShowerEnergyAlg.cxx.
References fhicl::ParameterSet::get().
double shower::ShowerEnergyAlg::ShowerEnergy | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit >> const & | hits, | ||
geo::PlaneID::PlaneID_t | plane | ||
) | const |
This overload is preferred as it does not rely on the cached DetectorProperties data member.
Definition at line 32 of file ShowerEnergyAlg.cxx.
References detinfo::DetectorPropertiesData::ElectronLifetime(), fLinearFunctions, hits(), detinfo::sampling_rate(), and lar::to_element.
Referenced by shower::EMShowerAlg::MakeShower().
|
private |
Definition at line 49 of file ShowerEnergyAlg.h.
Referenced by ShowerEnergy().