ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
14#include "GaudiKernel/ToolHandle.h"
15
17
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
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
virtual ~SCTEventFlagWriter()=default
Destructur.
virtual bool isClonable() const override
Make this algorithm clonable.
SCTEventFlagWriter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::ReadHandleKey< xAOD::EventInfo > m_xAODEvtInfoKey
Read handle for the xAOD event info.
ToolHandle< ISCT_ByteStreamErrorsTool > m_bsErrTool
Tool that keeps track of modules that give rise to errors in the bytestream.
virtual StatusCode initialize() override
Initialize.
Property holding a SG store/key/clid from which a ReadHandle is made.