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",
318 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
323 std::vector<int> selFEDs;
326 selFEDs.push_back(
i);
333 bool hcalIsZS =
false;
335 bool lvl1IDFound =
false;
336 for (
unsigned int k=0;
k<selFEDs.size();
k++) {
356 if(k != 20 && nspigot !=14 ) {
363 if (!lvl1IDFound && (fedData.
size() > 0)) {
366 lvl1ID = fedHeader.
lvl1ID();
378 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
386 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
394 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
402 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
413 DetId id = (*hbheItr).detid();
416 if(hid.
depth() == 1) {
417 if( hid.
ieta() > 0 ) {
431 DetId id = (*hbheItr).detid();
434 if(hid.
depth() == 1) {
435 if( hid.
ieta() > 0 ) {
453 DetId id = (*hbheItr).detid();
456 if(hid.
depth() == 1) {
457 if( hid.
ieta() > 0 ) {
472 DetId id = (*hbheItr).detid();
475 if(hid.
depth() == 1) {
476 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_
void endRun(const edm::Run &r, const edm::EventSetup &c)
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
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_
void analyze(const edm::Event &e, const edm::EventSetup &c)
const_iterator end() const
int iphi() const
get the cell iphi
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
void setCurrentFolder(const std::string &fullpath)
T const * product() const
MonitorElement * book2D(Args &&...args)
MonitorElement * hiDistrMBMin2D_
return(e1-e2)*(e1-e2)+dp *dp
edm::EDGetTokenT< HFRecHitCollection > hfrecoMB
double getBinContent(int binx) const
get content of bin (1-D)
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
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)
virtual 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_