ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/L1Menu/interface/l1menu/IEvent.h
Revision: 1.3
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.2: +2 -0 lines
Log Message:
Various changes to make interface conformance better, and dropping old unrequired methods

File Contents

# Content
1 #ifndef l1menu_IEvent_h
2 #define l1menu_IEvent_h
3
4 //
5 // Forward declarations
6 //
7 namespace l1menu
8 {
9 class ITrigger;
10 class ISample;
11 }
12
13 namespace l1menu
14 {
15 /** @brief Interface for the most basic form of event.
16 *
17 * @author Mark Grimes (mark.grimes@bristol.ac.uk)
18 * @date 25/Jun/2013
19 */
20 class IEvent
21 {
22 public:
23 virtual ~IEvent() {}
24 virtual bool passesTrigger( const l1menu::ITrigger& trigger ) const = 0;
25 virtual float weight() const = 0; ///< @brief The weighting this event has been given
26 virtual const l1menu::ISample& sample() const = 0; ///< @brief The sample that this event came from.
27 };
28
29 } // end of namespace l1menu
30
31
32 #endif