18 : outputFile_(iConfig.getUntrackedParameter<std::
string>(
"outputFile",
"myfile.root")),
19 rbxCollName_(iConfig.getUntrackedParameter<edm::
InputTag>(
"rbxCollName")),
20 minRBXEnergy_(iConfig.getUntrackedParameter<double>(
"minRBXEnergy")),
21 minHitEnergy_(iConfig.getUntrackedParameter<double>(
"minHitEnergy")),
22 useAllHistos_(iConfig.getUntrackedParameter<bool>(
"useAllHistos",
false)),
42 sprintf(histo,
"hLumiBlockCount");
46 sprintf(histo,
"hRBXEnergy");
49 sprintf(histo,
"hRBXEnergyType1");
52 sprintf(histo,
"hRBXEnergyType2");
55 sprintf(histo,
"hRBXEnergyType3");
58 sprintf(histo,
"hRBXNHits");
63 sprintf(histo,
"nNNumChannels");
65 sprintf(histo,
"nNSumE");
67 sprintf(histo,
"nNSumEt");
70 sprintf(histo,
"sNNumChannels");
72 sprintf(histo,
"sNSumE");
74 sprintf(histo,
"sNSumEt");
77 sprintf(histo,
"iNNumChannels");
79 sprintf(histo,
"iNSumE");
81 sprintf(histo,
"iNSumEt");
84 sprintf(histo,
"hNoise_maxZeros");
86 sprintf(histo,
"hNoise_maxHPDHits");
88 sprintf(histo,
"hNoise_maxHPDNoOtherHits");
102 <<
" could not find HcalNoiseRBXCollection named " <<
rbxCollName_ <<
".\n";
132 for (reco::HcalNoiseRBXCollection::const_iterator it = handle->begin(); it != handle->end(); ++it) {
146 else if (nhits <= 18)
float NegativeNoiseSumEt(void) const
int numSpikeNoiseChannels(void) const
MonitorElement * sNNumChannels_
MonitorElement * hRBXEnergy_
std::vector< HcalNoiseRBX > HcalNoiseRBXCollection
const double minHitEnergy_
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * hNoise_maxHPDNoOtherHits_
const edm::EDGetTokenT< reco::HcalNoiseRBXCollection > tok_rbx_
const edm::EDGetTokenT< HcalNoiseSummary > noisetoken_
#define DEFINE_FWK_MODULE(type)
int numIsolatedNoiseChannels(void) const
float spikeNoiseSumE(void) const
int numRecHits(double threshold=1.5) const
edm::LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * hRBXEnergyType3_
MonitorElement * hLumiBlockCount_
MonitorElement * hRBXNHits_
MonitorElement * nNNumChannels_
float spikeNoiseSumEt(void) const
std::map< int, int > lumiCountMap_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
int numNegativeNoiseChannels(void) const
Handle< PROD > getHandle(EDGetTokenT< PROD > token) const
float isolatedNoiseSumEt(void) const
MonitorElement * hNoise_maxZeros_
double recHitEnergy(double theshold=1.5) const
MonitorElement * iNNumChannels_
MonitorElement * hRBXEnergyType2_
NoiseRates(const edm::ParameterSet &)
MonitorElement * hNoise_maxHPDHits_
MonitorElement * iNSumEt_
MonitorElement * sNSumEt_
MonitorElement * hRBXEnergyType1_
MonitorElement * nNSumEt_
float NegativeNoiseSumE(void) const
float isolatedNoiseSumE(void) const
const edm::InputTag rbxCollName_
int maxHPDNoOtherHits(void) const
const double minRBXEnergy_
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
int maxHPDHits(void) const