|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGINDETACCELERATIONSERVICE_TRIGINDETACCELERATIONSVC_H
6 #define TRIGINDETACCELERATIONSERVICE_TRIGINDETACCELERATIONSVC_H
8 #include "GaudiKernel/IIncidentListener.h"
9 #include "GaudiKernel/IIncidentSvc.h"
15 #include "GaudiKernel/ServiceHandle.h"
39 virtual void handle(
const Incident&)
override;
56 if(
p1.m_phiIndex ==
p2.m_phiIndex) {
57 return p1.m_etaIndex <
p2.m_etaIndex;
60 return p1.m_phiIndex <
p2.m_phiIndex;
Scalar phi() const
phi method
virtual ~TrigInDetAccelerationSvc() override
Scalar eta() const
pseudorapidity method
bool extractITkGeometryInformation(std::map< std::tuple< short, short, int, int >, std::vector< PhiEtaHash > > &)
Service for creating GPU-accelerated Work items for HLT ID algorithms.
bool exportITkGeometryInformation(const std::map< std::tuple< short, short, int, int >, std::vector< PhiEtaHash > > &hashMap) const
TrigAccel::WorkFactory * m_pWF
TrigInDetAccelerationSvc(const std::string &, ISvcLocator *)
Constructor
TrigAccel::Module * m_module
virtual void handle(const Incident &) override
OnBeginRun data gathering and export.
virtual TrigAccel::Work * createWork(unsigned int, std::shared_ptr< TrigAccel::OffloadBuffer >) const override
ServiceHandle< StoreGateSvc > m_detStore
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual bool isReady() const override
ServiceHandle< StoreGateSvc > m_evtStore
virtual const std::vector< short > & getLayerInformation(int) const override
std::vector< int > m_middleSpacePointLayers
PhiEtaHash(short phi, short eta, int hash)
bool operator()(const struct PhiEtaHash &p1, const struct PhiEtaHash &p2)
virtual StatusCode initialize() override
Initialize
virtual StatusCode finalize() override
Finalize
std::vector< short > m_layerInfo[3]
virtual size_t getMiddleLayersSize() const override
bool extractGeometryInformation(std::map< std::tuple< short, short, short >, std::vector< PhiEtaHash > > &)
bool exportGeometryInformation(const std::map< std::tuple< short, short, short >, std::vector< PhiEtaHash > > &) const