CMS 3D CMS Logo

Public Member Functions

helper::TrackSelectorBase Class Reference

#include <TrackSelector.h>

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

List of all members.

Public Member Functions

 TrackSelectorBase (const edm::ParameterSet &cfg)

Detailed Description

Definition at line 133 of file TrackSelector.h.


Constructor & Destructor Documentation

helper::TrackSelectorBase::TrackSelectorBase ( const edm::ParameterSet cfg) [inline]

Definition at line 135 of file TrackSelector.h.

References edm::ParameterSet::getParameter().

                                                     {
      std::string alias( cfg.getParameter<std::string>( "@module_label" ) );
      produces<reco::TrackCollection>().setBranchAlias( alias + "Tracks" );
      produces<reco::TrackExtraCollection>().setBranchAlias( alias + "TrackExtras" );
      produces<TrackingRecHitCollection>().setBranchAlias( alias + "RecHits" );
      //--- New: save clusters too
      produces< edmNew::DetSetVector<SiPixelCluster> >().setBranchAlias( alias + "PixelClusters" );
      produces< edmNew::DetSetVector<SiStripCluster> >().setBranchAlias( alias + "StripClusters" );
    }