1 #ifndef RecoAlgos_PhotonSelector_h 2 #define RecoAlgos_PhotonSelector_h 31 PhotonRefProd rPhotons = evt.template getRefBeforePut<PhotonCollection>();
32 SuperClusterRefProd rSuperClusters = evt.template getRefBeforePut<SuperClusterCollection>();
34 for(
I i = begin;
i !=
end; ++
i ) {
56 produces<reco::PhotonCollection>().setBranchAlias( alias +
"Photons" );
57 produces<reco::SuperClusterCollection>().setBranchAlias( alias +
"SuperClusters" );
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
reco::PhotonCollection collection
PhotonCollectionStoreManager(const edm::Handle< reco::PhotonCollection > &)
PhotonSelectorBase(const edm::ParameterSet &cfg)
PhotonCollectionStoreManager type
edm::Ref< SuperClusterCollection > SuperClusterRef
reference to an object in a collection of SuperCluster objects
edm::OrphanHandle< reco::PhotonCollection > put(edm::Event &evt)
std::unique_ptr< reco::SuperClusterCollection > selSuperClusters_
void cloneAndStore(const I &begin, const I &end, edm::Event &evt)
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
const std::complex< double > I
std::vector< Photon > PhotonCollection
collectin of Photon objects
std::unique_ptr< reco::PhotonCollection > selPhotons_