24 recoEcalCandidateCollection_(config.getParameter<
std::
string>(
"recoEcalCandidateCollection")) {
38 descriptions.
add((
"hltEgammaHLTRecoEcalCandidateProducers"), desc);
50 auto outputRecoEcalCandidateCollection_p = std::make_unique<reco::RecoEcalCandidateCollection>();
64 for(reco::SuperClusterCollection::const_iterator aClus = scBarrelHandle->begin(); aClus != scBarrelHandle->end(); aClus++) {
75 outputRecoEcalCandidateCollection.push_back(newCandidate);
77 outputRecoEcalCandidateCollection[iSC].setSuperCluster(scRef);
87 for(reco::SuperClusterCollection::const_iterator aClus = scEndcapHandle->begin(); aClus != scEndcapHandle->end(); aClus++) {
97 outputRecoEcalCandidateCollection.push_back(newCandidate);
99 outputRecoEcalCandidateCollection[iSC].setSuperCluster(scRef);
107 outputRecoEcalCandidateCollection_p->assign(outputRecoEcalCandidateCollection.begin(),outputRecoEcalCandidateCollection.end());
const edm::EDGetTokenT< reco::SuperClusterCollection > scIslandEndcapProducer_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
EgammaHLTRecoEcalCandidateProducers(const edm::ParameterSet &ps)
void produce(edm::StreamID sid, edm::Event &evt, const edm::EventSetup &es) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~EgammaHLTRecoEcalCandidateProducers()
const edm::EDGetTokenT< reco::SuperClusterCollection > scHybridBarrelProducer_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
math::XYZPoint Point
point in the space
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< RecoEcalCandidate > RecoEcalCandidateCollection
collectin of RecoEcalCandidate objects
const std::string recoEcalCandidateCollection_
math::XYZTLorentzVector LorentzVector
Lorentz vector.