ATLAS Offline Software
Enumerations | Functions
HLT::MET::StatusFlag Namespace Reference

Enumerations

enum  StatusFlag {
  BSConvError = 1u << 1, MuonError = 1u << 2, FEBError = 1u << 3, ComponentBigMEtSEtRatio = 1u << 5,
  BadComponentEnergy = 1u << 6, BadEnergyRatio = 1u << 7, NoisyEnergyRatio = 1u << 8, BadCellQuality = 1u << 9,
  BadCellEnergy = 1u << 10, BadCellTime = 1u << 11, NoMuonTrack = 1u << 12, ComponentErrors = 1u << 15,
  GlobalNoisyEnergyRatio = 1u << 27, BadEMFraction = 1u << 28, GlobalBigMEtSEtRatio = 1u << 29, ObjectInCrack = 1u << 30,
  GlobalErrors = 1u << 31
}
 

Functions

std::string flagIndexToString (int idx)
 

Enumeration Type Documentation

◆ StatusFlag

Enumerator
BSConvError 
MuonError 
FEBError 
ComponentBigMEtSEtRatio 
BadComponentEnergy 
BadEnergyRatio 
NoisyEnergyRatio 
BadCellQuality 
BadCellEnergy 
BadCellTime 
NoMuonTrack 
ComponentErrors 
GlobalNoisyEnergyRatio 
BadEMFraction 
GlobalBigMEtSEtRatio 
ObjectInCrack 
GlobalErrors 

Definition at line 36 of file StatusFlags.h.

Function Documentation

◆ flagIndexToString()

std::string HLT::MET::StatusFlag::flagIndexToString ( int  idx)

Definition at line 8 of file StatusFlags.cxx.

8  {
9  switch(idx) {
10  case 0:
11  case 4:
12  case 13:
13  case 14:
14  case 16:
15  case 17:
16  case 18:
17  case 19:
18  case 20:
19  case 21:
20  case 22:
21  case 23:
22  case 24:
23  case 25:
24  case 26:
25  return "UNUSED";
26  case 1:
27  return "BSConvError";
28  case 2:
29  return "MuonError";
30  case 3:
31  return "FEBError";
32  case 5:
33  return "ComponentBigMEtSEtRatio";
34  case 6:
35  return "BadComponentEnergy";
36  case 7:
37  return "BadEnergyRatio";
38  case 8:
39  return "NoisyEnergyRatio";
40  case 9:
41  return "BadCellQuality";
42  case 10:
43  return "BadCellEnergy";
44  case 11:
45  return "BadCellTime";
46  case 12:
47  return "NoMuonTrack";
48  case 15:
49  return "ComponentErrors";
50  case 27:
51  return "GlobalNoisyEnergyRatio";
52  case 28:
53  return "BadEMFraction";
54  case 29:
55  return "GlobalNoisyEnerygRatio";
56  case 30:
57  return "ObjectInCrack";
58  case 31:
59  return "GlobalErrors";
60  default:
61  throw std::out_of_range("Invalid index provided " + std::to_string(idx) );
62  // Make gcc happy
63  return "";
64  }
65  }
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69