CondTools
L1TriggerExt
plugins
L1TriggerKeyOnlineProdExt.h
Go to the documentation of this file.
1
#ifndef CondTools_L1TriggerExt_L1TriggerKeyOnlineProdExt_h
2
#define CondTools_L1TriggerExt_L1TriggerKeyOnlineProdExt_h
3
4
#include <memory>
5
#include <vector>
6
#include <string>
7
8
#include "
FWCore/Framework/interface/ModuleFactory.h
"
9
#include "
FWCore/Framework/interface/ESProducer.h
"
10
#include "
FWCore/Framework/interface/ESHandle.h
"
11
#include "
FWCore/Framework/interface/ESConsumesCollector.h
"
12
13
#include "
CondFormats/L1TObjects/interface/L1TriggerKeyExt.h
"
14
#include "
CondFormats/DataRecord/interface/L1TriggerKeyExtRcd.h
"
15
16
class
L1TriggerKeyOnlineProdExt
:
public
edm::ESProducer
{
17
public
:
18
L1TriggerKeyOnlineProdExt
(
const
edm::ParameterSet
&);
19
~L1TriggerKeyOnlineProdExt
()
override
;
20
21
using
ReturnType
= std::unique_ptr<L1TriggerKeyExt>;
22
23
ReturnType
produce
(
const
L1TriggerKeyExtRcd
&);
24
25
private
:
26
// ----------member data ---------------------------
27
edm::ESGetToken<L1TriggerKeyExt, L1TriggerKeyExtRcd>
L1TriggerKeyExt_token
;
28
std::vector<edm::ESGetToken<L1TriggerKeyExt, L1TriggerKeyExtRcd>>
m_subsystemTokens
;
29
std::vector<std::string>
m_subsystemLabels
;
30
};
31
32
#endif
L1TriggerKeyOnlineProdExt::L1TriggerKeyOnlineProdExt
L1TriggerKeyOnlineProdExt(const edm::ParameterSet &)
Definition:
L1TriggerKeyOnlineProdExt.cc:9
ESHandle.h
ESConsumesCollector.h
L1TriggerKeyExtRcd
Definition:
L1TriggerKeyExtRcd.h:8
ESProducer.h
L1TriggerKeyExtRcd.h
L1TriggerKeyExt.h
L1TriggerKeyOnlineProdExt::~L1TriggerKeyOnlineProdExt
~L1TriggerKeyOnlineProdExt() override
Definition:
L1TriggerKeyOnlineProdExt.cc:23
L1TriggerKeyOnlineProdExt::produce
ReturnType produce(const L1TriggerKeyExtRcd &)
Definition:
L1TriggerKeyOnlineProdExt.cc:33
L1TriggerKeyOnlineProdExt
Definition:
L1TriggerKeyOnlineProdExt.h:16
edm::ParameterSet
Definition:
ParameterSet.h:36
L1TriggerKeyOnlineProdExt::L1TriggerKeyExt_token
edm::ESGetToken< L1TriggerKeyExt, L1TriggerKeyExtRcd > L1TriggerKeyExt_token
Definition:
L1TriggerKeyOnlineProdExt.h:27
L1TriggerKeyOnlineProdExt::ReturnType
std::unique_ptr< L1TriggerKeyExt > ReturnType
Definition:
L1TriggerKeyOnlineProdExt.h:21
L1TriggerKeyOnlineProdExt::m_subsystemLabels
std::vector< std::string > m_subsystemLabels
Definition:
L1TriggerKeyOnlineProdExt.h:29
edm::ESGetToken< L1TriggerKeyExt, L1TriggerKeyExtRcd >
ModuleFactory.h
L1TriggerKeyOnlineProdExt::m_subsystemTokens
std::vector< edm::ESGetToken< L1TriggerKeyExt, L1TriggerKeyExtRcd > > m_subsystemTokens
Definition:
L1TriggerKeyOnlineProdExt.h:28
edm::ESProducer
Definition:
ESProducer.h:101
Generated for CMSSW Reference Manual by
1.8.16