1 |
#ifndef trkupgradeanalysis_IBasicCut_h
|
2 |
#define trkupgradeanalysis_IBasicCut_h
|
3 |
|
4 |
// Forward declarations
|
5 |
namespace trkupgradeanalysis
|
6 |
{
|
7 |
class IHistogramVariable;
|
8 |
}
|
9 |
|
10 |
namespace trkupgradeanalysis
|
11 |
{
|
12 |
/** @brief Abstract base class for cuts.
|
13 |
*
|
14 |
* @author Mark Grimes (mark.grimes@bristol.ac.uk)
|
15 |
* @date 26/Nov/2011
|
16 |
*/
|
17 |
class IBasicCut
|
18 |
{
|
19 |
public:
|
20 |
virtual ~IBasicCut() {}
|
21 |
|
22 |
/// @brief The name of the cut
|
23 |
virtual std::string name() const = 0;
|
24 |
|
25 |
/// @brief Returns a HistogramVariable instance with the value from the last call of applyCut
|
26 |
virtual const trkupgradeanalysis::IHistogramVariable& cutVariable() const = 0;
|
27 |
};
|
28 |
|
29 |
} // end of namespace trkupgradeanalysis
|
30 |
|
31 |
|
32 |
#endif // end of "#ifndef trkupgradeanalysis_IBasicCut_h"
|