L1TriggerConfig
GMTConfigProducers
interface
L1MuGMTParametersOnlineProducer.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// \class L1MuGMTParametersOnlineProducer
4
//
5
// Description: A class to produce the L1 GMT emulator parameters in the event setup
6
// by reading them from the online database.
7
//
8
//
9
// Author :
10
// Thomas Themel
11
//
12
//--------------------------------------------------
13
#ifndef GMTConfigProducers_L1MuGMTParametersOnlineProducer_h
14
#define GMTConfigProducers_L1MuGMTParametersOnlineProducer_h
15
16
// system include files
17
#include <memory>
18
19
// user include files
20
21
#include "
CondFormats/L1TObjects/interface/L1MuGMTParameters.h
"
22
#include "
CondFormats/DataRecord/interface/L1MuGMTParametersRcd.h
"
23
#include "
CondTools/L1Trigger/interface/L1ConfigOnlineProdBase.h
"
24
25
//
26
// class declaration
27
//
28
29
class
L1MuGMTParametersOnlineProducer
:
public
L1ConfigOnlineProdBase
<L1MuGMTParametersRcd, L1MuGMTParameters> {
30
public
:
31
L1MuGMTParametersOnlineProducer
(
const
edm::ParameterSet
&);
32
~L1MuGMTParametersOnlineProducer
()
override
;
33
35
std::unique_ptr<L1MuGMTParameters>
newObject
(
const
std::string
& objectKey)
override
;
36
37
protected
:
38
void
checkCMSSWVersion
(
const
coral::AttributeList& configRecord);
39
40
private
:
41
std::string
lookupSoftwareConfigKey
(
const
std::string
& globalKey);
42
bool
ignoreVersionMismatch_
;
43
};
44
45
#endif
L1MuGMTParametersRcd.h
L1MuGMTParametersOnlineProducer::lookupSoftwareConfigKey
std::string lookupSoftwareConfigKey(const std::string &globalKey)
L1ConfigOnlineProdBase
Definition:
L1ConfigOnlineProdBase.h:52
L1MuGMTParametersOnlineProducer::~L1MuGMTParametersOnlineProducer
~L1MuGMTParametersOnlineProducer() override
Definition:
L1MuGMTParametersOnlineProducer.cc:140
L1MuGMTParametersOnlineProducer::newObject
std::unique_ptr< L1MuGMTParameters > newObject(const std::string &objectKey) override
The method that actually implements the production of the parameter objects.
Definition:
L1MuGMTParametersOnlineProducer.cc:34
L1MuGMTParameters.h
L1MuGMTParametersOnlineProducer::L1MuGMTParametersOnlineProducer
L1MuGMTParametersOnlineProducer(const edm::ParameterSet &)
Definition:
L1MuGMTParametersOnlineProducer.cc:135
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
L1MuGMTParametersOnlineProducer::ignoreVersionMismatch_
bool ignoreVersionMismatch_
Definition:
L1MuGMTParametersOnlineProducer.h:42
L1MuGMTParametersOnlineProducer
Definition:
L1MuGMTParametersOnlineProducer.h:29
L1MuGMTParametersOnlineProducer::checkCMSSWVersion
void checkCMSSWVersion(const coral::AttributeList &configRecord)
Definition:
L1MuGMTParametersOnlineProducer.cc:110
L1ConfigOnlineProdBase.h
Generated for CMSSW Reference Manual by
1.8.16