CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
L1TMuonAssignedInternalTrackProducer Class Reference
Inheritance diagram for L1TMuonAssignedInternalTrackProducer:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 L1TMuonAssignedInternalTrackProducer (const PSet &)
 
void produce (edm::Event &, const edm::EventSetup &)
 
 ~L1TMuonAssignedInternalTrackProducer ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

pPAU _ptassign
 
pPRU _ptrefine
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 39 of file L1TMuonAssignedInternalTrackProducer.cc.

Constructor & Destructor Documentation

L1TMuonAssignedInternalTrackProducer::L1TMuonAssignedInternalTrackProducer ( const PSet p)

Definition at line 50 of file L1TMuonAssignedInternalTrackProducer.cc.

References edm::ParameterSet::existsAs(), reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), NULL, and AlCaHLTBitMon_QueryRunRegistry::string.

50  {
51  // configure and build pt assignment unit
52  std::unique_ptr<PtAssignmentUnitFactory>
54  if( p.existsAs<PSet>("PtAssignmentUnit") ) {
55  PSet PAU_config = p.getParameterSet("PtAssignmentUnit");
56  std::string PAU_type = p.getParameter<std::string>("type");
57  _ptassign.reset( fPAU->create( PAU_type,
58  PAU_config) );
59  } else {
60  _ptassign.reset(NULL);
61  }
62  // configure and build pt refinement unit
63  std::unique_ptr<PtRefinementUnitFactory>
65  if( p.existsAs<PSet>("PtRefinementUnit") ) {
66  PSet PRU_config = p.getParameterSet("PtRefinementUnit");
67  std::string PRU_type = p.getParameter<std::string>("type");
68  _ptrefine.reset( fPRU->create( PRU_type,
69  PRU_config) );
70  } else {
71  _ptrefine.reset(NULL);
72  }
73 
74  fPAU.release();
75  fPRU.release();
76 }
T getParameter(std::string const &) const
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:186
#define NULL
Definition: scimark2.h:8
ParameterSet const & getParameterSet(std::string const &) const
T get(const Candidate &c)
Definition: component.h:55
L1TMuonAssignedInternalTrackProducer::~L1TMuonAssignedInternalTrackProducer ( )
inline

Definition at line 42 of file L1TMuonAssignedInternalTrackProducer.cc.

42 {}

Member Function Documentation

void L1TMuonAssignedInternalTrackProducer::produce ( edm::Event ev,
const edm::EventSetup es 
)

Definition at line 78 of file L1TMuonAssignedInternalTrackProducer.cc.

References DEFINE_FWK_MODULE.

79  {
80 }

Member Data Documentation

pPAU L1TMuonAssignedInternalTrackProducer::_ptassign
private

Definition at line 46 of file L1TMuonAssignedInternalTrackProducer.cc.

pPRU L1TMuonAssignedInternalTrackProducer::_ptrefine
private

Definition at line 47 of file L1TMuonAssignedInternalTrackProducer.cc.