CMS 3D CMS Logo

HcalCaloFlagTool.h
Go to the documentation of this file.
1 #ifndef DataFormats_METReco_HcalCaloFlagTool_h
2 #define DataFormats_METReco_HcalCaloFlagTool_h
3 
6 #include <string>
7 
8 // Use the HcalCaloFlagTool (below) for full interpretation of HcalCaloFlagLabels
13 public:
14  HcalCaloFlagTool(const std::string& releaseName);
16  int getFieldWidth(HcalSubdetector sd, int bit) const;
17  int getFieldStart(HcalSubdetector sd, const std::string& field) const;
18  int getFieldWidth(HcalSubdetector sd, const std::string& field) const;
19  bool hasField(HcalSubdetector sd, const std::string& field) const;
20  bool hasField(HcalSubdetector sd, int bit) const;
21 private:
25 };
26 
27 #endif //DataFormats_METReco_HcalCaloFlagTool_h
HcalCaloFlagTool(const std::string &releaseName)
Provides interpretation of flag bits with understanding of CMSSW version dependence.
std::string getFieldName(HcalSubdetector sd, int bit) const
int getFieldStart(HcalSubdetector sd, const std::string &field) const
HcalSubdetector
Definition: HcalAssistant.h:31
std::string releaseName_
bool hasField(HcalSubdetector sd, const std::string &field) const
int getFieldWidth(HcalSubdetector sd, int bit) const
double sd