CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/DataFormats/EgammaReco/src/EgammaTrigger.cc

Go to the documentation of this file.
00001 // $Id: EgammaTrigger.cc,v 1.1 2006/04/09 15:40:41 rahatlou Exp $
00002 #include "DataFormats/EgammaReco/interface/EgammaTrigger.h"
00003 using namespace reco;
00004 
00005 EgammaTrigger::EgammaTrigger( bool matchL1Single, bool matchL1Double, 
00006                               bool matchL1RelaxedDouble, bool matchIsolatedL1 ) :
00007   l1word_( 0 ) {
00008   if ( matchL1Single        ) l1word_ |= 1 << egamma::L1Single;
00009   if ( matchL1Double        ) l1word_ |= 1 << egamma::L1Double;
00010   if ( matchL1RelaxedDouble ) l1word_ |= 1 << egamma::L1RelaxedDouble;
00011   if ( matchIsolatedL1      ) l1word_ |= 1 << egamma::IsolatedL1;
00012 }