ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
13
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
34
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
(
const
EventContext& ctx);
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
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArBadEventCatcher::LArBadEventCatcher
LArBadEventCatcher(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArBadEventCatcher.cxx:14
LArBadEventCatcher::initialize
StatusCode initialize()
Definition
LArBadEventCatcher.cxx:45
LArBadEventCatcher::~LArBadEventCatcher
~LArBadEventCatcher()
Definition
LArBadEventCatcher.cxx:41
LArBadEventCatcher::stop
StatusCode stop()
Definition
LArBadEventCatcher.cxx:203
LArBadEventCatcher::m_keyList
std::vector< std::string > m_keyList
Definition
LArBadEventCatcher.h:78
LArBadEventCatcher::decipherFebError
std::string decipherFebError(const uint32_t errword) const
Definition
LArBadEventCatcher.cxx:213
LArBadEventCatcher::m_nFebheaders
std::size_t m_nFebheaders
Definition
LArBadEventCatcher.h:76
LArBadEventCatcher::m_nAccCalibDigits
std::size_t m_nAccCalibDigits
Definition
LArBadEventCatcher.h:76
LArBadEventCatcher::eventDetails
std::string eventDetails() const
Definition
LArBadEventCatcher.cxx:186
LArBadEventCatcher::m_checkDigits
bool m_checkDigits
Definition
LArBadEventCatcher.h:67
LArBadEventCatcher::m_nEvent
unsigned m_nEvent
Definition
LArBadEventCatcher.h:74
LArBadEventCatcher::m_nDigits
std::size_t m_nDigits
Definition
LArBadEventCatcher.h:76
LArBadEventCatcher::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
LArBadEventCatcher.cxx:65
LArBadEventCatcher::m_checkFebHeaders
bool m_checkFebHeaders
Definition
LArBadEventCatcher.h:69
LArBadEventCatcher::m_BSErrFailMask
uint16_t m_BSErrFailMask
Definition
LArBadEventCatcher.h:73
LArBadEventCatcher::m_stopJob
bool m_stopJob
Definition
LArBadEventCatcher.h:80
LArBadEventCatcher::m_checkBSErrors
bool m_checkBSErrors
Definition
LArBadEventCatcher.h:70
LArBadEventCatcher::m_onlineID
const LArOnlineID * m_onlineID
Definition
LArBadEventCatcher.h:63
LArBadEventCatcher::m_thisSize
std::size_t m_thisSize
Definition
LArBadEventCatcher.h:77
LArBadEventCatcher::m_checkAccCalibDigits
bool m_checkAccCalibDigits
Definition
LArBadEventCatcher.h:68
LArBadEventCatcher::finalize
StatusCode finalize()
Definition
LArBadEventCatcher.h:51
LArBadEventCatcher::m_stopOnError
bool m_stopOnError
Definition
LArBadEventCatcher.h:81
LArOnlineID
Definition
LArOnlineID.h:21
Generated on
for ATLAS Offline Software by
1.17.0