#include <HardCodedGeometry.h>
Definition at line 13 of file HardCodedGeometry.h.
CRT::HardCodedGeometry::HardCodedGeometry |
( |
| ) |
|
virtual CRT::HardCodedGeometry::~HardCodedGeometry |
( |
| ) |
|
|
virtualdefault |
ModuleID CRT::HardCodedGeometry::doModuleID |
( |
const size_t |
module | ) |
const |
|
overrideprivatevirtual |
Implements CRT::Geometry.
Definition at line 16 of file HardCodedGeometry.cpp.
18 const size_t nOrientations = 2;
20 const size_t frameNum =
module/modulesPerFrame;
22 const bool frameOrientation = frameNum % nOrientations;
24 const size_t frameLocal =
module % modulesPerFrame;
25 const PlaneID plane(frame, frameOrientation?frameLocal/fModulesPerPlane:!(frameLocal/fModulesPerPlane));
detail::Node< void, uint8_t > FrameID
const size_t fModulesPerPlane
detail::Node< FrameID, bool > PlaneID
StripID CRT::HardCodedGeometry::doStripID |
( |
const CRT::ModuleID |
module, |
|
|
const size_t |
channel |
|
) |
| const |
|
overrideprivatevirtual |
const size_t CRT::HardCodedGeometry::fModulesPerPlane |
|
private |
const size_t CRT::HardCodedGeometry::fStripsPerLayer |
|
private |
The documentation for this class was generated from the following files: