CondTools
L1Trigger
interface
L1ObjectKeysOnlineProdBase.h
Go to the documentation of this file.
1
#ifndef CondTools_L1Trigger_L1ObjectKeysOnlineProdBase_h
2
#define CondTools_L1Trigger_L1ObjectKeysOnlineProdBase_h
3
// -*- C++ -*-
4
//
5
// Package: L1Trigger
6
// Class : L1ObjectKeysOnlineProdBase
7
//
18
//
19
// Original Author: Werner Sun
20
// Created: Fri Aug 22 19:47:58 CEST 2008
21
// $Id$
22
//
23
24
// system include files
25
#include <memory>
26
27
// user include files
28
#include "
FWCore/Framework/interface/ModuleFactory.h
"
29
#include "
FWCore/Framework/interface/ESProducer.h
"
30
#include "
FWCore/Framework/interface/ESHandle.h
"
31
32
#include "
CondFormats/L1TObjects/interface/L1TriggerKey.h
"
33
#include "
CondFormats/DataRecord/interface/L1TriggerKeyRcd.h
"
34
35
#include "
CondTools/L1Trigger/interface/OMDSReader.h
"
36
37
// forward declarations
38
39
class
L1ObjectKeysOnlineProdBase
:
public
edm::ESProducer
{
40
public
:
41
L1ObjectKeysOnlineProdBase
(
const
edm::ParameterSet
&);
42
~L1ObjectKeysOnlineProdBase
()
override
;
43
44
typedef
std::unique_ptr<L1TriggerKey>
ReturnType
;
45
typedef
std::unique_ptr<L1TriggerKey>::pointer
FillType
;
46
47
ReturnType
produce
(
const
L1TriggerKeyRcd
&);
48
49
virtual
void
fillObjectKeys
(
FillType
) = 0;
50
51
private
:
52
// ----------member data ---------------------------
53
protected
:
54
l1t::OMDSReader
m_omdsReader
;
55
};
56
57
#endif
l1t::OMDSReader
Definition:
OMDSReader.h:42
OMDSReader.h
L1ObjectKeysOnlineProdBase::ReturnType
std::unique_ptr< L1TriggerKey > ReturnType
Definition:
L1ObjectKeysOnlineProdBase.h:44
ESHandle.h
L1TriggerKeyRcd
Definition:
L1TriggerKeyRcd.h:30
L1ObjectKeysOnlineProdBase::m_omdsReader
l1t::OMDSReader m_omdsReader
Definition:
L1ObjectKeysOnlineProdBase.h:54
ESProducer.h
L1ObjectKeysOnlineProdBase::produce
ReturnType produce(const L1TriggerKeyRcd &)
Definition:
L1ObjectKeysOnlineProdBase.cc:70
L1TriggerKey.h
L1ObjectKeysOnlineProdBase::L1ObjectKeysOnlineProdBase
L1ObjectKeysOnlineProdBase(const edm::ParameterSet &)
Definition:
L1ObjectKeysOnlineProdBase.cc:47
L1ObjectKeysOnlineProdBase
Definition:
L1ObjectKeysOnlineProdBase.h:39
edm::ParameterSet
Definition:
ParameterSet.h:47
L1ObjectKeysOnlineProdBase::~L1ObjectKeysOnlineProdBase
~L1ObjectKeysOnlineProdBase() override
Definition:
L1ObjectKeysOnlineProdBase.cc:60
L1TriggerKeyRcd.h
ModuleFactory.h
L1ObjectKeysOnlineProdBase::fillObjectKeys
virtual void fillObjectKeys(FillType)=0
edm::ESProducer
Definition:
ESProducer.h:104
L1ObjectKeysOnlineProdBase::FillType
std::unique_ptr< L1TriggerKey >::pointer FillType
Definition:
L1ObjectKeysOnlineProdBase.h:45
Generated for CMSSW Reference Manual by
1.8.16