#include <DataFormats/EgammaReco/interface/EgammaTrigger.h>
Public Member Functions | |
EgammaTrigger () | |
default constructor More... | |
EgammaTrigger (bool, bool, bool, bool) | |
constructor from boolean values More... | |
unsigned char | l1word () const |
return the trigger work More... | |
template<unsigned char L1> | |
bool | match () |
template<unsigned char L1> | |
void | set () |
Private Attributes | |
unsigned char | l1word_ |
trigger work (packed). Only 4 bits are used. More... | |
Egamma trigger bit set
Definition at line 25 of file EgammaTrigger.h.
|
inline |
default constructor
Definition at line 28 of file EgammaTrigger.h.
EgammaTrigger::EgammaTrigger | ( | bool | matchL1Single, |
bool | matchL1Double, | ||
bool | matchL1RelaxedDouble, | ||
bool | matchIsolatedL1 | ||
) |
constructor from boolean values
Definition at line 4 of file EgammaTrigger.cc.
References reco::egamma::IsolatedL1, reco::egamma::L1Double, reco::egamma::L1RelaxedDouble, reco::egamma::L1Single, and l1word_.
|
inline |
return the trigger work
Definition at line 48 of file EgammaTrigger.h.
References l1word_.
|
inline |
returns the trigger bit at positon L1 (L1 = 0, ..., 3) L1 couls be one of the enumerator defined in egamma namespace
Definition at line 36 of file EgammaTrigger.h.
References l1word_.
|
inline |
sets to 1 the trigger bit at positon L1 (L1 = 0, ..., 3) L1 couls be one of the enumerator defined in egamma namespace
Definition at line 43 of file EgammaTrigger.h.
References l1word_.
|
private |
trigger work (packed). Only 4 bits are used.
Definition at line 52 of file EgammaTrigger.h.
Referenced by EgammaTrigger(), l1word(), match(), and set().