15 edm::LogVerbatim (
"rpcdeadchanneltest") <<
"[RPCDeadChannelTest]: Constructor";
27 edm::LogVerbatim (
"rpcdeadchanneltest") <<
"[RPCDeadChannelTest]: Begin Job";
35 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
39 if(meName.find(clientHistoName) != std::string::npos){
49 edm::LogVerbatim (
"rpcdeadchanneltest") <<
"[RPCDeadChannelTest]:Client Operation";
60 if (! myMe )
continue;
64 float deadFraction = 0.0 ;
66 if(theOccupancyQReport) {
68 float qtresult = theOccupancyQReport->
getQTresult();
70 deadFraction = 1.0 - qtresult;
74 float emptyBins = 0.0;
76 if (xBins != 0){ deadFraction = emptyBins/xBins;}
122 for (
int i = -1 * limit;
i<=
limit;
i++ ){
125 histoName<<
"DeadChannelFraction_Roll_vs_Sector_Wheel"<<
i;
126 DEADWheel[i+2] = ibooker.
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
128 for (
int x = 1;
x<=12;
x++){
129 for(
int y=1;
y<=21;
y++){
141 if (
i>0) {offset --;}
144 histoName<<
"DeadChannelFraction_Ring_vs_Segment_Disk"<<
i;
T getUntrackedParameter(std::string const &, T const &) const
const QReport * getQReport(const std::string &qtname) const
get QReport corresponding to <qtname> (null pointer if QReport does not exist)
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * DEADWheel[5]
void labelXAxisSegment(MonitorElement *myMe)
void labelYAxisRoll(MonitorElement *myMe, int region, int ring, bool useRollInfo)
virtual ~RPCDeadChannelTest()
Destructor.
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &, std::string &)
void labelYAxisRing(MonitorElement *myMe, int numberOfRings, bool useRollInfo)
unsigned int offset(bool)
void labelXAxisSector(MonitorElement *myMe)
std::vector< MonitorElement * > myOccupancyMe_
void beginJob(std::string &)
int detId2RollNr(const RPCDetId &_id)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
std::vector< RPCDetId > myDetIds_
void myBooker(DQMStore::IBooker &)
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
float getQTresult(void) const
get test result i.e. prob value
double getBinContent(int binx) const
get content of bin (1-D)
int getNbinsX(void) const
get # of bins in X-axis
RPCDeadChannelTest(const edm::ParameterSet &ps)
Constructor.
MonitorElement * DEADDisk[10]
std::string globalFolder_
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.