LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
ShowerRecoAlg.h
Go to the documentation of this file.
1 #ifndef RECOTOOL_SHOWERRECOALG_H
2 #define RECOTOOL_SHOWERRECOALG_H
3 
4 #include <vector>
5 
6 #include "ShowerRecoAlgBase.h"
9 
10 namespace detinfo {
11  class DetectorClocksData;
12  class DetectorPropertiesData;
13 }
14 
15 namespace showerreco {
16 
18  public:
20  void SetUseArea(bool on) { fUseArea = on; }
21 
22  void Verbose(bool verbose) { fVerbosity = verbose; }
23 
24  void CaloAlgo(calo::CalorimetryAlg* alg) { fCaloAlg = alg; }
25 
27  void setEcorrection(bool on) { _Ecorrection = on; }
28 
30  recob::Shower RecoOneShower(geo::GeometryCore const& geom,
31  geo::WireReadoutGeom const& wireReadoutGeom,
32  detinfo::DetectorClocksData const& clockData,
33  detinfo::DetectorPropertiesData const& detProp,
34  std::vector<showerreco::ShowerCluster_t> const&);
35 
36  private:
38  bool _Ecorrection{true};
39  bool fVerbosity{true};
40  double fcalodEdxlength{1000};
41  double fdEdxlength{2.4};
42  bool fUseArea{true};
43  };
44 }
45 
46 #endif
47  // end of doxygen group
void CaloAlgo(calo::CalorimetryAlg *alg)
Definition: ShowerRecoAlg.h:24
void setEcorrection(bool on)
Function to set whether to use E correction.
Definition: ShowerRecoAlg.h:27
Interface for a class providing readout channel mapping to geometry.
General LArSoft Utilities.
Description of the physical geometry of one entire detector.
Definition: GeometryCore.h:91
void SetUseArea(bool on)
Function to decide if to use Area or Pulse Amplitude for calculations.
Definition: ShowerRecoAlg.h:20
void Verbose(bool verbose)
Definition: ShowerRecoAlg.h:22
Contains all timing reference information for the detector.
Class def header for a class ShowerRecoAlgBase.
calo::CalorimetryAlg * fCaloAlg
Definition: ShowerRecoAlg.h:37