ATLAS Offline Software
IRegSelLUT.h
Go to the documentation of this file.
1 // emacs: this is -*- c++ -*-
2 //
3 // @file IRegSelTool.h
4 //
5 // Generic lookup table interface class for all teh different types
6 // of Region Selector lookup tables
7 // NB: it would make sense for the IRegSelTool interface to inherit
8 // from this also, so that we guarantee the same interface
9 // for the tables and corresponding tools
10 //
11 // @author Mark Sutton
12 //
13 // Copyright (C) 2012-2020 CERN for the benefit of the ATLAS collaboration
14 
15 
16 #ifndef IREGIONSELECTOR_IREGSELLUT_H
17 #define IREGIONSELECTOR_IREGSELLUT_H
18 
20 #include <vector>
21 #include <stdint.h>
22 
24 
25 class IRegSelLUT {
26 
27 public:
28 
30 
31 
33 
38  virtual void HashIDList( const IRoiDescriptor& roi, std::vector<IdentifierHash>& idlist ) const = 0;
39 
40 
42 
47  virtual void HashIDList( long layer, const IRoiDescriptor& roi, std::vector<IdentifierHash>& idlist ) const = 0;
48 
49 
51 
53 
58  virtual void ROBIDList( const IRoiDescriptor& roi, std::vector<uint32_t>& roblist ) const = 0;
59 
60 
62 
68  virtual void ROBIDList( long layer, const IRoiDescriptor& roi, std::vector<uint32_t>& roblist ) const = 0;
69 
70  virtual ~IRegSelLUT(){};
71 };
72 
73 
74 
75 #endif // IREGIONSELECTOR_IREGSELLUT_H
IRegSelLUT::~IRegSelLUT
virtual ~IRegSelLUT()
Definition: IRegSelLUT.h:70
IRegSelLUT::HashIDList
virtual void HashIDList(long layer, const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const =0
HashIDList interface declaration. return list of non-repeated IdentifierHash.
IRoiDescriptor
Describes the API of the Region of Ineterest geometry.
Definition: IRoiDescriptor.h:23
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
IRegSelLUT
Definition: IRegSelLUT.h:25
IdentifierHash.h
IRegSelLUT::HashIDList
virtual void HashIDList(const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const =0
IdentifierHash methods.
IRoiDescriptor.h
IRegSelLUT::ROBIDList
virtual void ROBIDList(const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const =0
Rob identifier methods methods.
IRegSelLUT::ROBIDList
virtual void ROBIDList(long layer, const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const =0
ROBIDList interface declaration. This interface can be used by the ID subdetectors....