1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
// -*- C++ -*-
//
// Package: L1TriggerKeyListDummyProd
// Class: L1TriggerKeyListDummyProd
//
/**\class L1TriggerKeyListDummyProd L1TriggerKeyListDummyProd.h CondTools/L1TriggerKeyListDummyProd/src/L1TriggerKeyListDummyProd.cc
Description: <one line class summary>
Implementation:
<Notes on implementation>
*/
//
// Original Author: Werner Man-Li Sun
// Created: Sat Mar 1 05:02:13 CET 2008
// $Id$
//
//
// system include files
// user include files
#include "CondTools/L1Trigger/plugins/L1TriggerKeyListDummyProd.h"
//
// class declaration
//
//
// constants, enums and typedefs
//
//
// static data member definitions
//
//
// constructors and destructor
//
L1TriggerKeyListDummyProd::L1TriggerKeyListDummyProd(const edm::ParameterSet& iConfig) {
//the following line is needed to tell the framework what
// data is being produced
setWhatProduced(this);
//now do what ever other initialization is needed
}
L1TriggerKeyListDummyProd::~L1TriggerKeyListDummyProd() {
// do anything here that needs to be done at desctruction time
// (e.g. close files, deallocate resources etc.)
}
//
// member functions
//
// ------------ method called to produce the data ------------
L1TriggerKeyListDummyProd::ReturnType L1TriggerKeyListDummyProd::produce(const L1TriggerKeyListRcd& iRecord) {
std::unique_ptr<L1TriggerKeyList> pL1TriggerKeyList;
pL1TriggerKeyList = std::make_unique<L1TriggerKeyList>();
return pL1TriggerKeyList;
// return std::make_unique< L1TriggerKeyList >() ;
}
//define this as a plug-in
//DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProd);
|