Provides interpretation of flag bits with understanding of CMSSW version dependence. More...
#include <HcalCaloFlagLabels.h>
Public Member Functions | |
std::string | getFieldName (HcalSubdetector sd, int bit) const |
int | getFieldStart (HcalSubdetector sd, const std::string &field) const |
int | getFieldWidth (HcalSubdetector sd, int bit) const |
int | getFieldWidth (HcalSubdetector sd, const std::string &field) const |
bool | hasField (HcalSubdetector sd, const std::string &field) const |
bool | hasField (HcalSubdetector sd, int bit) const |
HcalCaloFlagTool (const std::string &releaseName) | |
Private Attributes | |
int | major_ |
int | minor_ |
int | patch_ |
std::string | releaseName_ |
bool | standardFormat_ |
int | subpatch_ |
Provides interpretation of flag bits with understanding of CMSSW version dependence.
Definition at line 65 of file HcalCaloFlagLabels.h.
HcalCaloFlagTool::HcalCaloFlagTool | ( | const std::string & | releaseName | ) |
Definition at line 5 of file HcalCaloFlagLabels.cc.
References l1GtPatternGenerator_cfi::fields, major_, minor_, patch_, standardFormat_, and subpatch_.
std::string HcalCaloFlagTool::getFieldName | ( | HcalSubdetector | sd, |
int | bit | ||
) | const |
Definition at line 17 of file HcalCaloFlagLabels.cc.
int HcalCaloFlagTool::getFieldStart | ( | HcalSubdetector | sd, |
const std::string & | field | ||
) | const |
Definition at line 25 of file HcalCaloFlagLabels.cc.
int HcalCaloFlagTool::getFieldWidth | ( | HcalSubdetector | sd, |
int | bit | ||
) | const |
Definition at line 21 of file HcalCaloFlagLabels.cc.
Referenced by hasField().
int HcalCaloFlagTool::getFieldWidth | ( | HcalSubdetector | sd, |
const std::string & | field | ||
) | const |
Definition at line 29 of file HcalCaloFlagLabels.cc.
bool HcalCaloFlagTool::hasField | ( | HcalSubdetector | sd, |
const std::string & | field | ||
) | const |
Definition at line 33 of file HcalCaloFlagLabels.cc.
References getFieldWidth(), major_, and standardFormat_.
bool HcalCaloFlagTool::hasField | ( | HcalSubdetector | sd, |
int | bit | ||
) | const |
Definition at line 40 of file HcalCaloFlagLabels.cc.
References getFieldWidth(), major_, and standardFormat_.
|
private |
Definition at line 77 of file HcalCaloFlagLabels.h.
Referenced by hasField(), and HcalCaloFlagTool().
|
private |
Definition at line 77 of file HcalCaloFlagLabels.h.
Referenced by HcalCaloFlagTool().
|
private |
Definition at line 77 of file HcalCaloFlagLabels.h.
Referenced by HcalCaloFlagTool().
|
private |
Definition at line 75 of file HcalCaloFlagLabels.h.
|
private |
Definition at line 76 of file HcalCaloFlagLabels.h.
Referenced by hasField(), and HcalCaloFlagTool().
|
private |
Definition at line 77 of file HcalCaloFlagLabels.h.
Referenced by HcalCaloFlagTool().