CMS 3D CMS Logo

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

Public Member Functions

 MicroGMTAbsoluteIsolationCheckLUTFactory ()
 
 ~MicroGMTAbsoluteIsolationCheckLUTFactory ()
 

Static Public Member Functions

static ReturnType create (const std::string &filename, const int fwVersion)
 
static ReturnType create (l1t::LUT *lut, const int fwVersion)
 

Detailed Description

Author
: Thomas Reis

Definition at line 59 of file MicroGMTLUTFactories.h.

Member Typedef Documentation

Definition at line 62 of file MicroGMTLUTFactories.h.

Constructor & Destructor Documentation

l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::MicroGMTAbsoluteIsolationCheckLUTFactory ( )
inline

Definition at line 61 of file MicroGMTLUTFactories.h.

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

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 TauDecayModes::dec, corrVsCorr::filename, and AlCaHLTBitMon_ParallelJobs::p.

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

19  {
20  ReturnType p;
21 
22  if (fwVersion >= 1) {
23  p = std::make_shared<l1t::MicroGMTAbsoluteIsolationCheckLUT>(filename);
24  } else {
25  LogError("MicroGMTAbsoluteIsolationCheckLUTFactory") << "Invalid firmware version requested: 0x" << std::hex << fwVersion << std::dec;
26  }
27  return p;
28  }
std::shared_ptr< MicroGMTAbsoluteIsolationCheckLUT > ReturnType
MicroGMTAbsoluteIsolationCheckLUTFactory::ReturnType l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::create ( l1t::LUT lut,
const int  fwVersion 
)
static

Definition at line 31 of file MicroGMTAbsoluteIsolationCheckLUTFactory.cc.

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

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