EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsSurfaceMaps.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ActsSurfaceMaps.h
1 #ifndef TRACKRECO_ACTSSURFACEMAPS_H
2 #define TRACKRECO_ACTSSURFACEMAPS_H
3 
9 #include <trackbase/TrkrDefs.h>
10 
11 namespace Acts{ class Surface; }
12 class TGeoNode;
13 
14 #include <map>
15 #include <memory>
16 #include <set>
17 #include <vector>
18 
19 using Surface = std::shared_ptr<const Acts::Surface>;
20 using SurfaceVec = std::vector<Surface>;
21 
23 {
24 
25  ActsSurfaceMaps() = default;
26 
28  bool isTpcSurface( const Acts::Surface& surface ) const;
29 
31  bool isMicromegasSurface( const Acts::Surface& surface ) const;
32 
34  std::map<TrkrDefs::hitsetkey, Surface> siliconSurfaceMap;
35 
37  std::map<unsigned int, SurfaceVec> tpcSurfaceMap; // uses layer as key
38 
40  std::map<TrkrDefs::hitsetkey, Surface> mmSurfaceMap;
41 
43  std::map<TrkrDefs::hitsetkey, TGeoNode*> tGeoNodeMap;
44 
46 
47  std::set<int> tpcVolumeIds;
48 
50 
51  std::set<int> micromegasVolumeIds;
52 
53 };
54 
55 #endif