CMS 3D CMS Logo

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< MicroGMTRankPtQualLUTReturnType
 

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)
 
static ReturnType create (l1t::LUT *lut, const int fwVersion)
 

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

Member Function Documentation

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

Definition at line 33 of file MicroGMTRankPtQualLUTFactory.cc.

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

33  {
34  ReturnType p;
35 
36  if (fwVersion >= 1) {
37  p = std::make_shared<l1t::MicroGMTRankPtQualLUT>(lut);
38  } else {
39  LogError("MicroGMTRankPtQualLUTFactory")
40  << "Invalid firmware version requested: 0x" << std::hex << fwVersion << std::dec;
41  }
42  return p;
43  }
std::shared_ptr< MicroGMTRankPtQualLUT > ReturnType