Main Page
Namespaces
Classes
Package Documentation
L1TriggerConfig
DTTrackFinder
src
DTPhiLutOnlineProd.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: DTPhiLutOnlineProd
4
// Class: DTPhiLutOnlineProd
5
//
13
//
14
// Original Author: Werner Man-Li Sun
15
// Created: Thu Oct 2 19:40:12 CEST 2008
16
// $Id$
17
//
18
//
19
20
// system include files
21
22
// user include files
23
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
24
25
#include "
CondTools/L1Trigger/interface/L1ConfigOnlineProdBase.h
"
26
27
#include "
CondFormats/L1TObjects/interface/L1MuDTPhiLut.h
"
28
#include "
CondFormats/DataRecord/interface/L1MuDTPhiLutRcd.h
"
29
30
//
31
// class declaration
32
//
33
34
class
DTPhiLutOnlineProd
:
public
L1ConfigOnlineProdBase
<L1MuDTPhiLutRcd, L1MuDTPhiLut> {
35
public
:
36
DTPhiLutOnlineProd
(
const
edm::ParameterSet
&);
37
~DTPhiLutOnlineProd
()
override
;
38
39
std::unique_ptr<L1MuDTPhiLut>
newObject
(
const
std::string
& objectKey)
override
;
40
41
private
:
42
// ----------member data ---------------------------
43
};
44
45
//
46
// constants, enums and typedefs
47
//
48
49
//
50
// static data member definitions
51
//
52
53
//
54
// constructors and destructor
55
//
56
DTPhiLutOnlineProd::DTPhiLutOnlineProd
(
const
edm::ParameterSet
& iConfig)
57
:
L1ConfigOnlineProdBase
<
L1MuDTPhiLutRcd
,
L1MuDTPhiLut
>(iConfig) {
58
//the following line is needed to tell the framework what
59
// data is being produced
60
61
//now do what ever other initialization is needed
62
}
63
64
DTPhiLutOnlineProd::~DTPhiLutOnlineProd
() {
65
// do anything here that needs to be done at desctruction time
66
// (e.g. close files, deallocate resources etc.)
67
}
68
69
std::unique_ptr<L1MuDTPhiLut>
DTPhiLutOnlineProd::newObject
(
const
std::string
& objectKey) {
70
edm::LogError
(
"L1-O2O"
) <<
"L1MuDTPhiLut object with key "
<< objectKey <<
" not in ORCON!"
;
71
72
return
std::unique_ptr<L1MuDTPhiLut>();
73
}
74
75
//
76
// member functions
77
//
78
79
// ------------ method called to produce the data ------------
80
81
//define this as a plug-in
82
DEFINE_FWK_EVENTSETUP_MODULE
(
DTPhiLutOnlineProd
);
L1MuDTPhiLut
Definition:
L1MuDTPhiLut.h:40
MessageLogger.h
L1ConfigOnlineProdBase.h
DTPhiLutOnlineProd
Definition:
DTPhiLutOnlineProd.cc:34
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L1MuDTPhiLutRcd.h
DTPhiLutOnlineProd::DTPhiLutOnlineProd
DTPhiLutOnlineProd(const edm::ParameterSet &)
Definition:
DTPhiLutOnlineProd.cc:56
DTPhiLutOnlineProd::newObject
std::unique_ptr< L1MuDTPhiLut > newObject(const std::string &objectKey) override
Definition:
DTPhiLutOnlineProd.cc:69
L1MuDTPhiLut.h
edm::LogError
Definition:
MessageLogger.h:183
L1ConfigOnlineProdBase
Definition:
L1ConfigOnlineProdBase.h:52
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
L1MuDTPhiLutRcd
Definition:
L1MuDTPhiLutRcd.h:12
edm::ParameterSet
Definition:
ParameterSet.h:36
DTPhiLutOnlineProd::~DTPhiLutOnlineProd
~DTPhiLutOnlineProd() override
Definition:
DTPhiLutOnlineProd.cc:64
Generated for CMSSW Reference Manual by
1.8.11