95 hFEDsize = ibooker.
book1D(
"hFEDsize",
"HCAL FED size (kB)",200,-0.5,20.5);
103 sprintf(hname,
"L1 Event Number %% %i",
period_);
104 hL1Id = ibooker.
book1D(
"hL1Id", hname,4200,-99.5,4099.5);
112 ibooker.
book1D(
"DistrHBHEsize",
"Size of HBHE Collection",
118 ibooker.
book1D(
"DistrHFsize",
"Size of HF Collection",
127 ibooker.
book2D(
"MBdepthPl1",
"iphi- +ieta signal distribution at depth1",
141 ibooker.
book2D(
"NoisedepthPl1",
"iphi-ieta noise distribution at depth1",
154 ibooker.
book2D(
"MB2depthPl1",
"iphi- +ieta signal distribution at depth1",
168 ibooker.
book2D(
"Noise2depthPl1",
"iphi-ieta noise distribution at depth1",
182 ibooker.
book2D(
"VarMBdepthPl1",
"iphi- +ieta signal distribution at depth1",
196 ibooker.
book2D(
"VarNoisedepthPl1",
"iphi-ieta noise distribution at depth1",
211 ibooker.
book2D(
"MBdepthMin1",
"iphi- +ieta signal distribution at depth1",
225 ibooker.
book2D(
"NoisedepthMin1",
"iphi-ieta noise distribution at depth1",
238 ibooker.
book2D(
"MB2depthMin1",
"iphi- +ieta signal distribution at depth1",
252 ibooker.
book2D(
"Noise2depthMin1",
"iphi-ieta noise distribution at depth1",
266 ibooker.
book2D(
"VarMBdepthMin1",
"iphi- +ieta signal distribution at depth1",
280 ibooker.
book2D(
"VarNoisedepthMin1",
"iphi-ieta noise distribution at depth1",
314 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
319 std::vector<int> selFEDs;
322 selFEDs.push_back(
i);
329 bool hcalIsZS =
false;
331 bool lvl1IDFound =
false;
332 for (
unsigned int k=0;
k<selFEDs.size();
k++) {
352 if(k != 20 && nspigot !=14 ) {
359 if (!lvl1IDFound && (fedData.
size() > 0)) {
362 lvl1ID = fedHeader.
lvl1ID();
374 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
382 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
390 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
398 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
409 DetId id = (*hbheItr).detid();
412 if(hid.
depth() == 1) {
413 if( hid.
ieta() > 0 ) {
427 DetId id = (*hbheItr).detid();
430 if(hid.
depth() == 1) {
431 if( hid.
ieta() > 0 ) {
449 DetId id = (*hbheItr).detid();
452 if(hid.
depth() == 1) {
453 if( hid.
ieta() > 0 ) {
468 DetId id = (*hbheItr).detid();
471 if(hid.
depth() == 1) {
472 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< HBHERecHit >::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
~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
void setCurrentFolder(const std::string &fullpath)
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_