CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TMuonEndcapParamsOnlineProd.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <fstream>
3 
8 
9 class L1TMuonEndcapParamsOnlineProd : public L1ConfigOnlineProdBaseExt<L1TMuonEndcapParamsO2ORcd,L1TMuonEndCapParams> {
10 private:
11 public:
12  virtual boost::shared_ptr<L1TMuonEndCapParams> newObject(const std::string& objectKey, const L1TMuonEndcapParamsO2ORcd& record) override ;
13 
16 };
17 
19 
20 boost::shared_ptr<L1TMuonEndCapParams> L1TMuonEndcapParamsOnlineProd::newObject(const std::string& objectKey, const L1TMuonEndcapParamsO2ORcd& record) {
21  edm::LogError( "L1-O2O" ) << "L1TMuonEndcapParams object with key " << objectKey << " not in ORCON!" ;
22  return boost::shared_ptr< L1TMuonEndCapParams >( new L1TMuonEndCapParams() );
23 }
24 
25 //define this as a plug-in
JetCorrectorParameters::Record record
Definition: classes.h:7
L1TMuonEndcapParamsOnlineProd(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
virtual boost::shared_ptr< L1TMuonEndCapParams > newObject(const std::string &objectKey, const L1TMuonEndcapParamsO2ORcd &record) override