CMS 3D CMS Logo

Public Member Functions

helper::GsfElectronSelectorBase Class Reference

#include <GsfElectronSelector.h>

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

List of all members.

Public Member Functions

 GsfElectronSelectorBase (const edm::ParameterSet &cfg)

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().

                                                           {
      std::string alias( cfg.getParameter<std::string>( "@module_label" ) );
      produces<reco::GsfElectronCollection>().setBranchAlias( alias + "GsfElectrons" );
      produces<reco::GsfElectronCoreCollection>().setBranchAlias( alias + "GsfElectronCores" );
      produces<reco::SuperClusterCollection>().setBranchAlias( alias + "SuperClusters" );
      produces<reco::GsfTrackCollection>().setBranchAlias( alias + "GsfTracks" );
      produces<reco::GsfTrackExtraCollection>().setBranchAlias( alias + "GsfTrackExtras" );
      produces<reco::TrackExtraCollection>().setBranchAlias( alias + "TrackExtras" );
      produces<TrackingRecHitCollection>().setBranchAlias( alias + "RecHits" );
    }