Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TCalorimeter
src
firmware
Stage2Layer1FirmwareFactory.cc
Go to the documentation of this file.
1
8
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
9
10
#include "
L1Trigger/L1TCalorimeter/interface/Stage2PreProcessorFirmware.h
"
11
#include "
L1Trigger/L1TCalorimeter/interface/Stage2Layer1FirmwareFactory.h
"
12
13
#include "
L1Trigger/L1TCalorimeter/interface/CaloParamsHelper.h
"
14
15
using namespace
std;
16
using namespace
edm;
17
18
l1t::Stage2Layer1FirmwareFactory::ReturnType
19
l1t::Stage2Layer1FirmwareFactory::create
(
unsigned
fwv,
CaloParamsHelper
* params) {
20
21
ReturnType
p
;
22
unsigned
v
= fwv;
23
24
switch
(v){
25
case
1:
26
p =
ReturnType
(
new
Stage2PreProcessorFirmwareImp1
(fwv, params));
27
break
;
28
default
:
29
// Invalid Firmware, log an error:
30
LogError
(
"l1t|caloStage2"
) <<
"Invalid firmware version requested: "
<< v <<
"\n"
;
31
break
;
32
}
33
34
return
p
;
35
36
}
MessageLogger.h
l1t::Stage2Layer1FirmwareFactory::ReturnType
boost::shared_ptr< Stage2PreProcessor > ReturnType
Definition:
Stage2Layer1FirmwareFactory.h:25
CaloParamsHelper.h
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
l1t::CaloParamsHelper
Definition:
CaloParamsHelper.h:19
edm::LogError
Definition:
MessageLogger.h:164
Stage2Layer1FirmwareFactory.h
ecaldqm::ReturnType
std::map< DetId, double > ReturnType
Definition:
DBReaderWorkers.cc:55
l1t::Stage2Layer1FirmwareFactory::create
ReturnType create(unsigned fwv, CaloParamsHelper *params)
Definition:
Stage2Layer1FirmwareFactory.cc:19
Stage2PreProcessorFirmware.h
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
l1t::Stage2PreProcessorFirmwareImp1
Definition:
Stage2PreProcessorFirmware.h:23
Generated for CMSSW Reference Manual by
1.8.5