CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions
l1t::MicroGMTExtrapolationLUTFactory Class Reference

#include <MicroGMTLUTFactories.h>

Public Types

typedef std::shared_ptr
< MicroGMTExtrapolationLUT
ReturnType
 

Public Member Functions

 MicroGMTExtrapolationLUTFactory ()
 
 ~MicroGMTExtrapolationLUTFactory ()
 

Static Public Member Functions

static ReturnType create (const std::string &filename, const int type, const int fwVersion)
 
static ReturnType create (l1t::LUT *lut, const int type, const int fwVersion)
 

Detailed Description

Author
: Thomas Reis

Definition at line 37 of file MicroGMTLUTFactories.h.

Member Typedef Documentation

Definition at line 40 of file MicroGMTLUTFactories.h.

Constructor & Destructor Documentation

l1t::MicroGMTExtrapolationLUTFactory::MicroGMTExtrapolationLUTFactory ( )
inline

Definition at line 39 of file MicroGMTLUTFactories.h.

39 {};
l1t::MicroGMTExtrapolationLUTFactory::~MicroGMTExtrapolationLUTFactory ( )
inline

Definition at line 40 of file MicroGMTLUTFactories.h.

40 {};

Member Function Documentation

MicroGMTExtrapolationLUTFactory::ReturnType l1t::MicroGMTExtrapolationLUTFactory::create ( const std::string &  filename,
const int  type,
const int  fwVersion 
)
static

Definition at line 19 of file MicroGMTExtrapolationLUTFactory.cc.

References TauDecayModes::dec, and AlCaHLTBitMon_ParallelJobs::p.

Referenced by L1TMicroGMTLUTDumper::beginRun(), l1t::MicroGMTIsolationUnit::initialise(), and L1TMuonGlobalParamsESProducer::L1TMuonGlobalParamsESProducer().

19  {
20  ReturnType p;
21 
22  if (fwVersion >= 1) {
23  p = ReturnType(new MicroGMTExtrapolationLUT(filename, type));
24  } else {
25  LogError("MicroGMTExtrapolationLUTFactory") << "Invalid firmware version requested: 0x" << std::hex << fwVersion << std::dec;
26  }
27  return p;
28  }
type
Definition: HCALResponse.h:21
std::shared_ptr< MicroGMTExtrapolationLUT > ReturnType
tuple filename
Definition: lut2db_cfg.py:20
MicroGMTExtrapolationLUTFactory::ReturnType l1t::MicroGMTExtrapolationLUTFactory::create ( l1t::LUT lut,
const int  type,
const int  fwVersion 
)
static

Definition at line 31 of file MicroGMTExtrapolationLUTFactory.cc.

References TauDecayModes::dec, and AlCaHLTBitMon_ParallelJobs::p.

31  {
32  ReturnType p;
33 
34  if (fwVersion >= 1) {
35  p = ReturnType(new MicroGMTExtrapolationLUT(lut, type));
36  } else {
37  LogError("MicroGMTExtrapolationLUTFactory") << "Invalid firmware version requested: 0x" << std::hex << fwVersion << std::dec;
38  }
39  return p;
40  }
type
Definition: HCALResponse.h:21
std::shared_ptr< MicroGMTExtrapolationLUT > ReturnType