13 = iConfig.
getParameter<std::vector<edm::InputTag> >(
"ECALSuperClusters");
17 produces<reco::PFBlockElementSuperClusterCollection>(
outputName_);
28 std::auto_ptr<reco::PFBlockElementSuperClusterCollection>
36 std::ostringstream err;
37 err<<
" cannot get SuperClusters: "
39 edm::LogError(
"PFBlockElementSuperClusterProducer")<<err.str();
43 unsigned nsc=scH->size();;
45 for(
unsigned isc=0;isc<nsc;++isc) {
52 pfbeSuperClusters_p->push_back(myPFBE);
55 std::cout <<
"Size " << pfbeSuperClusters_p->size() << std::endl;
T getParameter(std::string const &) const
std::vector< edm::InputTag > inputTagSuperClusters_
PFBlockElementSuperClusterProducer(const edm::ParameterSet &)
void setHcalIso(float val)
set the had Iso
virtual void produce(edm::Event &, const edm::EventSetup &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void setTrackIso(float val)
set the track Iso
void setHoE(float val)
set H/E
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
~PFBlockElementSuperClusterProducer()
std::vector< reco::PFBlockElementSuperCluster > PFBlockElementSuperClusterCollection
void setEcalIso(float val)
set the ecal Iso
virtual void beginRun(edm::Run &run, const edm::EventSetup &c)