CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
RPCRawDataCountsHistoMaker Class Reference

#include <RPCRawDataCountsHistoMaker.h>

Static Public Member Functions

static TH1F * emptyReadoutErrorHisto (int fedId)
 
static TH2F * emptyReadoutErrorMapHisto (int fedId, int type)
 
static TH1F * emptyRecordTypeHisto (int fedId)
 

Detailed Description

Definition at line 9 of file RPCRawDataCountsHistoMaker.h.

Member Function Documentation

TH1F * RPCRawDataCountsHistoMaker::emptyReadoutErrorHisto ( int  fedId)
static

Definition at line 12 of file RPCRawDataCountsHistoMaker.cc.

References HLT_25ns14e33_v1_cff::fedId, i, rpcrawtodigi::ReadoutError::name(), and query::result.

Referenced by RPCMonitorRaw::bookHistograms().

12  {
13  std::ostringstream str;
14  str <<"readoutErrors_"<<fedId;
15  TH1F * result = new TH1F(str.str().c_str(),str.str().c_str(),9, 0.5,9.5);
16  for (unsigned int i=1; i<=9; ++i) {
18  result->GetXaxis()->SetBinLabel(i,rpcrawtodigi::ReadoutError::name(code).c_str());
19  }
20  return result;
21 }
int i
Definition: DBlmapReader.cc:9
std::string name() const
Definition: ReadoutError.h:33
tuple result
Definition: query.py:137
TH2F * RPCRawDataCountsHistoMaker::emptyReadoutErrorMapHisto ( int  fedId,
int  type 
)
static

Definition at line 35 of file RPCRawDataCountsHistoMaker.cc.

References HLT_25ns14e33_v1_cff::fedId, rpcrawtodigi::ReadoutError::name(), and query::result.

Referenced by RPCMonitorRaw::bookHistograms().

35  {
36  std::ostringstream str;
38  str <<"errors_"<<rpcrawtodigi::ReadoutError::name(code)<<"_"<<fedId;
39  TH2F * result = new TH2F(str.str().c_str(),str.str().c_str(), 36,-0.5,35.5, 18,-0.5,17.5);
40  result->GetXaxis()->SetNdivisions(512);
41  result->GetYaxis()->SetNdivisions(505);
42  result->SetXTitle("rmb");
43  result->SetYTitle("link");
44  result->SetStats(0);
45  return result;
46 }
type
Definition: HCALResponse.h:21
std::string name() const
Definition: ReadoutError.h:33
tuple result
Definition: query.py:137
TH1F * RPCRawDataCountsHistoMaker::emptyRecordTypeHisto ( int  fedId)
static

Definition at line 23 of file RPCRawDataCountsHistoMaker.cc.

References HLT_25ns14e33_v1_cff::fedId, i, rpcrawtodigi::DataRecord::name(), and query::result.

Referenced by RPCMonitorRaw::bookHistograms().

23  {
24  std::ostringstream str;
25  str <<"recordType_"<<fedId;
26  TH1F * result = new TH1F(str.str().c_str(),str.str().c_str(),9, 0.5,9.5);
27  result->SetTitleOffset(1.4,"x");
28  for (unsigned int i=1; i<=9; ++i) {
30  result->GetXaxis()->SetBinLabel(i,rpcrawtodigi::DataRecord::name(code).c_str());
31  }
32  return result;
33 }
int i
Definition: DBlmapReader.cc:9
static std::string name(const DataRecordType &code)
Definition: DataRecord.cc:44
tuple result
Definition: query.py:137