ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/L1Menu/interface/l1menu/IMenuRate.h
Revision: 1.2
Committed: Tue Jul 2 23:30:34 2013 UTC (11 years, 10 months ago) by grimes
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -0 lines
Error occurred while calculating annotation data.
Log Message:
Various changes to make interface conformance better, and dropping old unrequired methods

File Contents

# Content
1 #ifndef l1menu_IMenuRate_h
2 #define l1menu_IMenuRate_h
3
4 #include <vector>
5
6 //
7 // Forward declarations
8 //
9 namespace l1menu
10 {
11 class ITriggerRate;
12 }
13
14 namespace l1menu
15 {
16 /** @brief Interface to the rates for a collection; individually, total and (eventually) correlations.
17 *
18 * @author Mark Grimes (mark.grimes@bristol.ac.uk)
19 * @date 24/Jun/2013
20 */
21 struct IMenuRate
22 {
23 public:
24 virtual ~IMenuRate() {}
25
26 /** @brief The fraction of events that passed all triggers, 1 being all events and 0 no events. */
27 virtual float totalFraction() const = 0;
28 virtual float totalRate() const = 0;
29
30 virtual const std::vector<const l1menu::ITriggerRate*>& triggerRates() const = 0;
31 };
32
33 } // end of namespace l1menu
34
35 #endif