ATLAS Offline Software
TrigT1CaloMonErrorTool.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 #ifndef TRIGT1CALOBYTESTREAM_TRIGT1CALOMONERRORTOOL_H
6 #define TRIGT1CALOBYTESTREAM_TRIGT1CALOMONERRORTOOL_H
7 
8 #include <string>
9 #include <vector>
10 
11 #include "AsgTools/AsgTool.h"
15 
16 class IInterface;
17 class StatusCode;
18 
19 namespace LVL1 {
20 
59  virtual public ITrigT1CaloMonErrorTool {
61 public:
62  TrigT1CaloMonErrorTool(const std::string& name);
63  virtual ~TrigT1CaloMonErrorTool();
64 
65  virtual StatusCode initialize();
66  virtual StatusCode finalize();
67 
69  StatusCode retrieve(const std::vector<unsigned int>*& errColl);
71  bool corrupt();
73  bool fullEventTimeout();
75  bool missingFragment();
77  bool robOrUnpackingError();
79  const std::string& flagCorruptEvents() const { return m_flagCorruptEvents; }
80 
81 private:
82 
86  std::string m_cpmTowerLocation;
90  std::string m_cmxCpTobLocation;
92  std::string m_cmxCpHitsLocation;
94  std::string m_cpmRoiLocation;
96  std::string m_jetElementLocation;
100  std::string m_cmxJetTobLocation;
102  std::string m_cmxJetHitsLocation;
104  std::string m_jemRoiLocation;
106  std::string m_cmxRoiLocation;
108  std::string m_jemEtSumsLocation;
110  std::string m_cmxEtSumsLocation;
112  std::string m_rodHeaderLocation;
120  std::string m_flagCorruptEvents;
121 
123  { this, "EventInfoKey", "EventInfo", "SG key for EventInfo" };
124 };
125 
126 } // end namespace
127 
128 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LVL1::ITrigT1CaloMonErrorTool
Interface definition for TrigT1CaloMonErrorTool.
Definition: ITrigT1CaloMonErrorTool.h:22
LVL1::TrigT1CaloMonErrorTool::~TrigT1CaloMonErrorTool
virtual ~TrigT1CaloMonErrorTool()
Definition: TrigT1CaloMonErrorTool.cxx:93
LVL1::TrigT1CaloMonErrorTool::retrieve
StatusCode retrieve(const std::vector< unsigned int > *&errColl)
Retrieve error vector.
Definition: TrigT1CaloMonErrorTool.cxx:116
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
LVL1::TrigT1CaloMonErrorTool
Tool to retrieve ROB status and ROD unpacking errors from StoreGate.
Definition: TrigT1CaloMonErrorTool.h:59
LVL1::TrigT1CaloMonErrorTool::m_cpmRoiLocation
std::string m_cpmRoiLocation
CPM RoI container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:94
LVL1::TrigT1CaloMonErrorTool::initialize
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: TrigT1CaloMonErrorTool.cxx:99
LVL1::TrigT1CaloMonErrorTool::flagCorruptEvents
const std::string & flagCorruptEvents() const
Return corrupt events flag string.
Definition: TrigT1CaloMonErrorTool.h:79
LVL1::TrigT1CaloMonErrorTool::fullEventTimeout
bool fullEventTimeout()
Return true if current event has Full Event status generic timeout bit set.
Definition: TrigT1CaloMonErrorTool.cxx:294
LVL1::TrigT1CaloMonErrorTool::m_cmxRoiLocation
std::string m_cmxRoiLocation
CMX RoI container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:106
ITrigT1CaloMonErrorTool.h
LVL1::TrigT1CaloMonErrorTool::TrigT1CaloMonErrorTool
TrigT1CaloMonErrorTool(const std::string &name)
Definition: TrigT1CaloMonErrorTool.cxx:42
LVL1::TrigT1CaloMonErrorTool::m_cpmTowerLocation
std::string m_cpmTowerLocation
CPM core tower container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:86
LVL1::TrigT1CaloMonErrorTool::m_jepRoibRodHeaderLocation
std::string m_jepRoibRodHeaderLocation
JEP RoIB ROD header container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:116
SG::ReadHandleKey< xAOD::EventInfo >
LVL1::TrigT1CaloMonErrorTool::m_cmxCpTobLocation
std::string m_cmxCpTobLocation
CMX-CP TOB container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:90
LVL1::TrigT1CaloMonErrorTool::m_flagCorruptEvents
std::string m_flagCorruptEvents
Flag corrupt events.
Definition: TrigT1CaloMonErrorTool.h:120
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::TrigT1CaloMonErrorTool::m_cmxCpHitsLocation
std::string m_cmxCpHitsLocation
CMX-CP hits container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:92
LVL1::TrigT1CaloMonErrorTool::m_jemEtSumsLocation
std::string m_jemEtSumsLocation
JEM Et sums container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:108
LVL1::TrigT1CaloMonErrorTool::m_cmxEtSumsLocation
std::string m_cmxEtSumsLocation
CMX Et sums container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:110
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::TrigT1CaloMonErrorTool::m_cpmTowerLocationOverlap
std::string m_cpmTowerLocationOverlap
CPM overlap tower container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:88
LVL1::TrigT1CaloMonErrorTool::m_triggerTowerLocation
std::string m_triggerTowerLocation
Trigger Tower container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:84
LVL1::TrigT1CaloMonErrorTool::robOrUnpackingError
bool robOrUnpackingError()
Return true if current event has any ROB or unpacking errors.
Definition: TrigT1CaloMonErrorTool.cxx:376
LVL1::TrigT1CaloMonErrorTool::m_cmxJetTobLocation
std::string m_cmxJetTobLocation
CMX-Jet TOB container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:100
TrigConf::name
Definition: HLTChainList.h:35
LVL1::TrigT1CaloMonErrorTool::missingFragment
bool missingFragment()
Return true if any ROB/ROD fragments are missing.
Definition: TrigT1CaloMonErrorTool.cxx:303
LVL1::TrigT1CaloMonErrorTool::m_robErrorVectorLocation
std::string m_robErrorVectorLocation
ROB and Unpacking Error vector StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:118
EventInfo.h
LVL1::TrigT1CaloMonErrorTool::m_jetElementLocation
std::string m_jetElementLocation
Core Jet Element container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:96
LVL1::TrigT1CaloMonErrorTool::m_jemRoiLocation
std::string m_jemRoiLocation
JEM RoI container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:104
LVL1::TrigT1CaloMonErrorTool::m_jetElementLocationOverlap
std::string m_jetElementLocationOverlap
Overlap Jet Element container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:98
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
LVL1::TrigT1CaloMonErrorTool::m_rodHeaderLocation
std::string m_rodHeaderLocation
ROD header container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:112
AsgTool.h
LVL1::TrigT1CaloMonErrorTool::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: TrigT1CaloMonErrorTool.h:123
LVL1::TrigT1CaloMonErrorTool::corrupt
bool corrupt()
Return true if current event has any corruption errors.
Definition: TrigT1CaloMonErrorTool.cxx:281
LVL1::TrigT1CaloMonErrorTool::m_cmxJetHitsLocation
std::string m_cmxJetHitsLocation
CMX-Jet hits container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:102
LVL1::TrigT1CaloMonErrorTool::finalize
virtual StatusCode finalize()
Definition: TrigT1CaloMonErrorTool.cxx:109
LVL1::TrigT1CaloMonErrorTool::m_cpRoibRodHeaderLocation
std::string m_cpRoibRodHeaderLocation
CP RoIB ROD header container StoreGate key.
Definition: TrigT1CaloMonErrorTool.h:114