ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigmuRoI
src
TrigmuRoI.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGMUROI_TRIGMUROI_H
6
#define TRIGMUROI_TRIGMUROI_H
7
8
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
9
#include "
xAODTrigger/MuonRoIContainer.h
"
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "
AthenaMonitoringKernel/Monitored.h
"
12
13
class
TrigmuRoI
:
public
AthReentrantAlgorithm
14
{
15
public
:
16
17
TrigmuRoI
(
const
std::string& name, ISvcLocator* pSvcLocator);
18
virtual
StatusCode
initialize
()
override
;
19
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
20
21
private
:
22
23
unsigned
int
getBitMaskValue
(
const
unsigned
int
uintValue,
const
unsigned
int
mask )
const
;
24
StatusCode
readAndAppendTrigRoiDescriptors
(
const
EventContext& ctx,
TrigRoiDescriptorCollection
* roiColl,
const
SG::ReadHandleKey<xAOD::MuonRoIContainer>
& readHandleKey,
int
bc_shift,
unsigned
int
& roi_id, std::vector<int>& RpcBCShift, std::vector<int>& TgcBCShift, std::vector<float>& RoIEta, std::vector<float>& RoIPhi)
const
;
25
26
ToolHandle<GenericMonitoringTool>
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
27
28
SG::WriteHandleKey<TrigRoiDescriptorCollection>
m_roisWriteHandleKey
{
this
,
"RoisWriteHandleKey"
,
"Unspecified"
,
"Output collection of RoIs"
};
29
SG::ReadHandleKey<xAOD::MuonRoIContainer>
m_L1OutOfTimeRoIBCm2Key
{
this
,
"L1OutOfTimeRoIBCm2Key"
,
"LVL1MuonRoIsBCm2"
,
"BC minus 2 out-of-time RoI container"
};
30
SG::ReadHandleKey<xAOD::MuonRoIContainer>
m_L1OutOfTimeRoIBCm1Key
{
this
,
"L1OutOfTimeRoIBCm1Key"
,
"LVL1MuonRoIsBCm1"
,
"BC minus 1 out-of-time RoI container"
};
31
SG::ReadHandleKey<xAOD::MuonRoIContainer>
m_L1OutOfTimeRoIBCp1Key
{
this
,
"L1OutOfTimeRoIBCp1Key"
,
"LVL1MuonRoIsBCp1"
,
"BC plus 1 out-of-time RoI container"
};
32
SG::ReadHandleKey<xAOD::MuonRoIContainer>
m_L1OutOfTimeRoIBCp2Key
{
this
,
"L1OutOfTimeRoIBCp2Key"
,
"LVL1MuonRoIsBCp2"
,
"BC plus 2 out-of-time RoI container"
};
33
34
Gaudi::Property<float>
m_roiHalfWidthEta
{
this
,
"roiHalfWidthEta"
, 0.2,
"Half width of RoI in eta"
};
35
Gaudi::Property<float>
m_roiHalfWidthPhi
{
this
,
"roiHalfWidthPhi"
, 0.2,
"Half width of RoI in phi"
};
36
37
};
38
39
#endif
AthReentrantAlgorithm.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
MuonRoIContainer.h
TrigRoiDescriptorCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
TrigRoiDescriptorCollection
Definition
TrigRoiDescriptorCollection.h:14
TrigmuRoI::m_L1OutOfTimeRoIBCp2Key
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_L1OutOfTimeRoIBCp2Key
Definition
TrigmuRoI.h:32
TrigmuRoI::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
TrigmuRoI.h:26
TrigmuRoI::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition
TrigmuRoI.h:28
TrigmuRoI::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TrigmuRoI.cxx:128
TrigmuRoI::m_roiHalfWidthPhi
Gaudi::Property< float > m_roiHalfWidthPhi
Definition
TrigmuRoI.h:35
TrigmuRoI::m_L1OutOfTimeRoIBCp1Key
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_L1OutOfTimeRoIBCp1Key
Definition
TrigmuRoI.h:31
TrigmuRoI::initialize
virtual StatusCode initialize() override
Definition
TrigmuRoI.cxx:22
TrigmuRoI::m_L1OutOfTimeRoIBCm2Key
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_L1OutOfTimeRoIBCm2Key
Definition
TrigmuRoI.h:29
TrigmuRoI::getBitMaskValue
unsigned int getBitMaskValue(const unsigned int uintValue, const unsigned int mask) const
Definition
TrigmuRoI.cxx:46
TrigmuRoI::readAndAppendTrigRoiDescriptors
StatusCode readAndAppendTrigRoiDescriptors(const EventContext &ctx, TrigRoiDescriptorCollection *roiColl, const SG::ReadHandleKey< xAOD::MuonRoIContainer > &readHandleKey, int bc_shift, unsigned int &roi_id, std::vector< int > &RpcBCShift, std::vector< int > &TgcBCShift, std::vector< float > &RoIEta, std::vector< float > &RoIPhi) const
Definition
TrigmuRoI.cxx:64
TrigmuRoI::m_L1OutOfTimeRoIBCm1Key
SG::ReadHandleKey< xAOD::MuonRoIContainer > m_L1OutOfTimeRoIBCm1Key
Definition
TrigmuRoI.h:30
TrigmuRoI::TrigmuRoI
TrigmuRoI(const std::string &name, ISvcLocator *pSvcLocator)
std Gaudi algorthm constructor
Definition
TrigmuRoI.cxx:13
TrigmuRoI::m_roiHalfWidthEta
Gaudi::Property< float > m_roiHalfWidthEta
Definition
TrigmuRoI.h:34
Generated on
for ATLAS Offline Software by
1.17.0