LArSoft  v09_90_00
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"
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:
23  void SetUseArea(bool on) { fUseArea = on; }
24 
25  void Verbose(bool verbose) { fVerbosity = verbose; }
26 
27  void CaloAlgo(calo::CalorimetryAlg* alg) { fCaloAlg = alg; }
28 
30  void setEcorrection(bool on) { _Ecorrection = on; }
31 
33  recob::Shower RecoOneShower(geo::GeometryCore const& geom,
34  detinfo::DetectorClocksData const& clockData,
35  detinfo::DetectorPropertiesData const& detProp,
36  std::vector<showerreco::ShowerCluster_t> const&);
37 
38  private:
40  bool _Ecorrection{true};
41  bool fVerbosity{true};
42  double fcalodEdxlength{1000};
43  double fdEdxlength{2.4};
44  bool fUseArea{true};
45  };
46 }
47 
48 #endif
49  // end of doxygen group
void CaloAlgo(calo::CalorimetryAlg *alg)
Definition: ShowerRecoAlg.h:27
void setEcorrection(bool on)
Function to set whether to use E correction.
Definition: ShowerRecoAlg.h:30
General LArSoft Utilities.
Description of geometry of one entire detector.
Definition: GeometryCore.h:119
void SetUseArea(bool on)
Function to decide if to use Area or Pulse Amplitude for calculations.
Definition: ShowerRecoAlg.h:23
void Verbose(bool verbose)
Definition: ShowerRecoAlg.h:25
Contains all timing reference information for the detector.
Class def header for a class ShowerRecoAlgBase.
calo::CalorimetryAlg * fCaloAlg
Definition: ShowerRecoAlg.h:39
Namespace collecting geometry-related classes utilities.