1 #ifndef RecoAlgos_PhotonSelector_h
2 #define RecoAlgos_PhotonSelector_h
30 PhotonRefProd rPhotons = evt.template getRefBeforePut<PhotonCollection>();
31 SuperClusterRefProd rSuperClusters = evt.template getRefBeforePut<SuperClusterCollection>();
33 for(
I i = begin;
i !=
end; ++
i ) {
54 std::string alias( cfg.
getParameter<std::string>(
"@module_label" ) );
55 produces<reco::PhotonCollection>().setBranchAlias( alias +
"Photons" );
56 produces<reco::SuperClusterCollection>().setBranchAlias( alias +
"SuperClusters" );
T getParameter(std::string const &) const
reco::PhotonCollection collection
PhotonCollectionStoreManager(const edm::Handle< reco::PhotonCollection > &)
PhotonSelectorBase(const edm::ParameterSet &cfg)
PhotonCollectionStoreManager type
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
edm::Ref< SuperClusterCollection > SuperClusterRef
reference to an object in a collection of SuperCluster objects
std::auto_ptr< reco::PhotonCollection > selPhotons_
edm::OrphanHandle< reco::PhotonCollection > put(edm::Event &evt)
std::auto_ptr< reco::SuperClusterCollection > selSuperClusters_
void cloneAndStore(const I &begin, const I &end, edm::Event &evt)
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
const std::complex< double > I
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
std::vector< Photon > PhotonCollection
collectin of Photon objects