CMS 3D CMS Logo

Public Member Functions

helper::PhotonSelectorBase Class Reference

#include <PhotonSelector.h>

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

List of all members.

Public Member Functions

 PhotonSelectorBase (const edm::ParameterSet &cfg)

Detailed Description

Definition at line 51 of file PhotonSelector.h.


Constructor & Destructor Documentation

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

Definition at line 53 of file PhotonSelector.h.

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

                                                      {
      std::string alias( cfg.getParameter<std::string>( "@module_label" ) );
      produces<reco::PhotonCollection>().setBranchAlias( alias + "Photons" );
      produces<reco::SuperClusterCollection>().setBranchAlias( alias + "SuperClusters" );
    }