Geometry.cpp
Go to the documentation of this file.
1 //File: Geometry.cpp
2 //Brief: Interface that converts CRT electronics channels to
3 // sorting criteria for finding overlaps.
4 //Author: Andrew Olivier aolivier@ur.rochester.edu
5 
6 #include "Geometry.h" //Header
7 
8 namespace CRT
9 {
10  ModuleID Geometry::ModuleID(const size_t module) const
11  {
12  return doModuleID(module);
13  }
14 
15  StripID Geometry::StripID(const size_t module, const size_t channel) const
16  {
17  //I can do any common post-processing of results here
18  return doStripID(ModuleID(module), channel);
19  }
20 }
virtual CRT::StripID doStripID(const CRT::ModuleID module, const size_t channel) const =0
uint8_t channel
Definition: CRTFragment.hh:201
CRT::StripID StripID(const size_t module, const size_t channel) const
Definition: Geometry.cpp:15
CRT::ModuleID ModuleID(const size_t module) const
Definition: Geometry.cpp:10
virtual CRT::ModuleID doModuleID(const size_t module) const =0