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

#include <MicroGMTLUTFactories.h>

Public Types

typedef std::shared_ptr
< MicroGMTRelativeIsolationCheckLUT
ReturnType
 

Public Member Functions

 MicroGMTRelativeIsolationCheckLUTFactory ()
 
 ~MicroGMTRelativeIsolationCheckLUTFactory ()
 

Static Public Member Functions

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

Detailed Description

Author
: Thomas Reis

Definition at line 65 of file MicroGMTLUTFactories.h.

Member Typedef Documentation

Definition at line 68 of file MicroGMTLUTFactories.h.

Constructor & Destructor Documentation

l1t::MicroGMTRelativeIsolationCheckLUTFactory::MicroGMTRelativeIsolationCheckLUTFactory ( )
inline

Definition at line 67 of file MicroGMTLUTFactories.h.

67 {};
l1t::MicroGMTRelativeIsolationCheckLUTFactory::~MicroGMTRelativeIsolationCheckLUTFactory ( )
inline

Definition at line 68 of file MicroGMTLUTFactories.h.

68 {};

Member Function Documentation

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

Definition at line 19 of file MicroGMTRelativeIsolationCheckLUTFactory.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 MicroGMTRelativeIsolationCheckLUT(filename));
25  break;
26  default:
27  LogError("MicroGMTRelativeIsolationCheckLUTFactory") << "Invalid firmware version requested: " << fwVersion;
28  }
29  return p;
30  }
std::shared_ptr< MicroGMTRelativeIsolationCheckLUT > ReturnType
tuple filename
Definition: lut2db_cfg.py:20