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

#include <MicroGMTLUTFactories.h>

Public Types

typedef std::shared_ptr
< MicroGMTRankPtQualLUT
ReturnType
 

Public Member Functions

 MicroGMTRankPtQualLUTFactory ()
 
 ~MicroGMTRankPtQualLUTFactory ()
 

Static Public Member Functions

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

Detailed Description

Author
: Thomas Reis

Definition at line 15 of file MicroGMTLUTFactories.h.

Member Typedef Documentation

Definition at line 18 of file MicroGMTLUTFactories.h.

Constructor & Destructor Documentation

l1t::MicroGMTRankPtQualLUTFactory::MicroGMTRankPtQualLUTFactory ( )
inline

Definition at line 17 of file MicroGMTLUTFactories.h.

17 {};
l1t::MicroGMTRankPtQualLUTFactory::~MicroGMTRankPtQualLUTFactory ( )
inline

Definition at line 18 of file MicroGMTLUTFactories.h.

18 {};

Member Function Documentation

MicroGMTRankPtQualLUTFactory::ReturnType l1t::MicroGMTRankPtQualLUTFactory::create ( const std::string &  filename,
const int  fwVersion,
const unsigned  ptFactor,
const unsigned  qualFactor 
)
static

Definition at line 19 of file MicroGMTRankPtQualLUTFactory.cc.

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

Referenced by L1TMicroGMTLUTDumper::beginRun(), L1TMuonProducer::beginRun(), and L1TMuonGlobalParamsESProducer::L1TMuonGlobalParamsESProducer().

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