LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ShowerEnergyAlg.h
Go to the documentation of this file.
1 // Class: ShowerEnergyAlg
3 // File: ShowerEnergyAlg.h
4 // Author: Mike Wallbank (m.wallbank@sheffield.ac.uk), November 2015
5 //
6 // Shower energy finding class
8 
9 #ifndef ShowerEnergyAlg_hxx
10 #define ShowerEnergyAlg_hxx
11 
12 // Framework
13 #include "fhiclcpp/ParameterSet.h"
17 
18 // larsoft
22 
23 // ROOT
24 #include "TMath.h"
25 
26 namespace shower {
27  class ShowerEnergyAlg;
28 }
29 
31  public:
32 
34 
36  double ShowerEnergy(std::vector<art::Ptr<recob::Hit> > const& hits, int plane);
37 
38  private:
39 
43 
45 
46 };
47 
48 #endif
double ShowerEnergy(std::vector< art::Ptr< recob::Hit > > const &hits, int plane)
Finds the total energy deposited by the shower in this view.
detinfo::DetectorProperties const * detprop
Declaration of signal hit object.
ShowerEnergyAlg(fhicl::ParameterSet const &pset)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
void hits()
Definition: readHits.C:15