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.
1 // $Id: EgammaTrigger.cc,v 1.1 2006/04/09 15:40:41 rahatlou Exp $
3 using namespace reco;
4 
5 EgammaTrigger::EgammaTrigger( bool matchL1Single, bool matchL1Double,
6  bool matchL1RelaxedDouble, bool matchIsolatedL1 ) :
7  l1word_( 0 ) {
8  if ( matchL1Single ) l1word_ |= 1 << egamma::L1Single;
9  if ( matchL1Double ) l1word_ |= 1 << egamma::L1Double;
10  if ( matchL1RelaxedDouble ) l1word_ |= 1 << egamma::L1RelaxedDouble;
11  if ( matchIsolatedL1 ) l1word_ |= 1 << egamma::IsolatedL1;
12 }
unsigned char l1word_
trigger work (packed). Only 4 bits are used.
Definition: EgammaTrigger.h:53
EgammaTrigger()
default constructor
Definition: EgammaTrigger.h:29