ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/L1Menu/interface/l1menu/ITrigger.h
Revision: 1.1
Committed: Sun May 5 20:37:25 2013 UTC (12 years ago) by grimes
Content type: text/plain
Branch: MAIN
Log Message:
First draft of the L1 Trigger rate estimation code

File Contents

# User Rev Content
1 grimes 1.1 #ifndef l1menu_ITrigger_h
2     #define l1menu_ITrigger_h
3    
4     #include <string>
5     #include <vector>
6    
7     // Forward declarations
8     namespace L1Analysis
9     {
10     class L1AnalysisDataFormat;
11     }
12    
13    
14     namespace l1menu
15     {
16     class ITrigger
17     {
18     public:
19     virtual ~ITrigger() {}
20     virtual const std::string name() const = 0;
21     virtual unsigned int version() const = 0;
22     virtual const std::vector<std::string> parameterNames() const = 0;
23     virtual float& parameter( const std::string& parameterName ) = 0;
24     virtual const float& parameter( const std::string& parameterName ) const = 0;
25     virtual bool apply( const L1Analysis::L1AnalysisDataFormat& event ) const = 0;
26     };
27    
28     } // end of namespace l1menu
29    
30     #endif