Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
)
DEFINE_ART_CLASS_TOOL
#define DEFINE_ART_CLASS_TOOL(tool)
Definition:
ToolMacros.h:42
ShowerRecoTools::ShowerSkeletonTool::fVerbose
int fVerbose
Definition:
ShowerSkeletonTool_tool.cc:34
IShowerTool.h
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
ToolMacros.h
fhicl
Definition:
InputSourceFactory.h:7
art::InputTag
Definition:
InputTag.h:12
keras_to_tensorflow.int
int
Definition:
keras_to_tensorflow.py:69
ShowerRecoTools
Definition:
ShowerDirectionCheater_tool.cc:16
art::Event
Definition:
Event.h:22
Event
Definition:
types.h:32
ShowerRecoTools::ShowerSkeletonTool::ShowerSkeletonTool
ShowerSkeletonTool(const fhicl::ParameterSet &pset)
Definition:
ShowerSkeletonTool_tool.cc:37
reco::shower::ShowerElementHolder
Definition:
ShowerElementHolder.hh:213
art
Definition:
BasicOptionsHandler.h:9
ShowerRecoTools::ShowerSkeletonTool::fPFParticleLabel
art::InputTag fPFParticleLabel
Definition:
ShowerSkeletonTool_tool.cc:33
ShowerRecoTools::IShowerTool
Definition:
IShowerTool.h:25
art::get
auto const & get(AssnsNode< L, R, D > const &r)
Definition:
AssnsNode.h:115
art::Ptr< recob::PFParticle >
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11