LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ShowerRecoAlg.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_SHOWERRECOALG_H
15 #define RECOTOOL_SHOWERRECOALG_H
16 
17 #include "ShowerRecoAlgBase.h"
19 #include "ShowerCalo.h"
20 
21 namespace showerreco {
22 
29 
30  public:
31 
33  ShowerRecoAlg();
34 
36  virtual ~ShowerRecoAlg(){}
37 
39  virtual void Reset() { ShowerRecoAlgBase::Reset(); }
40 
42  void SetUseArea(bool on) { fUseArea = on; }
43 
45  //void SetUseModBox(bool on) { fCaloAlg.setUseModBox(on); }
46 
48  void setEcorrection(bool on) { _Ecorrection = on; }
49 
50  protected:
51 
53  virtual ::recob::Shower RecoOneShower(const std::vector< ::showerreco::ShowerCluster_t>& );
54 
55  protected:
56 
58 
59  private:
60 
63 
65  double fdEdxlength;
66  bool fUseArea;
67 
68  };
69 }
70 
71 #endif
72  // end of doxygen group
73 
virtual ::recob::Shower RecoOneShower(const std::vector< ::showerreco::ShowerCluster_t > &)
Function to reconstruct a shower.
bool _Ecorrection
Boolean -> decide if to use energy correction or not.
Definition: ShowerRecoAlg.h:62
virtual ~ShowerRecoAlg()
Default destructor.
Definition: ShowerRecoAlg.h:36
util::GeometryUtilities * fGSer
Definition: ShowerRecoAlg.h:57
virtual void Reset()
Function to reset algorithm, to be called @ beginning of each event.
Definition: ShowerRecoAlg.h:39
void setEcorrection(bool on)
Function to decide if to use ModBox (True) or Birks (False) for calorimetry.
Definition: ShowerRecoAlg.h:48
void SetUseArea(bool on)
Function to decide if to use Area or Pulse Amplitude for calculations.
Definition: ShowerRecoAlg.h:42
Class def header for a class ShowerRecoAlgBase.
Class def header for a class ShowerCalo.
ShowerRecoAlg()
Default constructor.
virtual void Reset()=0
Function to reset algorithm, to be called @ beginning of each event.