ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigGenericAlgs
src
L1CorrelationAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGGENERICALGS_L1CORRELATIONALG_H
5
#define TRIGGENERICALGS_L1CORRELATIONALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
9
#include "
ByteStreamCnvSvcBase/IROBDataProviderSvc.h
"
10
#include "
xAODTrigger/TrigCompositeContainer.h
"
11
#include "
TrigConfData/L1Menu.h
"
12
#include "
StoreGate/WriteHandleKey.h
"
13
#include "
StoreGate/ReadHandleKey.h
"
14
15
class
L1CorrelationAlg
:
public
AthReentrantAlgorithm
{
16
public
:
17
L1CorrelationAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
18
virtual
StatusCode
initialize
()
override
;
19
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
20
virtual
StatusCode
start
()
override
;
21
22
23
private
:
24
ServiceHandle<IROBDataProviderSvc>
m_robDataProviderSvc
{
this
,
"ROBDataProviderSvc"
,
"ROBDataProviderSvc"
,
"Name of the ROB data provider"
};
25
SG::WriteHandleKey<xAOD::TrigCompositeContainer>
m_trigCompositeKey
{
this
,
"TrigCompositeWriteHandleKey"
,
"L1CorrelationTrigComposite"
,
"Name of TrigComposite write handle"
};
26
SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer>
m_l1AKey
{
this
,
"l1AKey"
,
"L1CorrelationTrigComposite.l1a_type"
,
"L1 accept type"
};
27
SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer>
m_otherTypeKey
{
this
,
"otherTypeKey"
,
"L1CorrelationTrigComposite.other_type"
,
"Other type"
};
28
SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer>
m_beforeAfterKey
{
this
,
"beforeAfterKey"
,
"L1CorrelationTrigComposite.beforeafterflag"
,
"flag if BC is before or after nominal"
};
29
SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer>
m_otherTypeBeforeKey
{
this
,
"otherTypeBeforeKey"
,
"L1CorrelationTrigComposite.other_type_before"
,
"Trigger type (1-7) of the first fired BC before the central L1A BCID"
};
30
SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer>
m_otherTypeAfterKey
{
this
,
"otherTypeAfterKey"
,
"L1CorrelationTrigComposite.other_type_after"
,
"Trigger type (1-7) of the first fired BC after the central L1A BCID"
};
31
SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer>
m_beforeOffsetKey
{
this
,
"beforeOffsetKey"
,
"L1CorrelationTrigComposite.offset_before"
,
"Distance (in BCs) from the L1A to the first earlier neighbor trigger"
};
32
SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer>
m_afterOffsetKey
{
this
,
"afterOffsetKey"
,
"L1CorrelationTrigComposite.offset_after"
,
"Distance (in BCs) from the L1A to the first later neighbor trigger"
};
33
SG::WriteDecorHandleKey<xAOD::TrigCompositeContainer>
m_passKey
{
this
,
"trigCompPassKey"
,
"L1CorrelationTrigComposite.pass"
,
"Key to indicate TrigComp is passed"
};
34
SG::ReadHandleKey<TrigConf::L1Menu>
m_l1MenuKey
{
this
,
"L1MenuKey"
,
"DetectorStore+L1TriggerMenu"
,
"L1 Menu"
};
35
ToolHandle<GenericMonitoringTool>
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
36
Gaudi::Property<bool>
m_currentBCincl
{
this
,
"currentBCinclusive"
,
true
};
37
Gaudi::Property<std::vector<std::string>>
m_l1itemlist
{
this
,
"ItemList"
, {
"L1_EM22VHI"
,
"L1_J400"
,
"L1_MU14FCH"
},
"list of l1 items to be used"
};
38
39
40
std::vector<uint32_t>
m_bitmasks
;
41
std::vector<uint32_t>
m_bitmasks_ele
;
42
std::vector<uint32_t>
m_bitmasks_mu
;
43
std::vector<uint32_t>
m_bitmasks_jets
;
44
};
45
46
#endif
AthReentrantAlgorithm.h
GenericMonitoringTool.h
IROBDataProviderSvc.h
L1Menu.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigCompositeContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
L1CorrelationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
L1CorrelationAlg.cxx:139
L1CorrelationAlg::m_otherTypeBeforeKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_otherTypeBeforeKey
Definition
L1CorrelationAlg.h:29
L1CorrelationAlg::m_otherTypeKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_otherTypeKey
Definition
L1CorrelationAlg.h:27
L1CorrelationAlg::m_beforeOffsetKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_beforeOffsetKey
Definition
L1CorrelationAlg.h:31
L1CorrelationAlg::m_trigCompositeKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_trigCompositeKey
Definition
L1CorrelationAlg.h:25
L1CorrelationAlg::m_bitmasks
std::vector< uint32_t > m_bitmasks
Definition
L1CorrelationAlg.h:40
L1CorrelationAlg::m_l1MenuKey
SG::ReadHandleKey< TrigConf::L1Menu > m_l1MenuKey
Definition
L1CorrelationAlg.h:34
L1CorrelationAlg::m_currentBCincl
Gaudi::Property< bool > m_currentBCincl
Definition
L1CorrelationAlg.h:36
L1CorrelationAlg::m_bitmasks_ele
std::vector< uint32_t > m_bitmasks_ele
Definition
L1CorrelationAlg.h:41
L1CorrelationAlg::m_otherTypeAfterKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_otherTypeAfterKey
Definition
L1CorrelationAlg.h:30
L1CorrelationAlg::m_l1itemlist
Gaudi::Property< std::vector< std::string > > m_l1itemlist
Definition
L1CorrelationAlg.h:37
L1CorrelationAlg::m_afterOffsetKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_afterOffsetKey
Definition
L1CorrelationAlg.h:32
L1CorrelationAlg::m_bitmasks_jets
std::vector< uint32_t > m_bitmasks_jets
Definition
L1CorrelationAlg.h:43
L1CorrelationAlg::L1CorrelationAlg
L1CorrelationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
L1CorrelationAlg.cxx:13
L1CorrelationAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
L1CorrelationAlg.h:35
L1CorrelationAlg::start
virtual StatusCode start() override
Definition
L1CorrelationAlg.cxx:33
L1CorrelationAlg::m_robDataProviderSvc
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
Definition
L1CorrelationAlg.h:24
L1CorrelationAlg::initialize
virtual StatusCode initialize() override
Definition
L1CorrelationAlg.cxx:15
L1CorrelationAlg::m_bitmasks_mu
std::vector< uint32_t > m_bitmasks_mu
Definition
L1CorrelationAlg.h:42
L1CorrelationAlg::m_l1AKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_l1AKey
Definition
L1CorrelationAlg.h:26
L1CorrelationAlg::m_beforeAfterKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_beforeAfterKey
Definition
L1CorrelationAlg.h:28
L1CorrelationAlg::m_passKey
SG::WriteDecorHandleKey< xAOD::TrigCompositeContainer > m_passKey
Definition
L1CorrelationAlg.h:33
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0