LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ShowerRecoAlg.h"
Public Member Functions | |
ShowerRecoAlg () | |
Default constructor. More... | |
virtual | ~ShowerRecoAlg () |
Default destructor. More... | |
virtual void | Reset () |
Function to reset algorithm, to be called @ beginning of each event. More... | |
void | SetUseArea (bool on) |
Function to decide if to use Area or Pulse Amplitude for calculations. More... | |
void | setEcorrection (bool on) |
Function to decide if to use ModBox (True) or Birks (False) for calorimetry. More... | |
virtual void | AppendInputClusters (const std::vector< cluster::ClusterParamsAlg > &cpan_v) |
Setter for a matched combination of clusters. More... | |
std::vector< recob::Shower > | Reconstruct () |
Execute reconstruction. More... | |
virtual void | Verbose (bool on=true) |
Verbosity switch. More... | |
void | CaloAlgo (::calo::CalorimetryAlg *alg) |
Calorimetry algorithm setter. More... | |
Protected Member Functions | |
virtual ::recob::Shower | RecoOneShower (const std::vector< ::showerreco::ShowerCluster_t > &) |
Function to reconstruct a shower. More... | |
virtual void | ProcessInputClusters () |
Function to reorganize input cluster information. More... | |
virtual ::recob::Shower | RecoOneShower (const std::vector< showerreco::ShowerCluster_t > &clusters)=0 |
Function to reconstruct one shower. More... | |
Protected Attributes | |
util::GeometryUtilities * | fGSer |
bool | fVerbosity |
Verbosity flag. More... | |
::calo::CalorimetryAlg * | fCaloAlg |
Calorimetry algorithm. More... | |
std::vector< std::vector< showerreco::ShowerCluster_t > > | fInputClusters |
Input clusters. More... | |
Private Attributes | |
bool | _Ecorrection |
Boolean -> decide if to use energy correction or not. More... | |
double | fcalodEdxlength |
double | fdEdxlength |
bool | fUseArea |
User defined class ShowerRecoAlg ... these comments are used to generate doxygen documentation!
Definition at line 28 of file ShowerRecoAlg.h.
showerreco::ShowerRecoAlg::ShowerRecoAlg | ( | ) |
Default constructor.
Definition at line 8 of file ShowerRecoAlg.cxx.
References _Ecorrection, fcalodEdxlength, fdEdxlength, fGSer, fUseArea, showerreco::ShowerRecoAlgBase::fVerbosity, and util::GeometryUtilities::GetME().
|
inlinevirtual |
|
virtualinherited |
Setter for a matched combination of clusters.
Definition at line 18 of file ShowerRecoAlgBase.cxx.
References showerreco::ShowerRecoAlgBase::fInputClusters.
Referenced by showerreco::ShowerRecoManager::Process().
|
inlineinherited |
Calorimetry algorithm setter.
Definition at line 64 of file ShowerRecoAlgBase.h.
Referenced by ShowerReco3D::ShowerReco3D().
|
inlineprotectedvirtualinherited |
Function to reorganize input cluster information.
Definition at line 69 of file ShowerRecoAlgBase.h.
Referenced by showerreco::ShowerRecoAlgBase::Reconstruct().
|
inherited |
Execute reconstruction.
Definition at line 39 of file ShowerRecoAlgBase.cxx.
References showerreco::ShowerRecoAlgBase::fCaloAlg, showerreco::ShowerRecoAlgBase::fInputClusters, showerreco::ShowerRecoAlgBase::ProcessInputClusters(), and showerreco::ShowerRecoAlgBase::RecoOneShower().
Referenced by showerreco::ShowerRecoManager::Process().
|
protected |
Function to reconstruct a shower.
third loop to get only points inside of 1RMS of value.
Definition at line 21 of file ShowerRecoAlg.cxx.
References _Ecorrection, calo::CalorimetryAlg::dEdx_AMP(), calo::CalorimetryAlg::dEdx_AREA(), showerreco::energy::DEFAULT_ECorr, calo::CalorimetryAlg::ElectronsFromADCArea(), calo::CalorimetryAlg::ElectronsFromADCPeak(), showerreco::ShowerRecoAlgBase::fCaloAlg, fcalodEdxlength, fdEdxlength, fGSer, fUseArea, showerreco::ShowerRecoAlgBase::fVerbosity, util::GeometryUtilities::Get2DDistance(), util::GeometryUtilities::Get3DaxisN(), util::GeometryUtilities::GetDirectionCosines(), util::GeometryUtilities::GetPointOnLine(), util::kGeVToElectrons, calo::CalorimetryAlg::LifetimeCorrection(), util::GeometryUtilities::Nplanes(), util::GeometryUtilities::PitchInView(), 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::GeometryUtilities::TimeToCm(), w, and util::GeometryUtilities::WireToCm().
Referenced by setEcorrection().
|
protectedpure virtualinherited |
Function to reconstruct one shower.
Referenced by showerreco::ShowerRecoAlgBase::Reconstruct().
|
inlinevirtual |
Function to reset algorithm, to be called @ beginning of each event.
Implements showerreco::ShowerRecoAlgBase.
Definition at line 39 of file ShowerRecoAlg.h.
References showerreco::ShowerRecoAlgBase::Reset().
|
inline |
Function to decide if to use ModBox (True) or Birks (False) for calorimetry.
Function to set whether to use E correction
Definition at line 48 of file ShowerRecoAlg.h.
References _Ecorrection, and RecoOneShower().
Referenced by ShowerReco3D::ShowerReco3D().
|
inline |
Function to decide if to use Area or Pulse Amplitude for calculations.
Definition at line 42 of file ShowerRecoAlg.h.
References fUseArea.
Referenced by ShowerReco3D::ShowerReco3D().
|
inlinevirtualinherited |
Verbosity switch.
Definition at line 61 of file ShowerRecoAlgBase.h.
Referenced by ShowerReco3D::ShowerReco3D().
|
private |
Boolean -> decide if to use energy correction or not.
Definition at line 62 of file ShowerRecoAlg.h.
Referenced by RecoOneShower(), setEcorrection(), and ShowerRecoAlg().
|
protectedinherited |
Calorimetry algorithm.
Definition at line 81 of file ShowerRecoAlgBase.h.
Referenced by showerreco::ShowerRecoAlgBase::Reconstruct(), and RecoOneShower().
|
private |
Definition at line 64 of file ShowerRecoAlg.h.
Referenced by RecoOneShower(), and ShowerRecoAlg().
|
private |
Definition at line 65 of file ShowerRecoAlg.h.
Referenced by RecoOneShower(), and ShowerRecoAlg().
|
protected |
Definition at line 57 of file ShowerRecoAlg.h.
Referenced by RecoOneShower(), and ShowerRecoAlg().
|
protectedinherited |
Input clusters.
Definition at line 84 of file ShowerRecoAlgBase.h.
Referenced by showerreco::ShowerRecoAlgBase::AppendInputClusters(), showerreco::ShowerRecoAlgBase::Reconstruct(), and showerreco::ShowerRecoAlgBase::Reset().
|
private |
Definition at line 66 of file ShowerRecoAlg.h.
Referenced by RecoOneShower(), SetUseArea(), and ShowerRecoAlg().
|
protectedinherited |
Verbosity flag.
Definition at line 78 of file ShowerRecoAlgBase.h.
Referenced by RecoOneShower(), ShowerRecoAlg(), and showerreco::ShowerRecoAlgBase::ShowerRecoAlgBase().