ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1TGC
TrigT1TGC
TGCOutputModifier.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
// This file is really -*- C++ -*-.
6
#ifndef TRIGT1TGC_TGCOUTPUTMODIFIER_H
7
#define TRIGT1TGC_TGCOUTPUTMODIFIER_H
8
9
/*
10
class description
11
*/
12
13
// Athena/Gaudi include(s):
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
17
#include "
StoreGate/ReadCondHandle.h
"
18
#include "
StoreGate/ReadHandleKey.h
"
19
#include "
StoreGate/WriteHandleKey.h
"
20
21
#include "
TrigT1Interfaces/Lvl1MuCTPIInputPhase1.h
"
22
#include "
TrigT1Interfaces/ITrigT1MuonRecRoiTool.h
"
23
#include "
xAODMuon/MuonSegmentContainer.h
"
24
#include "TVector3.h"
25
26
namespace
LVL1TGCTrigger
{
27
class
TGCOutputModifier
:
public
AthReentrantAlgorithm
28
{
29
30
public
:
31
32
TGCOutputModifier
(
const
std::string& name, ISvcLocator* pSvcLocator );
33
virtual
~TGCOutputModifier
();
34
36
virtual
StatusCode
initialize
()
override
;
38
virtual
StatusCode
execute
(
const
EventContext& eventContext)
const override
;
39
40
private
:
41
42
void
Copy
(
const
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1
* sldataOrg,
43
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1
& sldataNew )
const
;
44
void
Update
(
const
std::vector<const xAOD::MuonSegment*>& segs,
45
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1
& sldata,
46
size_t
systemAddress,
47
size_t
subSystemAddress,
48
size_t
sectorAddress)
const
;
49
50
SG::ReadHandleKey<LVL1MUONIF::Lvl1MuCTPIInputPhase1>
m_inputKey
{
this
,
"InputMuctpiLocation"
,
"L1MuctpiStoreTGC"
,
"Input Tgc2Muctpi interface container"
};
51
SG::WriteHandleKey<LVL1MUONIF::Lvl1MuCTPIInputPhase1>
m_outputKey
{
this
,
"OutputMuctpiLocation"
,
"L1MuctpiStoreTGCmod"
,
"Output Tgc2Muctpi interface container"
};
52
ToolHandle<LVL1::ITrigT1MuonRecRoiTool>
m_recTGCRoiTool
{
this
,
"TrigT1TGCRecRoiTool"
,
"LVL1::TrigT1TGCRecRoiTool"
,
"hoge"
};
53
SG::ReadHandleKey<xAOD::MuonSegmentContainer>
m_musegKey
{
this
,
"MuonSegmentContainer"
,
"xaodMuonSegments"
,
"MuonSegmentContainer"
};
54
DoubleProperty
m_deltaThetaCut1
{
this
,
"DeltaThetaCut1"
, 0.008,
"Delta theta cut for MuonSegment in low-eta region"
};
55
DoubleProperty
m_deltaEtaCut1
{
this
,
"DeltaEtaCut1"
, 0.09,
"Delta eta cut for MuonSegment and RoI position in low-eta region"
};
56
DoubleProperty
m_deltaPhiCut1
{
this
,
"DeltaPhiCut1"
, 0.16,
"Delta phi cut for MuonSegment and RoI position in low-eta region"
};
57
DoubleProperty
m_deltaThetaCut2
{
this
,
"DeltaThetaCut2"
, 0.001,
"Delta theta cut for MuonSegment in high-eta region"
};
58
DoubleProperty
m_deltaEtaCut2
{
this
,
"DeltaEtaCut2"
, 0.16,
"Delta eta cut for MuonSegment and RoI position in high-eta region"
};
59
DoubleProperty
m_deltaPhiCut2
{
this
,
"DeltaPhiCut2"
, 0.19,
"Delta phi cut for MuonSegment and RoI position in high-eta region"
};
60
DoubleProperty
m_etaBoundary1
{
this
,
"EtaBoundary1"
, 1.9,
"Eta boundary where the cuts1 are applied"
};
61
DoubleProperty
m_etaBoundary2
{
this
,
"EtaBoundary2"
, 2.1,
"Eta boundary where the cuts2 are applied"
};
62
BooleanProperty
m_emulateA
{
this
,
"EmulateA"
,
true
,
"Emulate A-side"
};
63
BooleanProperty
m_emulateC
{
this
,
"EmulateC"
,
true
,
"Emulate C-side"
};
64
BooleanProperty
m_nswVetoMode
{
this
,
"NSWVetoMode"
,
true
,
"NSW veto mode or monitoring mode"
};
65
66
};
67
}
68
69
#endif
AthReentrantAlgorithm.h
ITrigT1MuonRecRoiTool.h
Lvl1MuCTPIInputPhase1.h
MuonSegmentContainer.h
ReadCondHandle.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.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1
Base class for the data coming from one SL board.
Definition
Lvl1MuSectorLogicDataPhase1.h:35
LVL1TGCTrigger::TGCOutputModifier::m_etaBoundary2
DoubleProperty m_etaBoundary2
Definition
TGCOutputModifier.h:61
LVL1TGCTrigger::TGCOutputModifier::m_deltaThetaCut1
DoubleProperty m_deltaThetaCut1
Definition
TGCOutputModifier.h:54
LVL1TGCTrigger::TGCOutputModifier::Copy
void Copy(const LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 *sldataOrg, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldataNew) const
Definition
TGCOutputModifier.cxx:135
LVL1TGCTrigger::TGCOutputModifier::m_inputKey
SG::ReadHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1 > m_inputKey
Definition
TGCOutputModifier.h:50
LVL1TGCTrigger::TGCOutputModifier::~TGCOutputModifier
virtual ~TGCOutputModifier()
LVL1TGCTrigger::TGCOutputModifier::m_etaBoundary1
DoubleProperty m_etaBoundary1
Definition
TGCOutputModifier.h:60
LVL1TGCTrigger::TGCOutputModifier::m_deltaPhiCut2
DoubleProperty m_deltaPhiCut2
Definition
TGCOutputModifier.h:59
LVL1TGCTrigger::TGCOutputModifier::m_emulateC
BooleanProperty m_emulateC
Definition
TGCOutputModifier.h:63
LVL1TGCTrigger::TGCOutputModifier::m_musegKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_musegKey
Definition
TGCOutputModifier.h:53
LVL1TGCTrigger::TGCOutputModifier::m_nswVetoMode
BooleanProperty m_nswVetoMode
Definition
TGCOutputModifier.h:64
LVL1TGCTrigger::TGCOutputModifier::m_deltaPhiCut1
DoubleProperty m_deltaPhiCut1
Definition
TGCOutputModifier.h:56
LVL1TGCTrigger::TGCOutputModifier::execute
virtual StatusCode execute(const EventContext &eventContext) const override
Regular Gaudi algorithm execute function.
Definition
TGCOutputModifier.cxx:58
LVL1TGCTrigger::TGCOutputModifier::Update
void Update(const std::vector< const xAOD::MuonSegment * > &segs, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldata, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress) const
Definition
TGCOutputModifier.cxx:154
LVL1TGCTrigger::TGCOutputModifier::m_outputKey
SG::WriteHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1 > m_outputKey
Definition
TGCOutputModifier.h:51
LVL1TGCTrigger::TGCOutputModifier::m_deltaEtaCut2
DoubleProperty m_deltaEtaCut2
Definition
TGCOutputModifier.h:58
LVL1TGCTrigger::TGCOutputModifier::m_recTGCRoiTool
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recTGCRoiTool
Definition
TGCOutputModifier.h:52
LVL1TGCTrigger::TGCOutputModifier::m_deltaThetaCut2
DoubleProperty m_deltaThetaCut2
Definition
TGCOutputModifier.h:57
LVL1TGCTrigger::TGCOutputModifier::m_emulateA
BooleanProperty m_emulateA
Definition
TGCOutputModifier.h:62
LVL1TGCTrigger::TGCOutputModifier::m_deltaEtaCut1
DoubleProperty m_deltaEtaCut1
Definition
TGCOutputModifier.h:55
LVL1TGCTrigger::TGCOutputModifier::TGCOutputModifier
TGCOutputModifier(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TGCOutputModifier.cxx:19
LVL1TGCTrigger::TGCOutputModifier::initialize
virtual StatusCode initialize() override
Regular Gaudi algorithm initialization function.
Definition
TGCOutputModifier.cxx:30
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
LVL1TGCTrigger
Definition
LVL1TGCTrigger.cxx:48
Generated on
for ATLAS Offline Software by
1.17.0