ATLAS Offline Software
StatusFlags.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /********************************************************************
6  * @package Trigger/TrigAlgorithms/TrigEFMissingET
7  *
8  * @brief Enum for EDM status flags
9  * @author Jon Burr
10  ********************************************************************/
11 
12 #include <string>
13 
14 namespace HLT { namespace MET {
15  namespace StatusFlag {
16  // Right now just taking these from the values in the old code for
17  // consistency
18  //
19  // Use bitshift notation as these represent different bits in the status
20  // word. 1 << x is equivalent to 2^x.
21  enum StatusFlag {
22  // 1 << 0 free
23  BSConvError = 1u << 1,
24  MuonError = 1u << 2,
25  FEBError = 1u << 3,
26  // 1 << 4 free
27  ComponentBigMEtSEtRatio = 1u << 5,
28  BadComponentEnergy = 1u << 6,
29  BadEnergyRatio = 1u << 7,
30  NoisyEnergyRatio = 1u << 8,
31  BadCellQuality = 1u << 9,
32  BadCellEnergy = 1u << 10,
33  BadCellTime = 1u << 11,
34  NoMuonTrack = 1u << 12,
35  // 1 << 13 free
36  // 1 << 14 free
37  ComponentErrors = 1u << 15,
38  // everything until 1 << 27 free
39  GlobalNoisyEnergyRatio = 1u << 27,
40  BadEMFraction = 1u << 28,
41  GlobalBigMEtSEtRatio = 1u << 29,
42  ObjectInCrack = 1u << 30,
43  GlobalErrors = 1u << 31
44  }; //> end enum StatusFlag
45  std::string flagIndexToString(int idx);
46  } //> end namespace StatusFlag
47 } } //> end namespace HLT::MET
HLT::MET::StatusFlag::BadComponentEnergy
@ BadComponentEnergy
Definition: StatusFlags.h:48
HLT::MET::StatusFlag::BadEnergyRatio
@ BadEnergyRatio
Definition: StatusFlags.h:49
HLT::MET::StatusFlag::flagIndexToString
std::string flagIndexToString(int idx)
Definition: StatusFlags.cxx:8
HLT::MET::StatusFlag::BadCellEnergy
@ BadCellEnergy
Definition: StatusFlags.h:52
HLT::MET::StatusFlag::BadEMFraction
@ BadEMFraction
Definition: StatusFlags.h:60
HLT::MET::StatusFlag::GlobalNoisyEnergyRatio
@ GlobalNoisyEnergyRatio
Definition: StatusFlags.h:59
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
HLT::MET::StatusFlag::GlobalErrors
@ GlobalErrors
Definition: StatusFlags.h:63
HLT::MET::StatusFlag::GlobalBigMEtSEtRatio
@ GlobalBigMEtSEtRatio
Definition: StatusFlags.h:61
HLT::MET::StatusFlag::NoisyEnergyRatio
@ NoisyEnergyRatio
Definition: StatusFlags.h:50
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
HLT::MET::StatusFlag::BadCellQuality
@ BadCellQuality
Definition: StatusFlags.h:51
HLT::MET::StatusFlag::BSConvError
@ BSConvError
Definition: StatusFlags.h:43
HLT::MET::StatusFlag::NoMuonTrack
@ NoMuonTrack
Definition: StatusFlags.h:54
MET
Definition: MET.py:1
HLT::MET::StatusFlag::ComponentBigMEtSEtRatio
@ ComponentBigMEtSEtRatio
Definition: StatusFlags.h:47
HLT::MET::StatusFlag::ComponentErrors
@ ComponentErrors
Definition: StatusFlags.h:57
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
HLT::MET::StatusFlag::StatusFlag
StatusFlag
Definition: StatusFlags.h:36
HLT::MET::StatusFlag::FEBError
@ FEBError
Definition: StatusFlags.h:45
HLT::MET::StatusFlag::ObjectInCrack
@ ObjectInCrack
Definition: StatusFlags.h:62
HLT::MET::StatusFlag::MuonError
@ MuonError
Definition: StatusFlags.h:44
HLT::MET::StatusFlag::BadCellTime
@ BadCellTime
Definition: StatusFlags.h:53