CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
helper::PhotonSelectorBase Class Reference

#include <PhotonSelector.h>

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

Public Member Functions

 PhotonSelectorBase (const edm::ParameterSet &cfg)
 
- Public Member Functions inherited from edm::EDFilter
 EDFilter ()
 
virtual ~EDFilter ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
boost::function< void(const
BranchDescription &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 

Additional Inherited Members

- Public Types inherited from edm::EDFilter
typedef EDFilter ModuleType
 
typedef WorkerT< EDFilterWorkerType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDFilter
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDFilter
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::ProducerBase
template<class TProducer , class TMethod >
void callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod)
 

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 edm::ParameterSet::getParameter().

53  {
54  std::string alias( cfg.getParameter<std::string>( "@module_label" ) );
55  produces<reco::PhotonCollection>().setBranchAlias( alias + "Photons" );
56  produces<reco::SuperClusterCollection>().setBranchAlias( alias + "SuperClusters" );
57  }
T getParameter(std::string const &) const