ATLAS Offline Software
Loading...
Searching...
No Matches
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/*
10class description
11*/
12
13// Athena/Gaudi include(s):
14#include "GaudiKernel/ServiceHandle.h"
15#include "GaudiKernel/ToolHandle.h"
20
24#include "TVector3.h"
25
26namespace LVL1TGCTrigger {
28 {
29
30 public:
31
32 TGCOutputModifier( const std::string& name, ISvcLocator* pSvcLocator );
34
36 virtual StatusCode initialize() override;
38 virtual StatusCode execute(const EventContext& eventContext) const override;
39
40 private:
41
44 void Update(const std::vector<const xAOD::MuonSegment*>& segs,
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Base class for the data coming from one SL board.
void Copy(const LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 *sldataOrg, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldataNew) const
SG::ReadHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1 > m_inputKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_musegKey
virtual StatusCode execute(const EventContext &eventContext) const override
Regular Gaudi algorithm execute function.
void Update(const std::vector< const xAOD::MuonSegment * > &segs, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldata, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress) const
SG::WriteHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1 > m_outputKey
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recTGCRoiTool
TGCOutputModifier(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
Regular Gaudi algorithm initialization function.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.