LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ShowerRecoAlg.h"
Public Member Functions | |
void | SetUseArea (bool on) |
Function to decide if to use Area or Pulse Amplitude for calculations. More... | |
void | Verbose (bool verbose) |
void | CaloAlgo (calo::CalorimetryAlg *alg) |
void | setEcorrection (bool on) |
Function to set whether to use E correction. More... | |
recob::Shower | RecoOneShower (geo::GeometryCore const &geom, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< showerreco::ShowerCluster_t > const &) |
Function to reconstruct a shower. More... | |
virtual void | Reset () |
Function to reset algorithm, to be called @ beginning of each event. More... | |
virtual void | AppendInputClusters (const std::vector< cluster::ClusterParamsAlg > &cpan_v) |
Setter for a matched combination of clusters. More... | |
std::vector< recob::Shower > | Reconstruct (geo::GeometryCore const &geom, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp) |
Execute reconstruction. More... | |
Protected Member Functions | |
virtual void | ProcessInputClusters () |
Function to reorganize input cluster information. More... | |
virtual ::recob::Shower | RecoOneShower (geo::GeometryCore const &geom, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const std::vector< showerreco::ShowerCluster_t > &clusters)=0 |
Function to reconstruct one shower. More... | |
Protected Attributes | |
std::vector< std::vector< showerreco::ShowerCluster_t > > | fInputClusters |
Input clusters. More... | |
Private Attributes | |
calo::CalorimetryAlg * | fCaloAlg |
bool | _Ecorrection {true} |
bool | fVerbosity {true} |
double | fcalodEdxlength {1000} |
double | fdEdxlength {2.4} |
bool | fUseArea {true} |
Definition at line 20 of file ShowerRecoAlg.h.
|
virtualinherited |
Setter for a matched combination of clusters.
Definition at line 14 of file ShowerRecoAlgBase.cxx.
References showerreco::ShowerRecoAlgBase::fInputClusters.
Referenced by showerreco::ShowerRecoManager::Process().
|
inline |
|
inlineprotectedvirtualinherited |
Function to reorganize input cluster information.
Definition at line 67 of file ShowerRecoAlgBase.h.
Referenced by showerreco::ShowerRecoAlgBase::Reconstruct().
|
inherited |
Execute reconstruction.
Definition at line 34 of file ShowerRecoAlgBase.cxx.
References showerreco::ShowerRecoAlgBase::fInputClusters, showerreco::ShowerRecoAlgBase::ProcessInputClusters(), and showerreco::ShowerRecoAlgBase::RecoOneShower().
Referenced by showerreco::ShowerRecoManager::Process().
recob::Shower showerreco::ShowerRecoAlg::RecoOneShower | ( | geo::GeometryCore const & | geom, |
detinfo::DetectorClocksData const & | clockData, | ||
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< showerreco::ShowerCluster_t > const & | clusters | ||
) |
Function to reconstruct a shower.
third loop to get only points inside of 1RMS of value.
Definition at line 16 of file ShowerRecoAlg.cxx.
References _Ecorrection, tca::dEdx(), calo::CalorimetryAlg::dEdx_AMP(), calo::CalorimetryAlg::dEdx_AREA(), showerreco::energy::DEFAULT_ECorr, larg4::dist(), calo::CalorimetryAlg::ElectronsFromADCArea(), calo::CalorimetryAlg::ElectronsFromADCPeak(), fCaloAlg, fcalodEdxlength, fdEdxlength, fUseArea, fVerbosity, util::kGeVToElectrons, calo::CalorimetryAlg::LifetimeCorrection(), recob::Shower::set_dedx(), recob::Shower::set_direction(), recob::Shower::set_length(), recob::Shower::set_start_point(), recob::Shower::set_total_best_plane(), recob::Shower::set_total_energy(), recob::Shower::set_total_MIPenergy(), util::PxPoint::w, and w.
|
protectedpure virtualinherited |
Function to reconstruct one shower.
Referenced by showerreco::ShowerRecoAlgBase::Reconstruct().
|
virtualinherited |
Function to reset algorithm, to be called @ beginning of each event.
Definition at line 9 of file ShowerRecoAlgBase.cxx.
References showerreco::ShowerRecoAlgBase::fInputClusters.
Referenced by showerreco::ShowerRecoManager::Reset().
|
inline |
Function to set whether to use E correction.
Definition at line 30 of file ShowerRecoAlg.h.
Referenced by ShowerReco3D::ShowerReco3D().
|
inline |
Function to decide if to use Area or Pulse Amplitude for calculations.
Definition at line 23 of file ShowerRecoAlg.h.
Referenced by ShowerReco3D::ShowerReco3D().
|
inline |
|
private |
Definition at line 40 of file ShowerRecoAlg.h.
Referenced by RecoOneShower().
|
private |
Definition at line 39 of file ShowerRecoAlg.h.
Referenced by RecoOneShower().
|
private |
Definition at line 42 of file ShowerRecoAlg.h.
Referenced by RecoOneShower().
|
private |
Definition at line 43 of file ShowerRecoAlg.h.
Referenced by RecoOneShower().
|
protectedinherited |
Input clusters.
Definition at line 78 of file ShowerRecoAlgBase.h.
Referenced by showerreco::ShowerRecoAlgBase::AppendInputClusters(), showerreco::ShowerRecoAlgBase::Reconstruct(), and showerreco::ShowerRecoAlgBase::Reset().
|
private |
Definition at line 44 of file ShowerRecoAlg.h.
Referenced by RecoOneShower().
|
private |
Definition at line 41 of file ShowerRecoAlg.h.
Referenced by RecoOneShower().