CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaTrigger.cc
Go to the documentation of this file.
2 using namespace reco;
3 
4 EgammaTrigger::EgammaTrigger( bool matchL1Single, bool matchL1Double,
5  bool matchL1RelaxedDouble, bool matchIsolatedL1 ) :
6  l1word_( 0 ) {
7  if ( matchL1Single ) l1word_ |= 1 << egamma::L1Single;
8  if ( matchL1Double ) l1word_ |= 1 << egamma::L1Double;
9  if ( matchL1RelaxedDouble ) l1word_ |= 1 << egamma::L1RelaxedDouble;
10  if ( matchIsolatedL1 ) l1word_ |= 1 << egamma::IsolatedL1;
11 }
unsigned char l1word_
trigger work (packed). Only 4 bits are used.
Definition: EgammaTrigger.h:52
EgammaTrigger()
default constructor
Definition: EgammaTrigger.h:28