DataFormats
EgammaReco
src
EgammaTrigger.cc
Go to the documentation of this file.
1
#include "
DataFormats/EgammaReco/interface/EgammaTrigger.h
"
2
using namespace
reco
;
3
4
EgammaTrigger::EgammaTrigger
(
bool
matchL1Single,
bool
matchL1Double,
bool
matchL1RelaxedDouble,
bool
matchIsolatedL1)
5
: l1word_(0) {
6
if
(matchL1Single)
7
l1word_
|= 1 <<
egamma::L1Single
;
8
if
(matchL1Double)
9
l1word_
|= 1 <<
egamma::L1Double
;
10
if
(matchL1RelaxedDouble)
11
l1word_
|= 1 <<
egamma::L1RelaxedDouble
;
12
if
(matchIsolatedL1)
13
l1word_
|= 1 <<
egamma::IsolatedL1
;
14
}
EgammaTrigger.h
reco::EgammaTrigger::l1word_
unsigned char l1word_
trigger work (packed). Only 4 bits are used.
Definition:
EgammaTrigger.h:56
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::egamma::L1Single
Definition:
EgammaTrigger.h:18
reco::egamma::L1Double
Definition:
EgammaTrigger.h:18
reco::egamma::L1RelaxedDouble
Definition:
EgammaTrigger.h:18
reco::egamma::IsolatedL1
Definition:
EgammaTrigger.h:18
reco::EgammaTrigger::EgammaTrigger
EgammaTrigger()
default constructor
Definition:
EgammaTrigger.h:32
Generated for CMSSW Reference Manual by
1.8.16