92 hFEDsize = ibooker.
book1D(
"hFEDsize",
"HCAL FED size (kB)", 200, -0.5, 20.5);
100 sprintf(hname,
"L1 Event Number %% %i",
period_);
101 hL1Id = ibooker.
book1D(
"hL1Id", hname, 4200, -99.5, 4099.5);
112 "iphi- +ieta signal distribution at depth1",
124 "iphi-ieta noise distribution at depth1",
136 "iphi- +ieta signal distribution at depth1",
148 "iphi-ieta noise distribution at depth1",
161 "iphi- +ieta signal distribution at depth1",
173 "iphi-ieta noise distribution at depth1",
187 "iphi- +ieta signal distribution at depth1",
199 "iphi-ieta noise distribution at depth1",
211 "iphi- +ieta signal distribution at depth1",
223 "iphi-ieta noise distribution at depth1",
236 "iphi- +ieta signal distribution at depth1",
248 "iphi-ieta noise distribution at depth1",
277 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
282 std::vector<int> selFEDs;
284 selFEDs.push_back(
i);
291 bool hcalIsZS =
false;
293 bool lvl1IDFound =
false;
294 for (
unsigned int k = 0;
k < selFEDs.size();
k++) {
315 if (k != 20 && nspigot != 14) {
324 if (!lvl1IDFound && (fedData.
size() > 0)) {
327 lvl1ID = fedHeader.
lvl1ID();
339 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
347 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
355 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
363 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
372 DetId id = (*hbheItr).detid();
375 if (hid.
depth() == 1) {
376 if (hid.
ieta() > 0) {
389 DetId id = (*hbheItr).detid();
392 if (hid.
depth() == 1) {
393 if (hid.
ieta() > 0) {
408 DetId id = (*hbheItr).detid();
411 if (hid.
depth() == 1) {
412 if (hid.
ieta() > 0) {
425 DetId id = (*hbheItr).detid();
428 if (hid.
depth() == 1) {
429 if (hid.
ieta() > 0) {
T getParameter(std::string const &) const
MonitorElement * hiDistrNoisePl2D_
T getUntrackedParameter(std::string const &, T const &) const
bool saveToFile_
Write to file.
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * hiDistrVarMBPl2D_
MonitorElement * hiDistrVarNoiseMin2D_
DQMHcalPhiSymAlCaReco(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< HBHERecHitCollection > hbherecoNoise
std::vector< T >::const_iterator const_iterator
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)
edm::EDGetTokenT< FEDRawDataCollection > rawInLabel_
size_t size() const
Lenght of the data buffer in bytes.
bool isUnsuppressed() const
Is this event an unsuppresed event?
MonitorElement * hiDistrMBPl2D_
MonitorElement * hiDistrHFsize1D_
int depth() const
get the tower depth
edm::EDGetTokenT< HFRecHitCollection > hfrecoNoise
MonitorElement * hFEDsize
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void setCurrentFolder(std::string const &fullpath)
~DQMHcalPhiSymAlCaReco() override
int ieta() const
get the cell ieta
MonitorElement * hiDistrVarMBMin2D_
MonitorElement * book1D(Args &&...args)
MonitorElement * hiDistrVarNoisePl2D_
std::string folderName_
DQM folder name.
MonitorElement * hiDistrMB2Pl2D_
edm::InputTag horecoNoise
MonitorElement * hiDistrNoise2Min2D_
const_iterator end() const
int iphi() const
get the cell iphi
T const * product() const
MonitorElement * book2D(Args &&...args)
MonitorElement * hiDistrMBMin2D_
edm::EDGetTokenT< HFRecHitCollection > hfrecoMB
double getBinContent(int binx) const
get content of bin (1-D)
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.
edm::EDGetTokenT< HBHERecHitCollection > hbherecoMB
object to monitor
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
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)
void endRun(const edm::Run &r, const edm::EventSetup &c) override
const_iterator begin() const
MonitorElement * hiDistrHBHEsize1D_
MonitorElement * hHcalIsZS
MonitorElement * hiDistrMB2Min2D_