ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/L1Menu/interface/l1menu/ITriggerRate.h
Revision: 1.1
Committed: Mon Jun 24 14:47:36 2013 UTC (11 years, 10 months ago) by grimes
Content type: text/plain
Branch: MAIN
Log Message:
Changes to the way trigger rates are returned

File Contents

# User Rev Content
1 grimes 1.1 #ifndef l1menu_ITriggerRate_h
2     #define l1menu_ITriggerRate_h
3    
4     #include <vector>
5    
6     namespace l1menu
7     {
8     /** @brief Interface to get information about the trigger rate. Read only.
9     *
10     * @author Mark Grimes (mark.grimes@bristol.ac.uk)
11     * @date 24/Jun/2013
12     */
13     class ITriggerRate
14     {
15     public:
16     virtual ~ITriggerRate() {}
17    
18     virtual const l1menu::ITrigger& trigger() const = 0;
19    
20     /** @brief The fraction of events that this trigger passed, so before applying any scaling. */
21     virtual float fraction() const = 0;
22    
23     /** @brief The rate, so fraction multiplied by the scaling. */
24     virtual float rate() const = 0;
25     };
26    
27     } // end of namespace l1menu
28    
29     #endif