ATLAS Offline Software
Loading...
Searching...
No Matches
TrigTauTrackRoiUpdater.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGTAUHYPO_TrigTauTrackRoiUpdater_H
6#define TRIGTAUHYPO_TrigTauTrackRoiUpdater_H
7
8#include <iostream>
9
11#include "GaudiKernel/ToolHandle.h"
12
14
16
34
36{
37public:
38 TrigTauTrackRoiUpdater(const std::string&, ISvcLocator*);
40
41 virtual StatusCode initialize() override;
42 virtual StatusCode execute(const EventContext&) const override;
43
44private:
45 Gaudi::Property<float> m_z0HalfWidth {this, "z0HalfWidth", 7.0, "z0 half width for the output RoI"};
46 Gaudi::Property<float> m_etaHalfWidth {this, "etaHalfWidth", 0.4, "eta half width for the output RoI"};
47 Gaudi::Property<float> m_phiHalfWidth {this, "phiHalfWidth", 0.4, "phi half width for the output RoI"};
48 Gaudi::Property<int> m_nHitPix {this, "nHitPix", 2, "Minimum number of hits in the Pixel detector on the lead track"};
49 Gaudi::Property<int> m_nSiHoles {this, "nSiHoles", 2, "Maximum number of Si holes on the lead track"};
50
51 SG::ReadHandleKey<TrigRoiDescriptorCollection> m_roIInputKey {this, "RoIInputKey", "", "Input RoI key"};
52 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_tracksKey {this, "TracksKey", "", "FTF tracks" };
53 SG::WriteHandleKey<TrigRoiDescriptorCollection> m_roIOutputKey {this, "RoIOutputKey", "", "Output RoI key"};
54};
55
56#endif
An algorithm that can be simultaneously executed in multiple threads.
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.
virtual StatusCode execute(const EventContext &) const override
Gaudi::Property< int > m_nSiHoles
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roIInputKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksKey
Gaudi::Property< float > m_phiHalfWidth
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roIOutputKey
Gaudi::Property< int > m_nHitPix
Gaudi::Property< float > m_z0HalfWidth
TrigTauTrackRoiUpdater(const std::string &, ISvcLocator *)
Gaudi::Property< float > m_etaHalfWidth
virtual StatusCode initialize() override