Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:12

0001 // -*- C++ -*-
0002 //
0003 // Package:    L1TriggerKeyListDummyProd
0004 // Class:      L1TriggerKeyListDummyProd
0005 //
0006 /**\class L1TriggerKeyListDummyProd L1TriggerKeyListDummyProd.h CondTools/L1TriggerKeyListDummyProd/src/L1TriggerKeyListDummyProd.cc
0007 
0008  Description: <one line class summary>
0009 
0010  Implementation:
0011      <Notes on implementation>
0012 */
0013 //
0014 // Original Author:  Werner Man-Li Sun
0015 //         Created:  Sat Mar  1 05:02:13 CET 2008
0016 // $Id$
0017 //
0018 //
0019 
0020 // system include files
0021 
0022 // user include files
0023 #include "CondTools/L1Trigger/plugins/L1TriggerKeyListDummyProd.h"
0024 
0025 //
0026 // class declaration
0027 //
0028 
0029 //
0030 // constants, enums and typedefs
0031 //
0032 
0033 //
0034 // static data member definitions
0035 //
0036 
0037 //
0038 // constructors and destructor
0039 //
0040 L1TriggerKeyListDummyProd::L1TriggerKeyListDummyProd(const edm::ParameterSet& iConfig) {
0041   //the following line is needed to tell the framework what
0042   // data is being produced
0043   setWhatProduced(this);
0044 
0045   //now do what ever other initialization is needed
0046 }
0047 
0048 L1TriggerKeyListDummyProd::~L1TriggerKeyListDummyProd() {
0049   // do anything here that needs to be done at desctruction time
0050   // (e.g. close files, deallocate resources etc.)
0051 }
0052 
0053 //
0054 // member functions
0055 //
0056 
0057 // ------------ method called to produce the data  ------------
0058 L1TriggerKeyListDummyProd::ReturnType L1TriggerKeyListDummyProd::produce(const L1TriggerKeyListRcd& iRecord) {
0059   std::unique_ptr<L1TriggerKeyList> pL1TriggerKeyList;
0060   pL1TriggerKeyList = std::make_unique<L1TriggerKeyList>();
0061   return pL1TriggerKeyList;
0062   //   return std::make_unique< L1TriggerKeyList >() ;
0063 }
0064 
0065 //define this as a plug-in
0066 //DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProd);