104 sprintf(hname,
"L1 Event Number %% %i",
period_);
113 dbe_->
book1D(
"DistrHBHEsize",
"Size of HBHE Collection",
119 dbe_->
book1D(
"DistrHFsize",
"Size of HF Collection",
128 dbe_->
book2D(
"MBdepthPl1",
"iphi- +ieta signal distribution at depth1",
142 dbe_->
book2D(
"NoisedepthPl1",
"iphi-ieta noise distribution at depth1",
155 dbe_->
book2D(
"MB2depthPl1",
"iphi- +ieta signal distribution at depth1",
169 dbe_->
book2D(
"Noise2depthPl1",
"iphi-ieta noise distribution at depth1",
183 dbe_->
book2D(
"VarMBdepthPl1",
"iphi- +ieta signal distribution at depth1",
197 dbe_->
book2D(
"VarNoisedepthPl1",
"iphi-ieta noise distribution at depth1",
212 dbe_->
book2D(
"MBdepthMin1",
"iphi- +ieta signal distribution at depth1",
226 dbe_->
book2D(
"NoisedepthMin1",
"iphi-ieta noise distribution at depth1",
239 dbe_->
book2D(
"MB2depthMin1",
"iphi- +ieta signal distribution at depth1",
253 dbe_->
book2D(
"Noise2depthMin1",
"iphi-ieta noise distribution at depth1",
267 dbe_->
book2D(
"VarMBdepthMin1",
"iphi- +ieta signal distribution at depth1",
281 dbe_->
book2D(
"VarNoisedepthMin1",
"iphi-ieta noise distribution at depth1",
319 LogDebug(
"") <<
"HcalCalibAlgos: Error! can't get hbhe product!" << std::endl;
324 std::vector<int> selFEDs;
327 selFEDs.push_back(
i);
334 bool hcalIsZS =
false ;
335 for (
unsigned int k=0;
k<selFEDs.size();
k++)
344 if (!dccHeader)
continue;
358 if(k != 20 && nspigot !=14 ) {
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_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
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
void beginRun(const edm::Run &r, const edm::EventSetup &c)
int ieta() const
get the cell ieta
MonitorElement * hiDistrVarMBMin2D_
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)
MonitorElement * hiDistrMBMin2D_
T const * product() const
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)
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
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.
volatile std::atomic< bool > shutdown_flag false
edm::EDGetTokenT< HBHERecHitCollection > hbherecoMB
object to monitor
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Power< A, B >::type pow(const A &a, const B &b)
void setCurrentFolder(const std::string &fullpath)
const_iterator begin() const
MonitorElement * hiDistrHBHEsize1D_
MonitorElement * hHcalIsZS
MonitorElement * hiDistrMB2Min2D_