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

#include <MicroGMTLUTFactories.h>

Public Types

typedef std::shared_ptr
< MicroGMTMatchQualLUT
ReturnType
 

Public Member Functions

 MicroGMTMatchQualLUTFactory ()
 
 ~MicroGMTMatchQualLUTFactory ()
 

Static Public Member Functions

static ReturnType create (const std::string &filename, const double maxDR, cancel_t cancelType, const int fwVersion)
 

Detailed Description

Author
: Thomas Reis

Definition at line 25 of file MicroGMTLUTFactories.h.

Member Typedef Documentation

Definition at line 28 of file MicroGMTLUTFactories.h.

Constructor & Destructor Documentation

l1t::MicroGMTMatchQualLUTFactory::MicroGMTMatchQualLUTFactory ( )
inline

Definition at line 27 of file MicroGMTLUTFactories.h.

27 {};
l1t::MicroGMTMatchQualLUTFactory::~MicroGMTMatchQualLUTFactory ( )
inline

Definition at line 28 of file MicroGMTLUTFactories.h.

28 {};

Member Function Documentation

MicroGMTMatchQualLUTFactory::ReturnType l1t::MicroGMTMatchQualLUTFactory::create ( const std::string &  filename,
const double  maxDR,
cancel_t  cancelType,
const int  fwVersion 
)
static

Definition at line 19 of file MicroGMTMatchQualLUTFactory.cc.

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

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

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