30 dbe_->setCurrentFolder(
"NoiseRatesV/NoiseRatesTask");
46 sprintf (histo,
"hLumiBlockCount" );
50 sprintf (histo,
"hRBXEnergy" );
51 hRBXEnergy_ = dbe_->book1D(histo, histo, 300, 0, 3000);
53 sprintf (histo,
"hRBXEnergyType1" );
56 sprintf (histo,
"hRBXEnergyType2" );
59 sprintf (histo,
"hRBXEnergyType3" );
62 sprintf (histo,
"hRBXNHits" );
63 hRBXNHits_ = dbe_->book1D(histo, histo, 73,-0.5,72.5);
91 <<
" could not find HcalNoiseRBXCollection named " <<
rbxCollName_ <<
".\n";
96 for(reco::HcalNoiseRBXCollection::const_iterator it=handle->begin(); it!=handle->end(); ++it) {
MonitorElement * hRBXEnergy_
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
int numRecHits(double threshold=1.5) const
edm::LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * hRBXEnergyType3_
MonitorElement * hLumiBlockCount_
MonitorElement * hRBXNHits_
std::map< int, int > lumiCountMap_
double recHitEnergy(double theshold=1.5) const
MonitorElement * hRBXEnergyType2_
NoiseRates(const edm::ParameterSet &)
edm::InputTag rbxCollName_
MonitorElement * hRBXEnergyType1_
edm::EDGetTokenT< reco::HcalNoiseRBXCollection > tok_rbx_
virtual void analyze(const edm::Event &, const edm::EventSetup &)