CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MicroGMTExtrapolationLUTFactory.cc
Go to the documentation of this file.
1 //
7 // This class implements the ExtrapolationLUT factory. Based on the firmware
8 // version it selects the appropriate concrete implementation.
9 //
10 
12 
14 
15 using namespace edm;
16 
17 namespace l1t {
20  ReturnType p;
21 
22  switch (fwVersion) {
23  case 1:
24  p = ReturnType(new MicroGMTExtrapolationLUT(filename, type));
25  break;
26  default:
27  LogError("MicroGMTExtrapolationLUTFactory") << "Invalid firmware version requested: " << fwVersion;
28  }
29  return p;
30  }
31 }
type
Definition: HCALResponse.h:21
std::shared_ptr< MicroGMTExtrapolationLUT > ReturnType
std::map< DetId, double > ReturnType
tuple filename
Definition: lut2db_cfg.py:20
SurfaceDeformation * create(int type, const std::vector< double > &params)