ATLAS Offline Software
TrigITkAccelerationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGINDETACCELERATIONTOOL_TRIGITKACCELERATIONTOOL_H
6 #define TRIGINDETACCELERATIONTOOL_TRIGITKACCELERATIONTOOL_H
7 
9 #include "GaudiKernel/ToolHandle.h"
10 #include "GaudiKernel/ServiceHandle.h"
11 
13 
15 
16 class TrigITkAccelerationTool: public extends<AthAlgTool, ITrigInDetAccelerationTool> {
17 
18  public:
19  TrigITkAccelerationTool( const std::string&, const std::string&, const IInterface* );
20  virtual StatusCode initialize() override;
21 
22  size_t virtual exportSeedMakingJob(const TrigCombinatorialSettings&, const IRoiDescriptor*, const std::vector<TrigSiSpacePointBase>&, TrigAccel::DATA_EXPORT_BUFFER&) const override;
23  virtual int extractTripletsFromOutput(std::shared_ptr<TrigAccel::OffloadBuffer>, const std::vector<TrigSiSpacePointBase>&, std::vector<TrigInDetTriplet>&) const override;
24  private:
25  // Return ITk covariance on radius depending on the layer location based on offline studies
26  float getCovR(bool isBarrel) const;
27 
28  // Return ITk covariance on z measurement depending on the layer location based on offline studies
29  float getCovZ(bool isBarrel) const;
30 
32 };
33 
34 #endif
TrigAccel::DataExportBuffer
Definition: DataExportBuffer.h:14
ITrigInDetAccelerationSvc.h
TrigITkAccelerationTool::initialize
virtual StatusCode initialize() override
Definition: TrigITkAccelerationTool.cxx:19
TrigITkAccelerationTool::getCovZ
float getCovZ(bool isBarrel) const
Definition: TrigITkAccelerationTool.cxx:216
TrigITkAccelerationTool::TrigITkAccelerationTool
TrigITkAccelerationTool(const std::string &, const std::string &, const IInterface *)
Definition: TrigITkAccelerationTool.cxx:11
TrigITkAccelerationTool::getCovR
float getCovR(bool isBarrel) const
Definition: TrigITkAccelerationTool.cxx:211
ITrigInDetAccelerationTool.h
TrigITkAccelerationTool::m_accelSvc
ServiceHandle< ITrigInDetAccelerationSvc > m_accelSvc
Definition: TrigITkAccelerationTool.h:31
TrigITkAccelerationTool::extractTripletsFromOutput
virtual int extractTripletsFromOutput(std::shared_ptr< TrigAccel::OffloadBuffer >, const std::vector< TrigSiSpacePointBase > &, std::vector< TrigInDetTriplet > &) const override
Definition: TrigITkAccelerationTool.cxx:189
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IRoiDescriptor
Describes the API of the Region of Ineterest geometry.
Definition: IRoiDescriptor.h:23
AthAlgTool.h
TrigITkAccelerationTool::exportSeedMakingJob
virtual size_t exportSeedMakingJob(const TrigCombinatorialSettings &, const IRoiDescriptor *, const std::vector< TrigSiSpacePointBase > &, TrigAccel::DATA_EXPORT_BUFFER &) const override
Definition: TrigITkAccelerationTool.cxx:25
TrigITkAccelerationTool
Definition: TrigITkAccelerationTool.h:16
python.LArCondContChannels.isBarrel
isBarrel
Definition: LArCondContChannels.py:659
TrigCombinatorialSettings
Definition: TrigCombinatorialSettings.h:13
ServiceHandle< ITrigInDetAccelerationSvc >