52 recoEcalCandidateCollection_(config.getParameter<std::
string>(
"recoEcalCandidateCollection")) {
64 descriptions.
add((
"hltEgammaHLTRecoEcalCandidateProducers"), desc);
77 auto outputRecoEcalCandidateCollection_p = std::make_unique<reco::RecoEcalCandidateCollection>();
90 for (reco::SuperClusterCollection::const_iterator aClus = scBarrelHandle->begin(); aClus != scBarrelHandle->end();
101 outputRecoEcalCandidateCollection.push_back(newCandidate);
103 outputRecoEcalCandidateCollection[iSC].setSuperCluster(scRef);
112 for (reco::SuperClusterCollection::const_iterator aClus = scEndcapHandle->begin(); aClus != scEndcapHandle->end();
122 outputRecoEcalCandidateCollection.push_back(newCandidate);
124 outputRecoEcalCandidateCollection[iSC].setSuperCluster(scRef);
131 outputRecoEcalCandidateCollection_p->assign(outputRecoEcalCandidateCollection.begin(),
132 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
#define DEFINE_FWK_MODULE(type)
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)
~EgammaHLTRecoEcalCandidateProducers() override
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
tuple config
parse the configuration file
const std::string recoEcalCandidateCollection_
math::XYZTLorentzVector LorentzVector
Lorentz vector.