![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
3 #ifndef FPGATrackSimPLANEMAP_H
4 #define FPGATrackSimPLANEMAP_H
71 std::vector<int> layerOverrides = std::vector<int>());
123 return m_map.at(
static_cast<int>(siTech)).at(
static_cast<int>(
zone)).at(physLayer);
124 }
catch ( std::out_of_range
const &
e)
127 return m_map.at(1).at(0).at(0);
161 std::vector<std::vector<std::vector<LayerSection>>>
m_map;
180 void seek(std::ifstream &
fin,
unsigned region);
187 #endif // FPGATrackSimPLANEMAP_H
uint32_t getNSections(size_t logiLayer) const
uint32_t getNLogiLayers() const
const LayerSection & getLayerSection(LayerInfo const &mi) const
int getLayer(SiliconTech siTech, DetectorZone zone, uint32_t physLayer) const
uint32_t getNCoords() const
bool isEC(uint32_t layer, uint32_t section) const
void readLayers(std::ifstream &fin, uint32_t stage)
std::vector< std::vector< std::vector< LayerSection > > > m_map
const LayerSection & getLayerSection(SiliconTech siTech, DetectorZone zone, uint32_t physLayer) const
uint32_t getCoordLayer(uint32_t coord) const
uint32_t getDim(size_t logiLayer) const
uint32_t getCoordOffset(size_t logiLayer) const
bool isPixel(int pl) const
std::vector< int > m_layerOverrides
void map(FPGATrackSimHit &hit) const
unsigned getSection(SiliconTech siTech, DetectorZone zone, uint32_t physLayer) const
void seek(std::ifstream &fin, unsigned region)
FPGATrackSimPlaneMap(const std::string &filepath, unsigned region, unsigned stage, std::vector< int > layerOverrides=std::vector< int >())
std::vector< uint32_t > m_coordOffset
SiliconTech getDetType(size_t logiLayer) const
const LayerInfo & getLayerInfo(uint32_t layer, uint32_t section) const
: FPGATrackSim-specific class to represent an hit in the detector.
std::unique_ptr< FPGATrackSimModuleRelabel > m_moduleRelabel
void allocateMap(std::ifstream &fin, uint32_t stage)
std::string layerName(uint32_t layer, uint32_t section) const
int getOverrideLayer(SiliconTech si, DetectorZone dz, int physLayer)
std::vector< uint32_t > m_dimension
uint32_t getNDetLayers() const
std::vector< std::vector< LayerInfo > > m_layerInfo
std::vector< uint32_t > m_diskIndex
std::vector< uint32_t > m_coordLayer