All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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"
8 
9 namespace geo {
10  class GeometryCore;
11 }
12 
13 namespace detinfo {
14  class DetectorClocksData;
15  class DetectorPropertiesData;
16 }
17 
18 namespace showerreco {
19 
21  public:
22  /// Function to decide if to use Area or Pulse Amplitude for calculations
23  void
24  SetUseArea(bool on)
25  {
26  fUseArea = on;
27  }
28 
29  void
31  {
33  }
34 
35  void
37  {
38  fCaloAlg = alg;
39  }
40 
41  /// Function to set whether to use E correction
42  void
43  setEcorrection(bool on)
44  {
45  _Ecorrection = on;
46  }
47 
48  /// Function to reconstruct a shower
50  detinfo::DetectorClocksData const& clockData,
52  std::vector<showerreco::ShowerCluster_t> const&);
53 
54  private:
56  bool _Ecorrection{true};
57  bool fVerbosity{true};
58  double fcalodEdxlength{1000};
59  double fdEdxlength{2.4};
60  bool fUseArea{true};
61  };
62 }
63 
64 #endif
65 /** @} */ // end of doxygen group
void CaloAlgo(calo::CalorimetryAlg *alg)
Definition: ShowerRecoAlg.h:36
v let verbose
void setEcorrection(bool on)
Function to set whether to use E correction.
Definition: ShowerRecoAlg.h:43
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.
Description of geometry of one entire detector.
void SetUseArea(bool on)
Function to decide if to use Area or Pulse Amplitude for calculations.
Definition: ShowerRecoAlg.h:24
void Verbose(bool verbose)
Definition: ShowerRecoAlg.h:30
Contains all timing reference information for the detector.
Class def header for a class ShowerRecoAlgBase.
calo::CalorimetryAlg * fCaloAlg
Definition: ShowerRecoAlg.h:55
auto const detProp