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::MicroGMTAbsoluteIsolationCheckLUTFactory Class Reference

#include <MicroGMTLUTFactories.h>

Public Types

typedef std::shared_ptr
< MicroGMTAbsoluteIsolationCheckLUT
ReturnType
 

Public Member Functions

 MicroGMTAbsoluteIsolationCheckLUTFactory ()
 
 ~MicroGMTAbsoluteIsolationCheckLUTFactory ()
 

Static Public Member Functions

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

Detailed Description

Author
: Thomas Reis

Definition at line 55 of file MicroGMTLUTFactories.h.

Member Typedef Documentation

Definition at line 58 of file MicroGMTLUTFactories.h.

Constructor & Destructor Documentation

l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::MicroGMTAbsoluteIsolationCheckLUTFactory ( )
inline

Definition at line 57 of file MicroGMTLUTFactories.h.

57 {};
l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::~MicroGMTAbsoluteIsolationCheckLUTFactory ( )
inline

Definition at line 58 of file MicroGMTLUTFactories.h.

58 {};

Member Function Documentation

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

Definition at line 19 of file MicroGMTAbsoluteIsolationCheckLUTFactory.cc.

References stage2MP7BufferRaw_cfi::fwVersion, and AlCaHLTBitMon_ParallelJobs::p.

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

19  {
20  ReturnType p;
21 
22  switch (fwVersion) {
23  case 1:
24  p = ReturnType(new MicroGMTAbsoluteIsolationCheckLUT(filename));
25  break;
26  default:
27  LogError("MicroGMTAbsoluteIsolationCheckLUTFactory") << "Invalid firmware version requested: " << fwVersion;
28  }
29  return p;
30  }
tuple filename
Definition: lut2db_cfg.py:20
std::shared_ptr< MicroGMTAbsoluteIsolationCheckLUT > ReturnType