ATLAS Offline Software
LArCalorimeter
LArCalibDataQuality
LArCalibDataQuality
LArBadEventCatcher.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//Dear emeacs, this is -*-C++-*-
6
14
#ifndef LARCALIBUTILS_LARBADEVENTCATCHER
15
#define LARCALIBUTILS_LARBADEVENTCATCHER
16
17
#include "
AthenaBaseComps/AthAlgorithm.h
"
18
#include "GaudiKernel/MsgStream.h"
19
#include "GaudiKernel/ToolHandle.h"
20
21
#include <string>
22
#include <vector>
23
24
class
LArOnlineID
;
25
35
class
LArBadEventCatcher
:
public
AthAlgorithm
{
36
public
:
37
38
// Constructor
39
LArBadEventCatcher
(
const
std::string &
name
, ISvcLocator * pSvcLocator);
40
41
// Destructor
42
~LArBadEventCatcher
();
43
44
// Algorithm initialization
45
StatusCode
initialize
();
46
47
// Algorithm execution
48
StatusCode
execute
();
49
50
// Algorithm finalization
51
StatusCode
finalize
(){
return
StatusCode::SUCCESS;}
52
StatusCode
stop
();
53
54
private
:
55
56
57
std::string
decipherFebError
(
const
uint32_t
errword)
const
;
58
59
60
std::string
eventDetails
()
const
;
61
62
//Online ID helper
63
const
LArOnlineID
*
m_onlineID
;
64
65
66
//jobProperties
67
bool
m_checkDigits
;
68
bool
m_checkAccCalibDigits
;
69
bool
m_checkFebHeaders
;
70
bool
m_checkBSErrors
;
71
72
73
uint16_t
m_BSErrFailMask
;
74
unsigned
m_nEvent
;
75
76
std::size_t
m_nDigits
,
m_nAccCalibDigits
,
m_nFebheaders
;
77
std::size_t
m_thisSize
;
78
std::vector<std::string>
m_keyList
;
79
80
bool
m_stopJob
;
81
bool
m_stopOnError
;
82
};
83
84
#endif
LArBadEventCatcher::m_BSErrFailMask
uint16_t m_BSErrFailMask
Definition:
LArBadEventCatcher.h:73
LArBadEventCatcher::m_checkBSErrors
bool m_checkBSErrors
Definition:
LArBadEventCatcher.h:70
LArBadEventCatcher::m_checkDigits
bool m_checkDigits
Definition:
LArBadEventCatcher.h:67
LArBadEventCatcher::finalize
StatusCode finalize()
Definition:
LArBadEventCatcher.h:51
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
LArBadEventCatcher::m_nAccCalibDigits
std::size_t m_nAccCalibDigits
Definition:
LArBadEventCatcher.h:76
LArBadEventCatcher::stop
StatusCode stop()
Definition:
LArBadEventCatcher.cxx:203
LArBadEventCatcher::initialize
StatusCode initialize()
Definition:
LArBadEventCatcher.cxx:45
LArBadEventCatcher::eventDetails
std::string eventDetails() const
Definition:
LArBadEventCatcher.cxx:186
LArBadEventCatcher::execute
StatusCode execute()
Definition:
LArBadEventCatcher.cxx:65
LArBadEventCatcher::LArBadEventCatcher
LArBadEventCatcher(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
LArBadEventCatcher.cxx:14
LArBadEventCatcher::~LArBadEventCatcher
~LArBadEventCatcher()
Definition:
LArBadEventCatcher.cxx:41
LArBadEventCatcher
Definition:
LArBadEventCatcher.h:35
AthAlgorithm.h
LArBadEventCatcher::m_nDigits
std::size_t m_nDigits
Definition:
LArBadEventCatcher.h:76
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:93
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArBadEventCatcher::m_checkAccCalibDigits
bool m_checkAccCalibDigits
Definition:
LArBadEventCatcher.h:68
AthAlgorithm
Definition:
AthAlgorithm.h:47
LArBadEventCatcher::m_nFebheaders
std::size_t m_nFebheaders
Definition:
LArBadEventCatcher.h:76
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
LArOnlineID
Definition:
LArOnlineID.h:20
LArBadEventCatcher::m_stopJob
bool m_stopJob
Definition:
LArBadEventCatcher.h:80
LArBadEventCatcher::decipherFebError
std::string decipherFebError(const uint32_t errword) const
Definition:
LArBadEventCatcher.cxx:213
LArBadEventCatcher::m_nEvent
unsigned m_nEvent
Definition:
LArBadEventCatcher.h:74
LArBadEventCatcher::m_thisSize
std::size_t m_thisSize
Definition:
LArBadEventCatcher.h:77
LArBadEventCatcher::m_keyList
std::vector< std::string > m_keyList
Definition:
LArBadEventCatcher.h:78
LArBadEventCatcher::m_checkFebHeaders
bool m_checkFebHeaders
Definition:
LArBadEventCatcher.h:69
LArBadEventCatcher::m_onlineID
const LArOnlineID * m_onlineID
Definition:
LArBadEventCatcher.h:63
LArBadEventCatcher::m_stopOnError
bool m_stopOnError
Definition:
LArBadEventCatcher.h:81
Generated on Fri Jan 10 2025 21:12:59 for ATLAS Offline Software by
1.8.18