CMS 3D CMS Logo

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

Public Member Functions

 MicroGMTRelativeIsolationCheckLUTFactory ()
 
 ~MicroGMTRelativeIsolationCheckLUTFactory ()
 

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 79 of file MicroGMTLUTFactories.h.

Member Typedef Documentation

Definition at line 82 of file MicroGMTLUTFactories.h.

Constructor & Destructor Documentation

l1t::MicroGMTRelativeIsolationCheckLUTFactory::MicroGMTRelativeIsolationCheckLUTFactory ( )
inline

Definition at line 81 of file MicroGMTLUTFactories.h.

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

Member Function Documentation

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

Definition at line 18 of file MicroGMTRelativeIsolationCheckLUTFactory.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::MicroGMTRelativeIsolationCheckLUT>(filename);
24  } else {
25  LogError("MicroGMTRelativeIsolationCheckLUTFactory")
26  << "Invalid firmware version requested: 0x" << std::hex << fwVersion << std::dec;
27  }
28  return p;
29  }
std::shared_ptr< MicroGMTRelativeIsolationCheckLUT > ReturnType
MicroGMTRelativeIsolationCheckLUTFactory::ReturnType l1t::MicroGMTRelativeIsolationCheckLUTFactory::create ( l1t::LUT lut,
const int  fwVersion 
)
static

Definition at line 31 of file MicroGMTRelativeIsolationCheckLUTFactory.cc.

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

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