All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Attributes | List of all members
shower::ShowerEnergyAlg Class Reference

#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
 

Detailed Description

Definition at line 32 of file ShowerEnergyAlg.h.

Constructor & Destructor Documentation

shower::ShowerEnergyAlg::ShowerEnergyAlg ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 26 of file ShowerEnergyAlg.cxx.

27  : fLinearFunctions{{{pset.get<double>("UGradient"), pset.get<double>("UIntercept")},
28  {pset.get<double>("VGradient"), pset.get<double>("VIntercept")},
29  {pset.get<double>("ZGradient"), pset.get<double>("ZIntercept")}}}
std::array< LinearFunction, 3 > const fLinearFunctions

Member Function Documentation

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.

Member Data Documentation

std::array<LinearFunction, 3> const shower::ShowerEnergyAlg::fLinearFunctions
private

Definition at line 53 of file ShowerEnergyAlg.h.


The documentation for this class was generated from the following files: