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