SliceIdBaseTool.h
Go to the documentation of this file.
1 /**
2  * @file larpandora/LArPandoraEventBuilding/SliceIdBaseTool.h
3  *
4  * @brief header for the lar pandora slice ID base tool
5  */
6 
7 #ifndef LAR_PANDORA_SLICE_ID_BASE_TOOL_H
8 #define LAR_PANDORA_SLICE_ID_BASE_TOOL_H 1
9 
11 
14 
15 namespace lar_pandora
16 {
17 
18 /**
19  * @brief Abstract base class for a slice ID tool
20  */
22 {
23 public:
24  virtual ~SliceIdBaseTool() noexcept = default;
25 
26  /**
27  * @brief The tools interface function. Here the derived tool will classify the input slices
28  *
29  * @param slices the input vector of slices to classify
30  * @param evt the art event
31  */
32  virtual void ClassifySlices(SliceVector &slices, const art::Event &evt) = 0;
33 };
34 
35 } // namespace lar_pandora
36 
37 #endif // #ifndef LAR_PANDORA_SLICE_ID_BASE_TOOL_H
virtual ~SliceIdBaseTool() noexcept=default
Abstract base class for a slice ID tool.
virtual void ClassifySlices(SliceVector &slices, const art::Event &evt)=0
The tools interface function. Here the derived tool will classify the input slices.
header for the lar pandora slice class
std::vector< TCSlice > slices
Definition: DataStructs.cxx:12
std::vector< Slice > SliceVector
Definition: Slice.h:68
TCEvent evt
Definition: DataStructs.cxx:7
helper function for LArPandoraInterface producer module