171 hFEDsize = ibooker.
book1D(
"hFEDsize",
"HCAL FED size (kB)", 200, -0.5, 20.5);
179 sprintf(hname,
"L1 Event Number %% %i",
period_);
180 hL1Id = ibooker.
book1D(
"hL1Id", hname, 4200, -99.5, 4099.5);
191 "iphi- +ieta signal distribution at depth1",
203 "iphi-ieta noise distribution at depth1",
215 "iphi- +ieta signal distribution at depth1",
227 "iphi-ieta noise distribution at depth1",
240 "iphi- +ieta signal distribution at depth1",
252 "iphi-ieta noise distribution at depth1",
266 "iphi- +ieta signal distribution at depth1",
278 "iphi-ieta noise distribution at depth1",
290 "iphi- +ieta signal distribution at depth1",
302 "iphi-ieta noise distribution at depth1",
315 "iphi- +ieta signal distribution at depth1",
327 "iphi-ieta noise distribution at depth1",
356 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
361 std::vector<int> selFEDs;
363 selFEDs.push_back(
i);
370 bool hcalIsZS =
false;
372 bool lvl1IDFound =
false;
373 for (
unsigned int k = 0;
k < selFEDs.size();
k++) {
394 if (k != 20 && nspigot != 14) {
403 if (!lvl1IDFound && (fedData.
size() > 0)) {
406 lvl1ID = fedHeader.
lvl1ID();
418 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
426 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
434 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
442 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
451 DetId id = (*hbheItr).detid();
454 if (hid.
depth() == 1) {
455 if (hid.
ieta() > 0) {
468 DetId id = (*hbheItr).detid();
471 if (hid.
depth() == 1) {
472 if (hid.
ieta() > 0) {
487 DetId id = (*hbheItr).detid();
490 if (hid.
depth() == 1) {
491 if (hid.
ieta() > 0) {
504 DetId id = (*hbheItr).detid();
507 if (hid.
depth() == 1) {
508 if (hid.
ieta() > 0) {
MonitorElement * hiDistrNoisePl2D_
T getUntrackedParameter(std::string const &, T const &) const
bool saveToFile_
Write to file.
const edm::EventSetup & c
MonitorElement * hiDistrVarMBPl2D_
MonitorElement * hiDistrVarNoiseMin2D_
DQMHcalPhiSymAlCaReco(const edm::ParameterSet &)
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< HBHERecHitCollection > hbherecoNoise
std::vector< T >::const_iterator const_iterator
edm::EDGetTokenT< FEDRawDataCollection > rawInLabel_
void dqmEndRun(const edm::Run &r, const edm::EventSetup &c) override
size_t size() const
Lenght of the data buffer in bytes.
bool isUnsuppressed() const
Is this event an unsuppresed event?
MonitorElement * hiDistrMBPl2D_
MonitorElement * hiDistrHFsize1D_
edm::EDGetTokenT< HFRecHitCollection > hfrecoNoise
MonitorElement * hFEDsize
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
constexpr int iphi() const
get the cell iphi
~DQMHcalPhiSymAlCaReco() override
MonitorElement * hiDistrVarMBMin2D_
constexpr int ieta() const
get the cell ieta
MonitorElement * hiDistrVarNoisePl2D_
std::string folderName_
DQM folder name.
MonitorElement * hiDistrMB2Pl2D_
edm::InputTag horecoNoise
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
virtual double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * hiDistrNoise2Min2D_
const_iterator end() const
T const * product() const
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * hiDistrMBMin2D_
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
T getParameter(std::string const &) const
edm::EDGetTokenT< HFRecHitCollection > hfrecoMB
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
MonitorElement * hiDistrNoise2Pl2D_
MonitorElement * hiDistrNoiseMin2D_
std::string fileName_
Output file name if required.
constexpr int depth() const
get the tower depth
edm::EDGetTokenT< HBHERecHitCollection > hbherecoMB
object to monitor
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
void analyze(const edm::Event &e, const edm::EventSetup &c) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Power< A, B >::type pow(const A &a, const B &b)
const_iterator begin() const
MonitorElement * hiDistrHBHEsize1D_
MonitorElement * hHcalIsZS
MonitorElement * hiDistrMB2Min2D_
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)