ATLAS Offline Software
Loading...
Searching...
No Matches
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
18#include "GaudiKernel/MsgStream.h"
19#include "GaudiKernel/ToolHandle.h"
20
21#include <string>
22#include <vector>
23
24class LArOnlineID;
25
34
36public:
37
38 // Constructor
39 LArBadEventCatcher(const std::string & name, ISvcLocator * pSvcLocator);
40
41 // Destructor
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
64
65
66 //jobProperties
71
72
74 unsigned m_nEvent;
75
77 std::size_t m_thisSize;
78 std::vector<std::string> m_keyList;
79
82};
83
84#endif
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
LArBadEventCatcher(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< std::string > m_keyList
std::string decipherFebError(const uint32_t errword) const
std::size_t m_nAccCalibDigits
std::string eventDetails() const
const LArOnlineID * m_onlineID