121 std::string currDir =
dbe_->
pwd();
122 if (
debug_>0)
std::cout <<
"--- Current Directory " << currDir << std::endl;
124 if (
debug_>0)
std::cout <<
"found " << mes.size() <<
" monitoring elements:" << std::endl;
163 if (
debug_>0)
std::cout<<
"<HcalDAQInfo::beginLuminosityBlock>"<<std::endl;
171 std::cout <<
"<HcalDAQInfo::endLuminosityBlock> "<<std::endl;
173 std::string currDir =
dbe_->
pwd();
174 std::cout <<
"--- Current Directory " << currDir << std::endl;
176 std::cout <<
"found " << mes.size() <<
" monitoring elements:" << std::endl;
193 if( iSetup.
find( recordKey ) ) {
198 std::vector<int> FedsInIds= sumFED->m_fed_in;
200 float HcalFedCount = 0.;
201 float HBFedCount = 0.;
202 float HEFedCount = 0.;
203 float HFFedCount = 0.;
204 float HOFedCount = 0.;
205 float HO0FedCount = 0.;
206 float HO12FedCount = 0.;
207 float HFlumiFedCount = 0.;
211 for(
unsigned int fedItr=0; fedItr<FedsInIds.size(); ++fedItr ) {
213 int fedID=FedsInIds[fedItr];
215 if (fedID >= 700 && fedID <= 731) {
217 if (fedID >= 700 && fedID <= 717) {
221 else if (fedID >= 718 && fedID <= 723) {
225 else if (fedID >= 724 && fedID <= 731) {
242 HcalFedCount = (HBFedCount*144+HEFedCount*144+HFFedCount*288+HOFedCount)/9072;
249 HO12FedCount /= 1584;
269 std::cout<<
" HcalFedCount= "<<HcalFedCount<<std::endl;
270 std::cout<<
" HBFedCount= "<<HBFedCount<<std::endl;
271 std::cout<<
" HEFedCount= "<<HEFedCount<<std::endl;
272 std::cout<<
" HFFedCount= "<<HFFedCount<<std::endl;
273 std::cout<<
" HOFedCount= "<<HOFedCount<<std::endl;
274 std::cout<<
" HO0FedCount= "<<HO0FedCount<<std::endl;
275 std::cout<<
" HO12FedCount= "<<HO12FedCount<<std::endl;
276 std::cout<<
" HFlumiFedCount= "<<HFlumiFedCount<<std::endl;
T getUntrackedParameter(std::string const &, T const &) const
void setBinContent(int binx, double content)
set content of bin (1-D)
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
void setAxisRange(double xmin, double xmax, int axis=1)
set x-, y- or z-axis range (axis=1, 2, 3 respectively)
virtual void endLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &)
#define DEFINE_FWK_MODULE(type)
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)
MonitorElement * HO0DaqFraction
MonitorElement * bookFloat(const char *name)
Book float.
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
std::vector< MonitorElement * > getAllContents(const std::string &path) const
MonitorElement * DAQSummaryMap
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * HBDaqFraction
MonitorElement * HFDaqFraction
MonitorElement * HODaqFraction
HcalDAQInfo(const edm::ParameterSet &)
MonitorElement * HcalDaqFraction
MonitorElement * HFlumiDaqFraction
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setCurrentFolder(const std::string &fullpath)
MonitorElement * HEDaqFraction
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
const std::string & pwd(void) const
MonitorElement * HO12DaqFraction