ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimSectorMap.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef FPGATrackSimSECTORMAP_H
6#define FPGATrackSimSECTORMAP_H
7
8#include <vector>
9#include <map>
10
11/*
12 A simple map that links sectors in different cases with different layers
13*/
15 typedef std::map<int,int> mapint;
16 typedef std::map<int,mapint> mapint2;
17private:
19public:
21 FPGATrackSimSectorMap(const char *fname) { LoadFromFile(fname); }
23 void SetSector(int, int, int);
24 int GetSector(int, int);
25 void LoadFromFile(const char *);
26 void CreateFile(const char *,const char *, const char *);
27 void Dump();
28 static std::map<int,int> makeLookup(const char* fname);
29};
30
31#endif
FPGATrackSimSectorMap()=default
void CreateFile(const char *, const char *, const char *)
FPGATrackSimSectorMap(const char *fname)
static std::map< int, int > makeLookup(const char *fname)
void SetSector(int, int, int)
void LoadFromFile(const char *)
~FPGATrackSimSectorMap()=default
std::map< int, mapint > mapint2
std::map< int, int > mapint