Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
private
:
22
std::string
releaseName_
;
23
bool
standardFormat_
;
24
int
major_
,
minor_
,
patch_
,
subpatch_
;
25
};
26
27
#endif //DataFormats_METReco_HcalCaloFlagTool_h
HcalCaloFlagTool::HcalCaloFlagTool
HcalCaloFlagTool(const std::string &releaseName)
Definition:
HcalCaloFlagTool.cc:5
HcalCaloFlagLabels.h
HcalSubdetector.h
HcalCaloFlagTool
Provides interpretation of flag bits with understanding of CMSSW version dependence.
Definition:
HcalCaloFlagTool.h:12
HcalCaloFlagTool::subpatch_
int subpatch_
Definition:
HcalCaloFlagTool.h:24
HcalCaloFlagTool::patch_
int patch_
Definition:
HcalCaloFlagTool.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HcalCaloFlagTool::getFieldName
std::string getFieldName(HcalSubdetector sd, int bit) const
Definition:
HcalCaloFlagTool.cc:17
HcalCaloFlagTool::getFieldStart
int getFieldStart(HcalSubdetector sd, const std::string &field) const
Definition:
HcalCaloFlagTool.cc:25
HcalCaloFlagTool::minor_
int minor_
Definition:
HcalCaloFlagTool.h:24
HcalSubdetector
HcalSubdetector
Definition:
HcalAssistant.h:31
HcalCaloFlagTool::releaseName_
std::string releaseName_
Definition:
HcalCaloFlagTool.h:22
HcalCaloFlagTool::hasField
bool hasField(HcalSubdetector sd, const std::string &field) const
Definition:
HcalCaloFlagTool.cc:33
HcalCaloFlagTool::standardFormat_
bool standardFormat_
Definition:
HcalCaloFlagTool.h:23
HcalCaloFlagTool::getFieldWidth
int getFieldWidth(HcalSubdetector sd, int bit) const
Definition:
HcalCaloFlagTool.cc:21
sd
double sd
Definition:
CascadeWrapper.h:137
HcalCaloFlagTool::major_
int major_
Definition:
HcalCaloFlagTool.h:24
Generated for CMSSW Reference Manual by
1.8.5