ATLAS Offline Software
TrigTauCaloRoiUpdater.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 TrigTauCaloRoiUpdater_H
6 #define TrigTauCaloRoiUpdater_H
7 
8 #include <iostream>
9 
11 
13 
15 
22 public:
23  TrigTauCaloRoiUpdater(const std::string&, ISvcLocator*);
24 
25  virtual StatusCode initialize() override;
26  virtual StatusCode execute(const EventContext& ctx) const override;
27 
28 private:
29  Gaudi::Property<float> m_dRForCenter {this, "dRForCenter", 0.2, "Maximum CaloCluster Delta R from the center of RoI"};
30 
31  SG::ReadHandleKey<TrigRoiDescriptorCollection> m_roIInputKey {this, "RoIInputKey", "", "RoI input collection key"};
32  SG::ReadHandleKey<xAOD::CaloClusterContainer> m_clustersKey {this, "CaloClustersKey", "", "caloclusters in view key"};
33  SG::WriteHandleKey<TrigRoiDescriptorCollection> m_roIOutputKey {this,"RoIOutputKey", "", "Output RoI collection key"};
34 };
35 
36 #endif
TrigTauCaloRoiUpdater::m_roIInputKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roIInputKey
Definition: TrigTauCaloRoiUpdater.h:31
TrigTauCaloRoiUpdater::m_dRForCenter
Gaudi::Property< float > m_dRForCenter
Definition: TrigTauCaloRoiUpdater.h:29
TrigTauCaloRoiUpdater::m_clustersKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clustersKey
Definition: TrigTauCaloRoiUpdater.h:32
SG::ReadHandleKey< TrigRoiDescriptorCollection >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey< TrigRoiDescriptorCollection >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigTauCaloRoiUpdater::TrigTauCaloRoiUpdater
TrigTauCaloRoiUpdater(const std::string &, ISvcLocator *)
Definition: TrigTauCaloRoiUpdater.cxx:16
AthReentrantAlgorithm.h
TrigTauCaloRoiUpdater
Update the input RoI direction in (eta, phi) to the tau's axis, calculated from the RoI calo clusters...
Definition: TrigTauCaloRoiUpdater.h:21
TrigTauCaloRoiUpdater::initialize
virtual StatusCode initialize() override
Definition: TrigTauCaloRoiUpdater.cxx:23
CaloClusterContainer.h
TrigRoiDescriptor.h
TrigTauCaloRoiUpdater::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TrigTauCaloRoiUpdater.cxx:37
TrigTauCaloRoiUpdater::m_roIOutputKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roIOutputKey
Definition: TrigTauCaloRoiUpdater.h:33