ShowerSkeletonTool_tool.cc
Go to the documentation of this file.
1 //############################################################################
2 //### Name: ShowerSkeletonTool ###
3 //### Author: You ###
4 //### Date: 13.05.19 ###
5 //### Description: Generic form of the shower tools ###
6 //############################################################################
7 
8 //Framework Includes
10 
11 //LArSoft Includes
13 
14 namespace ShowerRecoTools {
15 
17 
18  public:
20 
21  //Generic Direction Finder
22  int CalculateElement(const art::Ptr<recob::PFParticle>& pfparticle,
24  reco::shower::ShowerElementHolder& ShowerEleHolder) override;
25 
26  private:
27  //Function to add the assoctions
29  art::Event& Event,
30  reco::shower::ShowerElementHolder& ShowerEleHolder) override;
31 
32  // Stuff you will probably need that inherits from the module
34  int fVerbose;
35  };
36 
38  : IShowerTool(pset.get<fhicl::ParameterSet>("BaseTools"))
39  , fPFParticleLabel(pset.get<art::InputTag>("PFParticleLabel"))
40  , fVerbose(pset.get<int>("Verbose"))
41  {}
42 
43  int
45  art::Event& Event,
46  reco::shower::ShowerElementHolder& ShowerEleHolder)
47  {
48  return 0;
49  }
50 
51  int
53  art::Event& Event,
54  reco::shower::ShowerElementHolder& ShowerEleHolder)
55  {
56  return 0;
57  }
58 }
59 
#define DEFINE_ART_CLASS_TOOL(tool)
Definition: ToolMacros.h:42
int AddAssociations(const art::Ptr< recob::PFParticle > &pfpPtr, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override
int CalculateElement(const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override
Definition: types.h:32
ShowerSkeletonTool(const fhicl::ParameterSet &pset)
auto const & get(AssnsNode< L, R, D > const &r)
Definition: AssnsNode.h:115