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.

12  {
13  for (const auto& info : PackingSetupFactoryT::get()->available()) {
14  PackingSetupFactoryT::get()->create(info.name_)->fillDescription(desc);
15  }
16  }

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

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

◆ 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.

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

References get.

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

Member Data Documentation

◆ instance_

const PackingSetupFactory l1t::PackingSetupFactory::instance_
staticprivate

Definition at line 19 of file PackingSetupFactory.h.

Referenced by get().

info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
get
#define get
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
l1t::PackingSetupFactory::instance_
static const PackingSetupFactory instance_
Definition: PackingSetupFactory.h:19