Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larpandora
larpandora
LArPandoraEventBuilding
LArPandoraShower
Tools
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
9
#include "art/Utilities/ToolMacros.h"
10
11
//LArSoft Includes
12
#include "
larpandora/LArPandoraEventBuilding/LArPandoraShower/Tools/IShowerTool.h
"
13
14
namespace
ShowerRecoTools {
15
16
class
ShowerSkeletonTool
:
public
IShowerTool
{
17
18
public
:
19
ShowerSkeletonTool
(
const
fhicl::ParameterSet& pset);
20
21
//Generic Direction Finder
22
int
CalculateElement
(
const
art::Ptr<recob::PFParticle>& pfparticle,
23
art::Event& Event,
24
reco::shower::ShowerElementHolder
& ShowerEleHolder)
override
;
25
26
private
:
27
//Function to add the assoctions
28
int
AddAssociations
(
const
art::Ptr<recob::PFParticle>& pfpPtr,
29
art::Event& Event,
30
reco::shower::ShowerElementHolder
& ShowerEleHolder)
override
;
31
32
// Stuff you will probably need that inherits from the module
33
art::InputTag
fPFParticleLabel
;
34
int
fVerbose
;
35
};
36
37
ShowerSkeletonTool::ShowerSkeletonTool
(
const
fhicl::ParameterSet& pset)
38
:
IShowerTool
(pset.
get
<fhicl::ParameterSet>(
"BaseTools"
))
39
, fPFParticleLabel(pset.
get
<art::InputTag>(
"PFParticleLabel"
))
40
, fVerbose(pset.
get
<int>(
"Verbose"
))
41
{}
42
43
int
44
ShowerSkeletonTool::CalculateElement
(
const
art::Ptr<recob::PFParticle>& pfparticle,
45
art::Event& Event,
46
reco::shower::ShowerElementHolder
& ShowerEleHolder)
47
{
48
return
0;
49
}
50
51
int
52
ShowerSkeletonTool::AddAssociations
(
const
art::Ptr<recob::PFParticle>& pfpPtr,
53
art::Event& Event,
54
reco::shower::ShowerElementHolder
& ShowerEleHolder)
55
{
56
return
0;
57
}
58
}
59
60
DEFINE_ART_CLASS_TOOL(
ShowerRecoTools::ShowerSkeletonTool
)
ShowerRecoTools::ShowerSkeletonTool::fVerbose
int fVerbose
Definition:
ShowerSkeletonTool_tool.cc:34
IShowerTool.h
get
get()
Definition:
PMTconfigurationExtraction_module.cc:168
ShowerRecoTools::ShowerSkeletonTool::AddAssociations
int AddAssociations(const art::Ptr< recob::PFParticle > &pfpPtr, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override
Definition:
ShowerSkeletonTool_tool.cc:52
ShowerRecoTools::ShowerSkeletonTool
Definition:
ShowerSkeletonTool_tool.cc:16
ShowerRecoTools::ShowerSkeletonTool::CalculateElement
int CalculateElement(const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override
Definition:
ShowerSkeletonTool_tool.cc:44
ShowerRecoTools::ShowerSkeletonTool::ShowerSkeletonTool
ShowerSkeletonTool(const fhicl::ParameterSet &pset)
Definition:
ShowerSkeletonTool_tool.cc:37
reco::shower::ShowerElementHolder
Definition:
ShowerElementHolder.hh:215
ShowerRecoTools::ShowerSkeletonTool::fPFParticleLabel
art::InputTag fPFParticleLabel
Definition:
ShowerSkeletonTool_tool.cc:33
ShowerRecoTools::IShowerTool
Definition:
IShowerTool.h:26
Generated by
1.8.5