ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCellRec
src
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
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
StoreGate/WriteDecorHandleKey.h
"
14
#include "
xAODEventInfo/EventInfo.h
"
15
#include "
PersistentDataModel/AthenaAttributeList.h
"
16
#include <atomic>
17
18
class
AthenaAttributeList
;
19
20
class
LArTimeVetoAlg
:
public
AthReentrantAlgorithm
{
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
AthReentrantAlgorithm.h
AthenaAttributeList.h
An AttributeList represents a logical row of attributes in a metadata table.
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
AthenaAttributeList
An AttributeList represents a logical row of attributes in a metadata table.
Definition
PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:46
LArTimeVetoAlg
Definition
LArTimeVetoAlg.h:20
LArTimeVetoAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
LArTimeVetoAlg.cxx:32
LArTimeVetoAlg::initialize
virtual StatusCode initialize() override
Definition
LArTimeVetoAlg.cxx:13
LArTimeVetoAlg::m_eventVetoKey
SG::ReadCondHandleKey< AthenaAttributeList > m_eventVetoKey
Definition
LArTimeVetoAlg.h:33
LArTimeVetoAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
LArTimeVetoAlg.h:34
LArTimeVetoAlg::m_nevtMasked
std::atomic< unsigned > m_nevtMasked
Definition
LArTimeVetoAlg.h:31
LArTimeVetoAlg::m_nevt
std::atomic< unsigned > m_nevt
Definition
LArTimeVetoAlg.h:30
LArTimeVetoAlg::m_eventInfoDecorKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition
LArTimeVetoAlg.h:35
LArTimeVetoAlg::finalize
virtual StatusCode finalize() override
Definition
LArTimeVetoAlg.cxx:24
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0