Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondTools
L1Trigger
plugins
L1TriggerKeyListDummyProd.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: L1TriggerKeyListDummyProd
4
// Class: L1TriggerKeyListDummyProd
5
//
13
//
14
// Original Author: Werner Man-Li Sun
15
// Created: Sat Mar 1 05:02:13 CET 2008
16
// $Id: L1TriggerKeyListDummyProd.cc,v 1.1 2008/03/03 21:52:18 wsun Exp $
17
//
18
//
19
20
21
// system include files
22
23
// user include files
24
#include "
CondTools/L1Trigger/plugins/L1TriggerKeyListDummyProd.h
"
25
26
//
27
// class declaration
28
//
29
30
//
31
// constants, enums and typedefs
32
//
33
34
//
35
// static data member definitions
36
//
37
38
//
39
// constructors and destructor
40
//
41
L1TriggerKeyListDummyProd::L1TriggerKeyListDummyProd
(
const
edm::ParameterSet
& iConfig)
42
{
43
//the following line is needed to tell the framework what
44
// data is being produced
45
setWhatProduced
(
this
);
46
47
//now do what ever other initialization is needed
48
}
49
50
51
L1TriggerKeyListDummyProd::~L1TriggerKeyListDummyProd
()
52
{
53
54
// do anything here that needs to be done at desctruction time
55
// (e.g. close files, deallocate resources etc.)
56
57
}
58
59
60
//
61
// member functions
62
//
63
64
// ------------ method called to produce the data ------------
65
L1TriggerKeyListDummyProd::ReturnType
66
L1TriggerKeyListDummyProd::produce
(
const
L1TriggerKeyListRcd
& iRecord)
67
{
68
using namespace
edm::es;
69
boost::shared_ptr<L1TriggerKeyList> pL1TriggerKeyList ;
70
71
pL1TriggerKeyList = boost::shared_ptr< L1TriggerKeyList >(
72
new
L1TriggerKeyList
() ) ;
73
74
return
pL1TriggerKeyList ;
75
}
76
77
//define this as a plug-in
78
//DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProd);
L1TriggerKeyListDummyProd::~L1TriggerKeyListDummyProd
~L1TriggerKeyListDummyProd()
Definition:
L1TriggerKeyListDummyProd.cc:51
L1TriggerKeyListDummyProd::ReturnType
boost::shared_ptr< L1TriggerKeyList > ReturnType
Definition:
L1TriggerKeyListDummyProd.h:41
edm::ESProducer::setWhatProduced
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition:
ESProducer.h:115
L1TriggerKeyList
Definition:
L1TriggerKeyList.h:30
L1TriggerKeyListDummyProd::produce
ReturnType produce(const L1TriggerKeyListRcd &)
Definition:
L1TriggerKeyListDummyProd.cc:66
L1TriggerKeyListRcd
Definition:
L1TriggerKeyListRcd.h:24
L1TriggerKeyListDummyProd::L1TriggerKeyListDummyProd
L1TriggerKeyListDummyProd(const edm::ParameterSet &)
Definition:
L1TriggerKeyListDummyProd.cc:41
edm::ParameterSet
Definition:
ParameterSet.h:35
L1TriggerKeyListDummyProd.h
Generated for CMSSW Reference Manual by
1.8.5