ATLAS Offline Software
ITrigInDetAccelerationSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGINDETACCELERATIONSERVICE_ITRIGINDETACCELERATIONSVC_H
6 #define TRIGINDETACCELERATIONSERVICE_ITRIGINDETACCELERATIONSVC_H
7 
8 #include "GaudiKernel/IService.h"
9 
10 #include "TrigAccelEvent/Work.h"
12 
13 #include<memory>
14 #include<vector>
15 
16 
18 
19 class ITrigInDetAccelerationSvc : virtual public IService {
20 
21  public:
22 
25 
26  // main methods
27 
28  virtual bool isReady() const = 0;
29  virtual TrigAccel::Work* createWork(unsigned int, std::shared_ptr<TrigAccel::OffloadBuffer>) const = 0;
30 
31  //helper
32 
33  virtual const std::vector<short>& getLayerInformation(int) const = 0;
34  virtual size_t getMiddleLayersSize() const = 0;
35 
36 };
37 
38 #endif
39 
ITrigInDetAccelerationSvc::getLayerInformation
virtual const std::vector< short > & getLayerInformation(int) const =0
OffloadBuffer.h
ITrigInDetAccelerationSvc::DeclareInterfaceID
DeclareInterfaceID(ITrigInDetAccelerationSvc, 1, 0)
Interface ID
TrigAccel::Work
Definition: Work.h:14
ITrigInDetAccelerationSvc::createWork
virtual TrigAccel::Work * createWork(unsigned int, std::shared_ptr< TrigAccel::OffloadBuffer >) const =0
ITrigInDetAccelerationSvc::getMiddleLayersSize
virtual size_t getMiddleLayersSize() const =0
ITrigInDetAccelerationSvc::isReady
virtual bool isReady() const =0
Work.h
ITrigInDetAccelerationSvc
Service Interface for TrigInDetAccelerationSvc class.
Definition: ITrigInDetAccelerationSvc.h:19