Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TMuon
src
MicroGMTAbsoluteIsolationCheckLUTFactory.cc
Go to the documentation of this file.
1
//
7
// This class implements the AbsoluteIsolationCheckLUT 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
MicroGMTAbsoluteIsolationCheckLUTFactory::ReturnType
19
MicroGMTAbsoluteIsolationCheckLUTFactory::create
(
const
std::string
&
filename
,
const
int
fwVersion
) {
20
ReturnType
p
;
21
22
switch
(fwVersion) {
23
case
1:
24
p =
ReturnType
(
new
MicroGMTAbsoluteIsolationCheckLUT
(filename));
25
break
;
26
default
:
27
LogError
(
"MicroGMTAbsoluteIsolationCheckLUTFactory"
) <<
"Invalid firmware version requested: "
<<
fwVersion
;
28
}
29
return
p
;
30
}
31
}
MessageLogger.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::LogError
Definition:
MessageLogger.h:164
ecaldqm::ReturnType
std::map< DetId, double > ReturnType
Definition:
DBReaderWorkers.cc:55
stage2BMTFBufferRaw_cfi.fwVersion
tuple fwVersion
Definition:
stage2BMTFBufferRaw_cfi.py:62
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
lut2db_cfg.filename
tuple filename
Definition:
lut2db_cfg.py:20
MicroGMTLUTFactories.h
l1t::MicroGMTAbsoluteIsolationCheckLUT
Definition:
MicroGMTAbsoluteIsolationCheckLUT.h:9
l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::ReturnType
std::shared_ptr< MicroGMTAbsoluteIsolationCheckLUT > ReturnType
Definition:
MicroGMTLUTFactories.h:58
SurfaceDeformationFactory::create
SurfaceDeformation * create(int type, const std::vector< double > ¶ms)
Definition:
SurfaceDeformationFactory.cc:27
Generated for CMSSW Reference Manual by
1.8.5