Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
METReco
interface
HcalCaloFlagLabels.h
Go to the documentation of this file.
1
#ifndef DataFormats_METReco_HcalCaloFlagLabels_h
2
#define DataFormats_METReco_HcalCaloFlagLabels_h
3
4
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
5
#include <string>
6
7
// Create alias names for all status bits
8
// These aliases are valid for only the _current release_
9
// Use the HcalCaloFlagTool for full interpretation
10
namespace
HcalCaloFlagLabels
11
{
12
//subdetector-specific bits defined here (bits 0-15)
13
enum
HBHEStatusFlag
{
HBHEHpdHitMultiplicity
=0,
14
HBHEPulseShape
=1,
15
HSCP_R1R2
=2,
16
HSCP_FracLeader
=3,
17
HSCP_OuterEnergy
=4,
18
HSCP_ExpFit
=5,
19
HBHETimingTrustBits
=6,
// 2-bit counter; not yet in use
20
HBHETimingShapedCutsBits
=8,
// 3-bit counter
21
HBHENegativeNoise
=27,
22
HBHEIsolatedNoise
=11,
23
HBHEFlatNoise
=12,
24
HBHESpikeNoise
=13,
25
HBHETriangleNoise
=14,
26
HBHETS4TS5Noise
=15,
27
HBHEPulseFitBit
=29
28
};
29
30
enum
HFTimingTrustFlag
{
HFTimingTrustBits
=6};
31
32
enum
HOStatusFlag
{
HOBit
=0};
33
34
enum
HFStatusFlag
{
HFLongShort
=0,
35
HFDigiTime
=1,
36
HFInTimeWindow
=2,
// requires hit be within certain time window
37
HFS8S1Ratio
=3,
38
HFPET
=4
39
};
40
41
42
enum
ZDCStatusFlag
{
ZDCBit
=0};
43
44
enum
CalibrationFlag
{
CalibrationBit
=0};
45
46
// Bit definitions that apply to all subdetectors (bits 16-31)
47
enum
CommonFlag
{
TimingSubtractedBit
=16,
// latency shift correction, recovered
48
TimingAddedBit
=17,
// latency shift correction, recovered
49
TimingErrorBit
=18,
// latency shift error, unrecovered
50
ADCSaturationBit
=19,
51
Fraction2TS
=20,
// should deprecate this at some point
52
PresampleADC
=20,
// uses 7 bits to store ADC from presample
53
// This bit is not yet in use (as of March 2012), but can be used to mark sim hits to which noise has been intentionally added
54
AddedSimHcalNoise
=28,
55
// The following bits are all user-defined; reverse-order them so that UserDefinedBit0 will be the last removed
56
UserDefinedBit1
= 30,
57
UserDefinedBit0
= 31
58
};
59
60
}
61
62
#endif //DataFormats_METReco_HcalCaloFlagLabels_h
HcalCaloFlagLabels::HBHETS4TS5Noise
Definition:
HcalCaloFlagLabels.h:26
HcalCaloFlagLabels::CalibrationFlag
CalibrationFlag
Definition:
HcalCaloFlagLabels.h:44
HcalCaloFlagLabels::HOStatusFlag
HOStatusFlag
Definition:
HcalCaloFlagLabels.h:32
HcalCaloFlagLabels::HFInTimeWindow
Definition:
HcalCaloFlagLabels.h:36
HcalCaloFlagLabels::Fraction2TS
Definition:
HcalCaloFlagLabels.h:51
HcalCaloFlagLabels::HBHESpikeNoise
Definition:
HcalCaloFlagLabels.h:24
HcalCaloFlagLabels::UserDefinedBit1
Definition:
HcalCaloFlagLabels.h:56
HcalCaloFlagLabels::HBHEPulseFitBit
Definition:
HcalCaloFlagLabels.h:27
HcalSubdetector.h
HcalCaloFlagLabels::HFDigiTime
Definition:
HcalCaloFlagLabels.h:35
HcalCaloFlagLabels::HBHEFlatNoise
Definition:
HcalCaloFlagLabels.h:23
HcalCaloFlagLabels::HFS8S1Ratio
Definition:
HcalCaloFlagLabels.h:37
HcalCaloFlagLabels::HSCP_FracLeader
Definition:
HcalCaloFlagLabels.h:16
HcalCaloFlagLabels::HFStatusFlag
HFStatusFlag
Definition:
HcalCaloFlagLabels.h:34
HcalCaloFlagLabels::HSCP_ExpFit
Definition:
HcalCaloFlagLabels.h:18
HcalCaloFlagLabels::HBHETimingTrustBits
Definition:
HcalCaloFlagLabels.h:19
HcalCaloFlagLabels::UserDefinedBit0
Definition:
HcalCaloFlagLabels.h:57
HcalCaloFlagLabels::HBHETriangleNoise
Definition:
HcalCaloFlagLabels.h:25
HFTimingTrustFlag
Definition:
HFTimingTrustFlag.h:14
HcalCaloFlagLabels::TimingAddedBit
Definition:
HcalCaloFlagLabels.h:48
HcalCaloFlagLabels::ZDCStatusFlag
ZDCStatusFlag
Definition:
HcalCaloFlagLabels.h:42
HcalCaloFlagLabels::CommonFlag
CommonFlag
Definition:
HcalCaloFlagLabels.h:47
HcalCaloFlagLabels::ZDCBit
Definition:
HcalCaloFlagLabels.h:42
HcalCaloFlagLabels::HBHEPulseShape
Definition:
HcalCaloFlagLabels.h:14
HcalCaloFlagLabels::PresampleADC
Definition:
HcalCaloFlagLabels.h:52
HcalCaloFlagLabels::HBHEIsolatedNoise
Definition:
HcalCaloFlagLabels.h:22
HcalCaloFlagLabels::HSCP_OuterEnergy
Definition:
HcalCaloFlagLabels.h:17
HcalCaloFlagLabels::HFTimingTrustBits
Definition:
HcalCaloFlagLabels.h:30
HcalCaloFlagLabels::HBHENegativeNoise
Definition:
HcalCaloFlagLabels.h:21
HcalCaloFlagLabels::HBHETimingShapedCutsBits
Definition:
HcalCaloFlagLabels.h:20
HcalCaloFlagLabels::HSCP_R1R2
Definition:
HcalCaloFlagLabels.h:15
HcalCaloFlagLabels::AddedSimHcalNoise
Definition:
HcalCaloFlagLabels.h:54
HcalCaloFlagLabels::CalibrationBit
Definition:
HcalCaloFlagLabels.h:44
HcalCaloFlagLabels::HFPET
Definition:
HcalCaloFlagLabels.h:38
HcalCaloFlagLabels::HBHEStatusFlag
HBHEStatusFlag
Definition:
HcalCaloFlagLabels.h:13
HcalCaloFlagLabels::HOBit
Definition:
HcalCaloFlagLabels.h:32
HcalCaloFlagLabels::TimingSubtractedBit
Definition:
HcalCaloFlagLabels.h:47
HcalCaloFlagLabels::TimingErrorBit
Definition:
HcalCaloFlagLabels.h:49
HcalCaloFlagLabels::HBHEHpdHitMultiplicity
Definition:
HcalCaloFlagLabels.h:13
HcalCaloFlagLabels::HFLongShort
Definition:
HcalCaloFlagLabels.h:34
HcalCaloFlagLabels::ADCSaturationBit
Definition:
HcalCaloFlagLabels.h:50
Generated for CMSSW Reference Manual by
1.8.5