ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
SCT_RawDataByteStreamCnv
src
SCTEventFlagWriter.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef SCT_RAWDATABYTESTREAMCNV_SCTEVENTFLAGWRITER_H
8
#define SCT_RAWDATABYTESTREAMCNV_SCTEVENTFLAGWRITER_H
9
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
12
#include "
xAODEventInfo/EventInfo.h
"
13
#include "
StoreGate/ReadHandleKey.h
"
14
#include "GaudiKernel/ToolHandle.h"
15
16
class
ISCT_ByteStreamErrorsTool
;
17
26
class
SCTEventFlagWriter
:
public
AthReentrantAlgorithm
27
{
28
public
:
29
31
SCTEventFlagWriter
(
const
std::string &name, ISvcLocator *pSvcLocator);
32
34
virtual
~SCTEventFlagWriter
() =
default
;
35
37
virtual
StatusCode
initialize
()
override
;
38
40
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
41
43
virtual
bool
isClonable
()
const override
{
return
true
; };
44
45
private
:
46
48
ToolHandle<ISCT_ByteStreamErrorsTool>
m_bsErrTool
{
this
,
"ErrorsTool"
,
"SCT_ByteStreamErrorsTool"
,
49
"Tool to retrieve SCT ByteStream Errors"
};
50
52
SG::ReadHandleKey<xAOD::EventInfo>
m_xAODEvtInfoKey
{
this
,
"xAODEventInfoKey"
,
"EventInfo"
,
53
"xAOD event info key"
};
54
};
55
56
#endif
// SCT_RAWDATABYTESTREAMCNV_SCTEVENTFLAGWRITER_H
AthReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
ISCT_ByteStreamErrorsTool
Definition
ISCT_ByteStreamErrorsTool.h:50
SCTEventFlagWriter::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition
SCTEventFlagWriter.cxx:28
SCTEventFlagWriter::~SCTEventFlagWriter
virtual ~SCTEventFlagWriter()=default
Destructur.
SCTEventFlagWriter::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition
SCTEventFlagWriter.h:43
SCTEventFlagWriter::SCTEventFlagWriter
SCTEventFlagWriter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
SCTEventFlagWriter.cxx:11
SCTEventFlagWriter::m_xAODEvtInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_xAODEvtInfoKey
Read handle for the xAOD event info.
Definition
SCTEventFlagWriter.h:52
SCTEventFlagWriter::m_bsErrTool
ToolHandle< ISCT_ByteStreamErrorsTool > m_bsErrTool
Tool that keeps track of modules that give rise to errors in the bytestream.
Definition
SCTEventFlagWriter.h:48
SCTEventFlagWriter::initialize
virtual StatusCode initialize() override
Initialize.
Definition
SCTEventFlagWriter.cxx:18
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0