LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
StitchingBaseTool.h
Go to the documentation of this file.
1 
8 #ifndef LAR_STITCHING_BASE_TOOL_H
9 #define LAR_STITCHING_BASE_TOOL_H 1
10 
11 #include "Pandora/AlgorithmTool.h"
12 
14 
15 namespace lar_content
16 {
17 
18 class MasterAlgorithm;
19 
20 typedef std::unordered_map<const pandora::ParticleFlowObject *, const pandora::LArTPC *> PfoToLArTPCMap;
21 typedef std::unordered_map<const pandora::ParticleFlowObject *, float> PfoToFloatMap;
25 class StitchingBaseTool : public pandora::AlgorithmTool
26 {
27 public:
36  virtual void Run(const MasterAlgorithm *const pAlgorithm, const pandora::PfoList *const pMultiPfoList, PfoToLArTPCMap &pfoToLArTPCMap,
37  PfoToFloatMap &stitchedPfosToX0Map) = 0;
38 };
39 
40 } // namespace lar_content
41 
42 #endif // #ifndef LAR_STITCHING_BASE_TOOL_H
std::unordered_map< const pandora::ParticleFlowObject *, const pandora::LArTPC * > PfoToLArTPCMap
Header file for the master algorithm class.
std::unordered_map< const pandora::ParticleFlowObject *, float > PfoToFloatMap
StitchingBaseTool class.
MasterAlgorithm class.
virtual void Run(const MasterAlgorithm *const pAlgorithm, const pandora::PfoList *const pMultiPfoList, PfoToLArTPCMap &pfoToLArTPCMap, PfoToFloatMap &stitchedPfosToX0Map)=0
Run the algorithm tool.