LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
EventSlicingBaseTool.h
Go to the documentation of this file.
1 
8 #ifndef LAR_EVENT_SLICING_BASE_TOOL_H
9 #define LAR_EVENT_SLICING_BASE_TOOL_H 1
10 
11 #include "Pandora/Algorithm.h"
12 #include "Pandora/AlgorithmTool.h"
13 
15 
16 namespace lar_content
17 {
18 
19 typedef std::map<pandora::HitType, std::string> HitTypeToNameMap;
23 class EventSlicingBaseTool : public pandora::AlgorithmTool
24 {
25 public:
34  virtual void RunSlicing(const pandora::Algorithm *const pAlgorithm, const HitTypeToNameMap &caloHitListNames,
35  const HitTypeToNameMap &clusterListNames, SliceList &sliceList) = 0;
36 };
37 
38 } // namespace lar_content
39 
40 #endif // #ifndef LAR_EVENT_SLICING_BASE_TOOL_H
std::vector< Slice > SliceList
Definition: LArSlice.h:29
EventSlicingBaseTool class.
virtual void RunSlicing(const pandora::Algorithm *const pAlgorithm, const HitTypeToNameMap &caloHitListNames, const HitTypeToNameMap &clusterListNames, SliceList &sliceList)=0
Run the slicing tool.
std::map< pandora::HitType, std::string > HitTypeToNameMap
Header file for a simple class representing a slice.