Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
11
12
namespace
egHLT {
13
14
struct
CutMasks
{
15
int
stdEle
;
16
int
tagEle
;
17
int
probeEle
;
18
int
fakeEle
;
19
int
trigTPEle
;
20
int
trigTPPho
;
21
int
stdPho
;
22
23
void
setup
(
const
edm::ParameterSet
&
conf
){
24
stdEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"stdEle"
));
25
tagEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"tagEle"
));
26
probeEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"probeEle"
));
27
fakeEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"fakeEle"
));
28
trigTPEle
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"trigTPEle"
));
29
trigTPPho
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"trigTPPho"
));
30
stdPho
=
EgCutCodes::getCode
(conf.
getParameter
<
std::string
>(
"stdPho"
));
31
}
32
};
33
34
35
36
}
37
38
#endif
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
egHLT::CutMasks::trigTPPho
int trigTPPho
Definition:
EgHLTCutMasks.h:20
egHLT::CutMasks::stdPho
int stdPho
Definition:
EgHLTCutMasks.h:21
egHLT::CutMasks::probeEle
int probeEle
Definition:
EgHLTCutMasks.h:17
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
egHLT::CutMasks::stdEle
int stdEle
Definition:
EgHLTCutMasks.h:15
ParameterSet.h
egHLT::CutMasks::tagEle
int tagEle
Definition:
EgHLTCutMasks.h:16
egHLT::EgCutCodes::getCode
static int getCode(const std::string &descript)
Definition:
EgHLTEgCutCodes.h:67
dbtoconf.conf
tuple conf
Definition:
dbtoconf.py:185
egHLT::CutMasks::trigTPEle
int trigTPEle
Definition:
EgHLTCutMasks.h:19
egHLT::CutMasks
Definition:
EgHLTCutMasks.h:14
egHLT::CutMasks::fakeEle
int fakeEle
Definition:
EgHLTCutMasks.h:18
edm::ParameterSet
Definition:
ParameterSet.h:35
EgHLTEgCutCodes.h
egHLT::CutMasks::setup
void setup(const edm::ParameterSet &conf)
Definition:
EgHLTCutMasks.h:23
Generated for CMSSW Reference Manual by
1.8.5