CMS 3D CMS Logo

Public Member Functions

helper::MuonSelectorBase Class Reference

#include <MuonSelector.h>

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

List of all members.

Public Member Functions

 MuonSelectorBase (const edm::ParameterSet &cfg)

Detailed Description

Definition at line 148 of file MuonSelector.h.


Constructor & Destructor Documentation

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

Definition at line 150 of file MuonSelector.h.

References ExpressReco_HICollisions_FallBack::alias, and edm::ParameterSet::getParameter().

                                                    {
      std::string alias( cfg.getParameter<std::string>( "@module_label" ) );


      produces<reco::MuonCollection>("SelectedMuons").setBranchAlias( alias + "SelectedMuons" );
      produces<reco::TrackCollection>("TrackerOnly").setBranchAlias( alias + "TrackerOnlyTracks" );
      produces<reco::TrackExtraCollection>("TrackerOnly").setBranchAlias( alias + "TrackerOnlyExtras" );
      produces<TrackingRecHitCollection>("TrackerOnly").setBranchAlias( alias + "TrackerOnlyHits" );
      //--- New: save clusters too
      produces< edmNew::DetSetVector<SiPixelCluster> >().setBranchAlias( alias + "PixelClusters" );
      produces< edmNew::DetSetVector<SiStripCluster> >().setBranchAlias( alias + "StripClusters" );
      produces<reco::TrackCollection>("GlobalMuon").setBranchAlias( alias + "GlobalMuonTracks" );
      produces<reco::TrackExtraCollection>("GlobalMuon").setBranchAlias( alias + "GlobalMuonExtras" );
      produces<TrackingRecHitCollection>("GlobalMuon").setBranchAlias( alias + "GlobalMuonHits" );
      produces<reco::TrackCollection>("StandAlone").setBranchAlias( alias + "StandAloneTracks" );
      produces<reco::TrackExtraCollection>("StandAlone").setBranchAlias( alias + "StandAloneExtras" );
      produces<TrackingRecHitCollection>("StandAlone").setBranchAlias( alias + "StandAloneHits" );

    }