DQMOffline
Trigger
interface
EgHLTCutMasks.h
Go to the documentation of this file.
1
#ifndef DQMOFFLINE_TRIGGER_EGHLTCUTMASKS
2
#define DQMOFFLINE_TRIGGER_EGHLTCUTMASKS
3
4
//this is a bunch of usefull cut masks to turn off / on cuts
5
//this class may disappear in the future
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
8
#include "
DQMOffline/Trigger/interface/EgHLTEgCutCodes.h
"
9
10
namespace
egHLT
{
11
12
struct
CutMasks
{
13
int
stdEle
;
14
int
tagEle
;
15
int
probeEle
;
16
int
fakeEle
;
17
int
trigTPEle
;
18
int
trigTPPho
;
19
int
stdPho
;
20
21
void
setup
(
const
edm::ParameterSet
& conf) {
22
stdEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"stdEle"
));
23
tagEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"tagEle"
));
24
probeEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"probeEle"
));
25
fakeEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"fakeEle"
));
26
trigTPEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"trigTPEle"
));
27
trigTPPho
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"trigTPPho"
));
28
stdPho
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"stdPho"
));
29
}
30
};
31
32
}
// namespace egHLT
33
34
#endif
egHLT::CutMasks::trigTPPho
int trigTPPho
Definition:
EgHLTCutMasks.h:18
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
egHLT::CutMasks::stdPho
int stdPho
Definition:
EgHLTCutMasks.h:19
egHLT::CutMasks::probeEle
int probeEle
Definition:
EgHLTCutMasks.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
egHLT::CutMasks::stdEle
int stdEle
Definition:
EgHLTCutMasks.h:13
ParameterSet.h
egHLT::CutMasks::tagEle
int tagEle
Definition:
EgHLTCutMasks.h:14
egHLT::EgCutCodes::getCode
static int getCode(const std::string &descript)
Definition:
EgHLTEgCutCodes.h:65
egHLT::CutMasks::trigTPEle
int trigTPEle
Definition:
EgHLTCutMasks.h:17
egHLT::CutMasks
Definition:
EgHLTCutMasks.h:12
egHLT::CutMasks::fakeEle
int fakeEle
Definition:
EgHLTCutMasks.h:16
edm::ParameterSet
Definition:
ParameterSet.h:47
egHLT
Definition:
EgHLTBinData.h:10
EgHLTEgCutCodes.h
egHLT::CutMasks::setup
void setup(const edm::ParameterSet &conf)
Definition:
EgHLTCutMasks.h:21
Generated for CMSSW Reference Manual by
1.8.14