Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Detectors/TRD/base/include/TRDBase/Geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ class Geometry : public GeometryBase, public o2::detectors::DetMatrixCacheIndire
void fillMatrixCache(int mask) override;

private:
/// Index of the chamber shape a (layer, stack) uses, 0..11. The chamber length is the
/// same for every stack except the middle one, so the thirty chambers of a supermodule
/// are built from twelve distinct sets of volumes.
static int shapeClass(int layer, int stack) { return layer + constants::NLAYER * (stack == 2 ? 1 : 0); }

void createVolumes(std::vector<int> const& idtmed);
void assembleChamber(int ilayer, int istack);
void createFrame(std::vector<int> const& idtmed);
Expand Down
Loading
Loading