CMS 3D CMS Logo

DTQualPatternLutOnlineProd.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: DTQualPatternLutOnlineProd
4 // Class: DTQualPatternLutOnlineProd
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 
21 // system include files
22 
23 // user include files
25 
27 
30 
31 //
32 // class declaration
33 //
34 
36  public L1ConfigOnlineProdBase< L1MuDTQualPatternLutRcd, L1MuDTQualPatternLut >
37 {
38  public:
40  ~DTQualPatternLutOnlineProd() override;
41 
42  std::shared_ptr< L1MuDTQualPatternLut > newObject(
43  const std::string& objectKey ) override ;
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 //
61  const edm::ParameterSet& iConfig)
63  L1MuDTQualPatternLut >( 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 
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 std::shared_ptr< L1MuDTQualPatternLut >
82 {
83  edm::LogError( "L1-O2O" ) << "L1MuDTQualPatternLut object with key "
84  << objectKey << " not in ORCON!" ;
85 
86  return std::shared_ptr< L1MuDTQualPatternLut >() ;
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
std::shared_ptr< L1MuDTQualPatternLut > newObject(const std::string &objectKey) override
DTQualPatternLutOnlineProd(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60