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
|