ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/L1Menu/interface/l1menu/IReducedEvent.h
Revision: 1.2
Committed: Fri May 31 01:29:10 2013 UTC (11 years, 11 months ago) by grimes
Content type: text/plain
Branch: MAIN
Changes since 1.1: +10 -2 lines
Log Message:
Various improvements, including protobuf input and output for ReducedMenuSamples.

File Contents

# User Rev Content
1 grimes 1.1 #ifndef l1menu_IReducedEvent_h
2     #define l1menu_IReducedEvent_h
3    
4 grimes 1.2 //
5     // Forward declarations
6     //
7     namespace l1menu
8     {
9     class ITrigger;
10     }
11 grimes 1.1
12     namespace l1menu
13     {
14     /** @brief Interface for a simplified event format. The event just has the minimum threshold to pass for each trigger recorded.
15     *
16     * @author Mark Grimes (mark.grimes@bristol.ac.uk)
17     * @date 28/May/2013
18     */
19     class IReducedEvent
20     {
21     public:
22 grimes 1.2 typedef size_t ParameterID;
23     public:
24 grimes 1.1 virtual ~IReducedEvent() {}
25 grimes 1.2 virtual float parameterValue( ParameterID parameterNumber ) const = 0;
26 grimes 1.1 virtual float weight() const = 0; ///< @brief The weighting this event has been given
27     };
28    
29     } // end of namespace l1menu
30    
31    
32     #endif