|
ATLAS Offline Software
|
Go to the documentation of this file.
3 #ifndef FPGATrackSimPLANEMAP_H
4 #define FPGATrackSimPLANEMAP_H
69 std::vector<int> layerOverrides = std::vector<int>());
119 if (
static_cast<size_t>(siTech) <
m_map.size() ) {
120 if (
static_cast<size_t>(
zone) <
m_map.at(
static_cast<size_t>(siTech)).size() ) {
121 if ( physLayer <
m_map.at(
static_cast<size_t>(siTech)).at(
static_cast<size_t>(
zone)).size() ) {
122 return m_map[
static_cast<size_t>(siTech)][
static_cast<size_t>(
zone)][physLayer];
159 std::vector<std::vector<std::vector<LayerSection>>>
m_map;
179 void seek(std::ifstream &
fin,
unsigned region);
186 #endif // FPGATrackSimPLANEMAP_H
const LayerSection m_inValidLayerSection
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)
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
FPGATrackSimPlaneMap(std::ifstream &fin, unsigned region, unsigned stage, std::vector< int > layerOverrides=std::vector< int >())
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
void doRemap(FPGATrackSimHit &hit) const
std::vector< uint32_t > m_coordLayer