All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
12 namespace lar_pandora
13 {
14 
15 /**
16  * @brief Abstract base class for a slice ID tool
17  */
19 {
20 public:
21  virtual ~SliceIdBaseTool() noexcept = default;
22 
23  /**
24  * @brief The tools interface function. Here the derived tool will classify the input slices
25  *
26  * @param slices the input vector of slices to classify
27  * @param evt the art event
28  */
29  virtual void ClassifySlices(SliceVector &slices, const art::Event &evt) = 0;
30 };
31 
32 } // namespace lar_pandora
33 
34 #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:13
TCEvent evt
Definition: DataStructs.cxx:8