CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

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 
)
virtual

Implements edm::EDProducer.

Definition at line 78 of file L1TMuonAssignedInternalTrackProducer.cc.

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.