DataFormats
METReco
interface
HcalCaloFlagTool.h
Go to the documentation of this file.
1
#ifndef DataFormats_METReco_HcalCaloFlagTool_h
2
#define DataFormats_METReco_HcalCaloFlagTool_h
3
4
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
5
#include "
DataFormats/METReco/interface/HcalCaloFlagLabels.h
"
6
#include <string>
7
8
// Use the HcalCaloFlagTool (below) for full interpretation of HcalCaloFlagLabels
12
class
HcalCaloFlagTool
{
13
public
:
14
HcalCaloFlagTool
(
const
std::string
& releaseName);
15
std::string
getFieldName
(
HcalSubdetector
sd
,
int
bit)
const
;
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
:
23
std::string
releaseName_
;
24
bool
standardFormat_
;
25
int
major_
,
minor_
,
patch_
,
subpatch_
;
26
};
27
28
#endif //DataFormats_METReco_HcalCaloFlagTool_h
HcalCaloFlagTool::standardFormat_
bool standardFormat_
Definition:
HcalCaloFlagTool.h:24
HcalCaloFlagTool::releaseName_
std::string releaseName_
Definition:
HcalCaloFlagTool.h:23
HcalCaloFlagTool
Provides interpretation of flag bits with understanding of CMSSW version dependence.
Definition:
HcalCaloFlagTool.h:12
HcalCaloFlagTool::hasField
bool hasField(HcalSubdetector sd, const std::string &field) const
Definition:
HcalCaloFlagTool.cc:20
HcalCaloFlagTool::getFieldName
std::string getFieldName(HcalSubdetector sd, int bit) const
Definition:
HcalCaloFlagTool.cc:12
HcalCaloFlagTool::major_
int major_
Definition:
HcalCaloFlagTool.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalCaloFlagLabels.h
HcalCaloFlagTool::HcalCaloFlagTool
HcalCaloFlagTool(const std::string &releaseName)
Definition:
HcalCaloFlagTool.cc:5
HcalSubdetector.h
HcalCaloFlagTool::patch_
int patch_
Definition:
HcalCaloFlagTool.h:25
HcalSubdetector
HcalSubdetector
Definition:
HcalAssistant.h:31
HcalCaloFlagTool::getFieldStart
int getFieldStart(HcalSubdetector sd, const std::string &field) const
Definition:
HcalCaloFlagTool.cc:16
HcalCaloFlagTool::getFieldWidth
int getFieldWidth(HcalSubdetector sd, int bit) const
Definition:
HcalCaloFlagTool.cc:14
sd
double sd
Definition:
CascadeWrapper.h:113
HcalCaloFlagTool::minor_
int minor_
Definition:
HcalCaloFlagTool.h:25
HcalCaloFlagTool::subpatch_
int subpatch_
Definition:
HcalCaloFlagTool.h:25
Generated for CMSSW Reference Manual by
1.8.16