#include <ProtoDUNEShowerUtils.h>
Public Member Functions | |
ProtoDUNEShowerUtils () | |
~ProtoDUNEShowerUtils () | |
const std::vector< const recob::Hit * > | GetRecoShowerHits (const recob::Shower &shower, art::Event const &evt, const std::string showerModule) const |
Get the hits from a given reco shower. More... | |
const std::vector< art::Ptr< recob::Hit > > | GetRecoShowerArtHits (const recob::Shower &shower, art::Event const &evt, const std::string showerModule) const |
unsigned int | GetNumberRecoShowerHits (const recob::Shower &shower, art::Event const &evt, const std::string showerModule) const |
Get the number of hits from a given reco shower. More... | |
std::vector< const recob::PCAxis * > | GetRecoShowerPCAxis (const recob::Shower &shower, art::Event const &evt, const std::string showerModule) const |
Get the associated PCAxis object (from a principal component analysis) More... | |
std::vector< double > | EstimateEnergyFromHitCharge (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const std::vector< const recob::Hit * > &hits, calo::CalorimetryAlg caloAlg) |
int | GetShowerIndex (const recob::Shower &shower, art::Event const &evt, const std::string showerModule) const |
If the shower.ID() isn't filled we must find the actual shower index ourselves. More... | |
std::vector< anab::Calorimetry > | GetRecoShowerCalorimetry (const recob::Shower &shower, art::Event const &evt, const std::string showerModule, const std::string caloModule) const |
Get shower calo info. More... | |
Definition at line 29 of file ProtoDUNEShowerUtils.h.
protoana::ProtoDUNEShowerUtils::ProtoDUNEShowerUtils | ( | ) |
Definition at line 8 of file ProtoDUNEShowerUtils.cxx.
protoana::ProtoDUNEShowerUtils::~ProtoDUNEShowerUtils | ( | ) |
Definition at line 12 of file ProtoDUNEShowerUtils.cxx.
std::vector< double > protoana::ProtoDUNEShowerUtils::EstimateEnergyFromHitCharge | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
const std::vector< const recob::Hit * > & | hits, | ||
calo::CalorimetryAlg | caloAlg | ||
) |
Definition at line 78 of file ProtoDUNEShowerUtils.cxx.
unsigned int protoana::ProtoDUNEShowerUtils::GetNumberRecoShowerHits | ( | const recob::Shower & | shower, |
art::Event const & | evt, | ||
const std::string | showerModule | ||
) | const |
Get the number of hits from a given reco shower.
Definition at line 55 of file ProtoDUNEShowerUtils.cxx.
const std::vector< art::Ptr< recob::Hit > > protoana::ProtoDUNEShowerUtils::GetRecoShowerArtHits | ( | const recob::Shower & | shower, |
art::Event const & | evt, | ||
const std::string | showerModule | ||
) | const |
Definition at line 40 of file ProtoDUNEShowerUtils.cxx.
std::vector< anab::Calorimetry > protoana::ProtoDUNEShowerUtils::GetRecoShowerCalorimetry | ( | const recob::Shower & | shower, |
art::Event const & | evt, | ||
const std::string | showerModule, | ||
const std::string | caloModule | ||
) | const |
Get shower calo info.
Definition at line 130 of file ProtoDUNEShowerUtils.cxx.
const std::vector< const recob::Hit * > protoana::ProtoDUNEShowerUtils::GetRecoShowerHits | ( | const recob::Shower & | shower, |
art::Event const & | evt, | ||
const std::string | showerModule | ||
) | const |
Get the hits from a given reco shower.
Definition at line 17 of file ProtoDUNEShowerUtils.cxx.
std::vector< const recob::PCAxis * > protoana::ProtoDUNEShowerUtils::GetRecoShowerPCAxis | ( | const recob::Shower & | shower, |
art::Event const & | evt, | ||
const std::string | showerModule | ||
) | const |
Get the associated PCAxis object (from a principal component analysis)
Definition at line 62 of file ProtoDUNEShowerUtils.cxx.
int protoana::ProtoDUNEShowerUtils::GetShowerIndex | ( | const recob::Shower & | shower, |
art::Event const & | evt, | ||
const std::string | showerModule | ||
) | const |
If the shower.ID() isn't filled we must find the actual shower index ourselves.
Definition at line 106 of file ProtoDUNEShowerUtils.cxx.