ATLAS Offline Software
Loading...
Searching...
No Matches
LArTimeVetoAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARCELLREC_LARTIMEVETOALG_H
6#define LARCELLREC_LARTIMEVETOALG_H
7
8#include <string>
9
16#include <atomic>
17
19
21 public:
22 //Delegate constructor:
23 using AthReentrantAlgorithm::AthReentrantAlgorithm;
24
25 virtual StatusCode initialize() override;
26 virtual StatusCode execute (const EventContext& ctx) const override;
27 virtual StatusCode finalize() override;
28
29 private:
30 mutable std::atomic<unsigned> m_nevt{0};
31 mutable std::atomic<unsigned> m_nevtMasked{0};
32
33 SG::ReadCondHandleKey<AthenaAttributeList> m_eventVetoKey{this, "folderName", "/LAR/BadChannelsOfl/EventVeto", "Folder name for DB access"};
34 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this,"EventInfoKey","EventInfo"};
35 SG::WriteDecorHandleKey<xAOD::EventInfo> m_eventInfoDecorKey{this, "eventInfoDecorKey", m_eventInfoKey, "larFlags", "Key for EventInfo object"};
36};
37#endif
An AttributeList represents a logical row of attributes in a metadata table.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
An AttributeList represents a logical row of attributes in a metadata table.
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
SG::ReadCondHandleKey< AthenaAttributeList > m_eventVetoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
std::atomic< unsigned > m_nevtMasked
std::atomic< unsigned > m_nevt
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
virtual StatusCode finalize() override
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.