CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
helper::GsfElectronSelectorBase Class Reference

#include <GsfElectronSelector.h>

Inheritance diagram for helper::GsfElectronSelectorBase:
edm::EDFilter edm::ProducerBase edm::ProductRegistryHelper

Public Member Functions

 GsfElectronSelectorBase (const edm::ParameterSet &cfg)
 
- Public Member Functions inherited from edm::EDFilter
 EDFilter ()
 
virtual ~EDFilter ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
boost::function< void(const
BranchDescription &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 

Additional Inherited Members

- Public Types inherited from edm::EDFilter
typedef EDFilter ModuleType
 
typedef WorkerT< EDFilterWorkerType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDFilter
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDFilter
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::ProducerBase
template<class TProducer , class TMethod >
void callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod)
 

Detailed Description

Definition at line 97 of file GsfElectronSelector.h.

Constructor & Destructor Documentation

helper::GsfElectronSelectorBase::GsfElectronSelectorBase ( const edm::ParameterSet cfg)
inline

Definition at line 99 of file GsfElectronSelector.h.

References edm::ParameterSet::getParameter().

99  {
100  std::string alias( cfg.getParameter<std::string>( "@module_label" ) );
101  produces<reco::GsfElectronCollection>().setBranchAlias( alias + "GsfElectrons" );
102  produces<reco::GsfElectronCoreCollection>().setBranchAlias( alias + "GsfElectronCores" );
103  produces<reco::SuperClusterCollection>().setBranchAlias( alias + "SuperClusters" );
104  produces<reco::GsfTrackCollection>().setBranchAlias( alias + "GsfTracks" );
105  produces<reco::GsfTrackExtraCollection>().setBranchAlias( alias + "GsfTrackExtras" );
106  produces<reco::TrackExtraCollection>().setBranchAlias( alias + "TrackExtras" );
107  produces<TrackingRecHitCollection>().setBranchAlias( alias + "RecHits" );
108  }
T getParameter(std::string const &) const