L1Trigger
L1TMuonOverlap
plugins
L1TMuonOverlapParamsESProducer.h
Go to the documentation of this file.
1
// system include files
2
#include <memory>
3
4
// user include files
5
#include "
FWCore/Framework/interface/ModuleFactory.h
"
6
#include "
FWCore/Framework/interface/ESProducer.h
"
7
#include "
FWCore/Framework/interface/ESHandle.h
"
8
#include "
FWCore/Framework/interface/ESProducts.h
"
9
10
#include "
CondFormats/L1TObjects/interface/L1TMuonOverlapParams.h
"
11
#include "
CondFormats/DataRecord/interface/L1TMuonOverlapParamsRcd.h
"
12
13
#include "
L1Trigger/L1TMuonOverlap/interface/OMTFConfiguration.h
"
14
#include "
L1Trigger/L1TMuonOverlap/interface/XMLConfigReader.h
"
15
16
class
L1TMuonOverlapParamsESProducer
:
public
edm::ESProducer
{
17
public
:
18
L1TMuonOverlapParamsESProducer
(
const
edm::ParameterSet
&);
19
~L1TMuonOverlapParamsESProducer
()
override
;
20
21
using
ReturnType
= std::unique_ptr<L1TMuonOverlapParams>;
22
23
ReturnType
produceParams
(
const
L1TMuonOverlapParamsRcd
&);
24
25
ReturnType
producePatterns
(
const
L1TMuonOverlapParamsRcd
&);
26
27
private
:
31
bool
readPatternsXML
(
XMLConfigReader
& aReader);
32
34
bool
readConnectionsXML
(
const
XMLConfigReader
& aReader);
35
36
L1TMuonOverlapParams
params
;
37
L1TMuonOverlapParams
patterns
;
38
};
L1TMuonOverlapParamsRcd
Definition:
L1TMuonOverlapParamsRcd.h:23
L1TMuonOverlapParamsESProducer::params
L1TMuonOverlapParams params
Definition:
L1TMuonOverlapParamsESProducer.h:36
ESHandle.h
ESProducer.h
L1TMuonOverlapParamsESProducer::~L1TMuonOverlapParamsESProducer
~L1TMuonOverlapParamsESProducer() override
Definition:
L1TMuonOverlapParamsESProducer.cc:50
XMLConfigReader.h
OMTFConfiguration.h
L1TMuonOverlapParamsESProducer
Definition:
L1TMuonOverlapParamsESProducer.h:16
L1TMuonOverlapParams
Definition:
L1TMuonOverlapParams.h:14
L1TMuonOverlapParams.h
L1TMuonOverlapParamsESProducer::ReturnType
std::unique_ptr< L1TMuonOverlapParams > ReturnType
Definition:
L1TMuonOverlapParamsESProducer.h:21
ESProducts.h
L1TMuonOverlapParamsESProducer::patterns
L1TMuonOverlapParams patterns
Definition:
L1TMuonOverlapParamsESProducer.h:37
edm::ParameterSet
Definition:
ParameterSet.h:36
L1TMuonOverlapParamsESProducer::L1TMuonOverlapParamsESProducer
L1TMuonOverlapParamsESProducer(const edm::ParameterSet &)
Definition:
L1TMuonOverlapParamsESProducer.cc:17
XMLConfigReader
Definition:
XMLConfigReader.h:26
L1TMuonOverlapParamsESProducer::readConnectionsXML
bool readConnectionsXML(const XMLConfigReader &aReader)
Read Connections from single XML file.
Definition:
L1TMuonOverlapParamsESProducer.cc:53
ModuleFactory.h
L1TMuonOverlapParamsESProducer::produceParams
ReturnType produceParams(const L1TMuonOverlapParamsRcd &)
Definition:
L1TMuonOverlapParamsESProducer.cc:81
L1TMuonOverlapParamsESProducer::producePatterns
ReturnType producePatterns(const L1TMuonOverlapParamsRcd &)
L1TMuonOverlapParamsESProducer::readPatternsXML
bool readPatternsXML(XMLConfigReader &aReader)
Definition:
L1TMuonOverlapParamsESProducer.cc:60
edm::ESProducer
Definition:
ESProducer.h:101
L1TMuonOverlapParamsRcd.h
Generated for CMSSW Reference Manual by
1.8.16