40 NumBadXtalsThreshold_ (iConfig.getUntrackedParameter<int>(
"NumberXtalsThreshold")),
41 EBRecHitCollection_ (iConfig.getParameter<edm::
InputTag>(
"EcalRecHitCollectionEB"))
58 int nRecHitsGreater1GevPerEvent = 0;
66 float ampli = hit.
energy();
69 nRecHitsGreater1GevPerEvent++;
89 cout <<
"------EcalRecHitsFilter EndJob------>>>>>>>>>>" << endl;
90 file =
new TFile(
"RecHitFilter.root" ,
"RECREATE");
T getUntrackedParameter(std::string const &, T const &) const
std::vector< EcalRecHit >::const_iterator const_iterator
TH1F * nRecHitsGreater1GevPerEvent_hist
int iphi() const
get the crystal iphi
TH2F * nRecHitsGreater1GevPerEvent_hist_MAP
EcalRecHitsFilter(const edm::ParameterSet &)
int ieta() const
get the crystal ieta
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
DetId id() const
get the id
virtual bool filter(edm::Event &, const edm::EventSetup &)
edm::InputTag EBRecHitCollection_
int NumBadXtalsThreshold_