ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/VHbbAnalysisCode/interface/IBasicCut.h
Revision: 1.1
Committed: Tue Feb 14 01:43:14 2012 UTC (13 years, 2 months ago) by grimes
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
Only added the directory structure in the last commit, this is now the files.

File Contents

# User Rev Content
1 grimes 1.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"