ATLAS Offline Software
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 
36 {
37 public:
38  TrigTauTrackRoiUpdater(const std::string&, ISvcLocator*);
40 
41  virtual StatusCode initialize() override;
42  virtual StatusCode execute(const EventContext&) const override;
43 
44 private:
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<TrackCollection> m_tracksKey {this, "TracksKey", "", "FTF tracks" };
53  SG::WriteHandleKey<TrigRoiDescriptorCollection> m_roIOutputKey {this, "RoIOutputKey", "", "Output RoI key"};
54 };
55 
56 #endif
TrigTauTrackRoiUpdater::m_nHitPix
Gaudi::Property< int > m_nHitPix
Definition: TrigTauTrackRoiUpdater.h:48
TrigTauTrackRoiUpdater::m_roIInputKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roIInputKey
Definition: TrigTauTrackRoiUpdater.h:51
TrigTauTrackRoiUpdater::m_roIOutputKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roIOutputKey
Definition: TrigTauTrackRoiUpdater.h:53
SG::ReadHandleKey< TrigRoiDescriptorCollection >
TrigTauTrackRoiUpdater::m_phiHalfWidth
Gaudi::Property< float > m_phiHalfWidth
Definition: TrigTauTrackRoiUpdater.h:47
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TrigTauTrackRoiUpdater::m_z0HalfWidth
Gaudi::Property< float > m_z0HalfWidth
Definition: TrigTauTrackRoiUpdater.h:45
TrigTauTrackRoiUpdater
Update the input RoI direction in (eta, phi) to the leading RoI track (if any), and update the size.
Definition: TrigTauTrackRoiUpdater.h:36
SG::WriteHandleKey< TrigRoiDescriptorCollection >
TrigTauTrackRoiUpdater::~TrigTauTrackRoiUpdater
~TrigTauTrackRoiUpdater()
Definition: TrigTauTrackRoiUpdater.cxx:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
AthReentrantAlgorithm.h
TrigTauTrackRoiUpdater::m_tracksKey
SG::ReadHandleKey< TrackCollection > m_tracksKey
Definition: TrigTauTrackRoiUpdater.h:52
TrigTauTrackRoiUpdater::m_etaHalfWidth
Gaudi::Property< float > m_etaHalfWidth
Definition: TrigTauTrackRoiUpdater.h:46
TrigTauTrackRoiUpdater::TrigTauTrackRoiUpdater
TrigTauTrackRoiUpdater(const std::string &, ISvcLocator *)
Definition: TrigTauTrackRoiUpdater.cxx:19
TrigTauTrackRoiUpdater::m_nSiHoles
Gaudi::Property< int > m_nSiHoles
Definition: TrigTauTrackRoiUpdater.h:49
TrigRoiDescriptor.h
TrigTauTrackRoiUpdater::execute
virtual StatusCode execute(const EventContext &) const override
Definition: TrigTauTrackRoiUpdater.cxx:55
TrigTauTrackRoiUpdater::initialize
virtual StatusCode initialize() override
Definition: TrigTauTrackRoiUpdater.cxx:32