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"
38 virtual StatusCode
finalize()
override;
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 eta() const
pseudorapidity method
Scalar phi() const
phi method
virtual void handle(const Incident &) override
OnBeginRun data gathering and export.
ServiceHandle< StoreGateSvc > m_evtStore
virtual const std::vector< short > & getLayerInformation(int) const override
virtual ~TrigInDetAccelerationSvc() override
ServiceHandle< StoreGateSvc > m_detStore
virtual StatusCode initialize() override
Initialize.
bool exportITkGeometryInformation(const std::map< std::tuple< short, short, int, int >, std::vector< PhiEtaHash > > &hashMap) const
bool exportGeometryInformation(const std::map< std::tuple< short, short, short >, std::vector< PhiEtaHash > > &) const
std::vector< short > m_layerInfo[3]
virtual bool isReady() const override
virtual StatusCode finalize() override
Finalize.
virtual TrigAccel::Work * createWork(unsigned int, std::shared_ptr< TrigAccel::OffloadBuffer >) const override
bool extractITkGeometryInformation(std::map< std::tuple< short, short, int, int >, std::vector< PhiEtaHash > > &)
TrigInDetAccelerationSvc(const std::string &, ISvcLocator *)
Constructor.
std::vector< int > m_middleSpacePointLayers
virtual size_t getMiddleLayersSize() const override
TrigAccel::Module * m_module
TrigAccel::WorkFactory * m_pWF
bool extractGeometryInformation(std::map< std::tuple< short, short, short >, std::vector< PhiEtaHash > > &)
bool operator()(const struct PhiEtaHash &p1, const struct PhiEtaHash &p2)
PhiEtaHash(short phi, short eta, int hash)