ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/grimes/L1Menu/interface/l1menu/ICachedTrigger.h
Revision: 1.1
Committed: Fri Jun 28 14:30:07 2013 UTC (11 years, 10 months ago) by grimes
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
Added ICachedTrigger to speed up processing

File Contents

# Content
1 #ifndef l1menu_ICachedTrigger_h
2 #define l1menu_ICachedTrigger_h
3
4 //
5 // Forward declarations
6 //
7 namespace l1menu
8 {
9 class IEvent;
10 }
11
12
13 namespace l1menu
14 {
15 /** @brief An interface to a proxy trigger object that can be requested from ISamples that *may* make
16 * processing significantly faster.
17 *
18 * Some implementations of ISample can cache some information in this object that helps them
19 * process trigger rates etcetera significantly faster. For other implementations there is no
20 * improvement.
21 *
22 * @author Mark Grimes (mark.grimes@bristol.ac.uk)
23 * @date 26/Jun/2013
24 */
25 class ICachedTrigger
26 {
27 public:
28 virtual ~ICachedTrigger() {}
29 /** @brief Whether or not the event passes this trigger. */
30 virtual bool apply( const l1menu::IEvent& event ) = 0;
31 }; // end of class ICachedTrigger
32
33 } // end of namespace l1menu
34
35 #endif