Public Member Functions | |
int | GetRMindex (const std::string &rbx, int rm) |
HcalDetDiagNoiseRMSummary () | |
void | reset () |
void | reset_LS () |
Public Attributes | |
HcalDetDiagNoiseRMData | rm [HcalFrontEndId::maxRmIndex] |
Definition at line 131 of file HcalDetDiagNoiseMonitor.cc.
HcalDetDiagNoiseRMSummary::HcalDetDiagNoiseRMSummary | ( | ) | [inline] |
int HcalDetDiagNoiseRMSummary::GetRMindex | ( | const std::string & | rbx, |
int | rm | ||
) | [inline] |
Definition at line 142 of file HcalDetDiagNoiseMonitor.cc.
{ if(rbx.substr(0,3)=="HO0"){ int sect=atoi(rbx.substr(3,2).c_str()); if(sect>12) return -1; if(rm==1 && (sect==2 || sect==3 || sect==6 || sect==7 || sect==10 || sect==11)) return -1; if(rm==4 && (sect==12 || sect==1 || sect==4 || sect==5 || sect==8 || sect==9 )) return -1; } if(rbx.substr(0,3)=="HO1" || rbx.substr(0,3)=="HO2"){ int sect=atoi(rbx.substr(4,2).c_str()); if(sect>12) return -1; if(sect==1 || sect==3 || sect==5 || sect==7 || sect==9 || sect==11) return -1; } HcalFrontEndId id(rbx,rm,1,1,1,1,1); if(id.rawId()==0) return -1; return id.rmIndex(); }
void HcalDetDiagNoiseRMSummary::reset | ( | void | ) | [inline] |
Definition at line 136 of file HcalDetDiagNoiseMonitor.cc.
References i, HcalFrontEndId::maxRmIndex, reset(), and submit::rm.
void HcalDetDiagNoiseRMSummary::reset_LS | ( | ) | [inline] |
Definition at line 139 of file HcalDetDiagNoiseMonitor.cc.
References i, HcalFrontEndId::maxRmIndex, and submit::rm.
Definition at line 158 of file HcalDetDiagNoiseMonitor.cc.