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 
22 private:
26 };
27 
28 #endif //DataFormats_METReco_HcalCaloFlagTool_h
HcalCaloFlagTool(const std::string &releaseName)
int getFieldWidth(HcalSubdetector sd, int bit) const
bool hasField(HcalSubdetector sd, const std::string &field) const
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_