Main Page
Namespaces
Classes
Package Documentation
L1Trigger
L1TMuon
src
MicroGMTRelativeIsolationCheckLUTFactory.cc
Go to the documentation of this file.
1
//
7
// This class implements the RelativeIsolationCheckLUT factory. Based on the firmware
8
// version it selects the appropriate concrete implementation.
9
//
10
11
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
12
13
#include "
L1Trigger/L1TMuon/interface/MicroGMTLUTFactories.h
"
14
15
using namespace
edm
;
16
17
namespace
l1t
{
18
MicroGMTRelativeIsolationCheckLUTFactory::ReturnType
19
MicroGMTRelativeIsolationCheckLUTFactory::create
(
const
std::string
&
filename
,
const
int
fwVersion
) {
20
ReturnType
p
;
21
22
if
(fwVersion >= 1) {
23
p =
ReturnType
(
new
MicroGMTRelativeIsolationCheckLUT
(filename));
24
}
else
{
25
LogError
(
"MicroGMTRelativeIsolationCheckLUTFactory"
) <<
"Invalid firmware version requested: 0x"
<< std::hex << fwVersion <<
std::dec
;
26
}
27
return
p
;
28
}
29
30
MicroGMTRelativeIsolationCheckLUTFactory::ReturnType
31
MicroGMTRelativeIsolationCheckLUTFactory::create
(
l1t::LUT
*
lut
,
const
int
fwVersion
) {
32
ReturnType
p
;
33
34
if
(fwVersion >= 1) {
35
p =
ReturnType
(
new
MicroGMTRelativeIsolationCheckLUT
(lut));
36
}
else
{
37
LogError
(
"MicroGMTRelativeIsolationCheckLUTFactory"
) <<
"Invalid firmware version requested: 0x"
<< std::hex << fwVersion <<
std::dec
;
38
}
39
return
p
;
40
}
41
}
MessageLogger.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition:
beamerCreator.py:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
corrVsCorr.filename
filename
Definition:
corrVsCorr.py:121
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::MicroGMTRelativeIsolationCheckLUT
Definition:
MicroGMTRelativeIsolationCheckLUT.h:8
edm::LogError
Definition:
MessageLogger.h:166
ecaldqm::ReturnType
std::map< DetId, double > ReturnType
Definition:
DBReaderWorkers.cc:55
l1t::MicroGMTRelativeIsolationCheckLUTFactory::ReturnType
std::shared_ptr< MicroGMTRelativeIsolationCheckLUT > ReturnType
Definition:
MicroGMTLUTFactories.h:73
l1t::LUT
Definition:
LUT.h:29
TauDecayModes.dec
dec
Definition:
TauDecayModes.py:141
edm
HLT enums.
Definition:
AlignableModifier.h:17
MicroGMTLUTFactories.h
hgcalDigitizer_cfi.fwVersion
fwVersion
Definition:
hgcalDigitizer_cfi.py:27
lumiPlot.lut
lut
Definition:
lumiPlot.py:244
Generated for CMSSW Reference Manual by
1.8.11