Provides interpretation of flag bits with understanding of CMSSW version dependence. More...
#include <HcalCaloFlagTool.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 12 of file HcalCaloFlagTool.h.
HcalCaloFlagTool::HcalCaloFlagTool | ( | const std::string & | releaseName | ) |
Definition at line 5 of file HcalCaloFlagTool.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 HcalCaloFlagTool.cc.
int HcalCaloFlagTool::getFieldStart | ( | HcalSubdetector | sd, |
const std::string & | field | ||
) | const |
Definition at line 25 of file HcalCaloFlagTool.cc.
int HcalCaloFlagTool::getFieldWidth | ( | HcalSubdetector | sd, |
int | bit | ||
) | const |
int HcalCaloFlagTool::getFieldWidth | ( | HcalSubdetector | sd, |
const std::string & | field | ||
) | const |
Definition at line 29 of file HcalCaloFlagTool.cc.
bool HcalCaloFlagTool::hasField | ( | HcalSubdetector | sd, |
const std::string & | field | ||
) | const |
Definition at line 33 of file HcalCaloFlagTool.cc.
References getFieldWidth(), major_, and standardFormat_.
bool HcalCaloFlagTool::hasField | ( | HcalSubdetector | sd, |
int | bit | ||
) | const |
Definition at line 40 of file HcalCaloFlagTool.cc.
References getFieldWidth(), major_, and standardFormat_.
|
private |
Definition at line 24 of file HcalCaloFlagTool.h.
Referenced by hasField(), and HcalCaloFlagTool().
|
private |
Definition at line 24 of file HcalCaloFlagTool.h.
Referenced by HcalCaloFlagTool().
|
private |
Definition at line 24 of file HcalCaloFlagTool.h.
Referenced by HcalCaloFlagTool().
|
private |
Definition at line 22 of file HcalCaloFlagTool.h.
|
private |
Definition at line 23 of file HcalCaloFlagTool.h.
Referenced by hasField(), and HcalCaloFlagTool().
|
private |
Definition at line 24 of file HcalCaloFlagTool.h.
Referenced by HcalCaloFlagTool().