CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes
l1t::PackingSetupFactory Class Reference

#include <PackingSetupFactory.h>

Public Member Functions

void fillDescription (edm::ParameterSetDescription &) const
 
std::unique_ptr< PackingSetupmake (const std::string &) const
 

Static Public Member Functions

static const PackingSetupFactoryget ()
 

Private Member Functions

 PackingSetupFactory ()
 

Static Private Attributes

static const PackingSetupFactory instance_
 

Detailed Description

Definition at line 12 of file PackingSetupFactory.h.

Constructor & Destructor Documentation

◆ PackingSetupFactory()

l1t::PackingSetupFactory::PackingSetupFactory ( )
inlineprivate

Definition at line 19 of file PackingSetupFactory.h.

19 {};

Member Function Documentation

◆ fillDescription()

void l1t::PackingSetupFactory::fillDescription ( edm::ParameterSetDescription desc) const

Definition at line 12 of file PackingSetupFactory.cc.

References submitPVResolutionJobs::desc, get, and info().

Referenced by l1t::L1TDigiToRaw::fillDescriptions().

12  {
13  for (const auto& info : PackingSetupFactoryT::get()->available()) {
14  PackingSetupFactoryT::get()->create(info.name_)->fillDescription(desc);
15  }
16  }
static const TGPicture * info(bool iBackgroundIsBlack)
#define get

◆ get()

static const PackingSetupFactory* l1t::PackingSetupFactory::get ( )
inlinestatic

◆ make()

std::unique_ptr< PackingSetup > l1t::PackingSetupFactory::make ( const std::string &  type) const

Definition at line 8 of file PackingSetupFactory.cc.

References get.

Referenced by l1t::L1TDigiToRaw::L1TDigiToRaw(), and l1t::L1TRawToDigi::L1TRawToDigi().

8  {
9  return PackingSetupFactoryT::get()->create("l1t::" + type);
10  }
#define get

Member Data Documentation

◆ instance_

const PackingSetupFactory l1t::PackingSetupFactory::instance_
staticprivate

Definition at line 19 of file PackingSetupFactory.h.

Referenced by get().