#include <MuonSelector.h>
Public Member Functions | |
MuonSelectorBase (const edm::ParameterSet &cfg) |
Definition at line 148 of file MuonSelector.h.
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" ); }