EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmGeoRich.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmGeoRich.cxx
1 //*-- AUTHOR : Ilse Koenig
2 //*-- Created : 10/11/2003
3 
5 // CbmGeoRich
6 //
7 // Class for geometry of RICH
8 //
10 
11 
12 #include "CbmGeoRich.h"
13 
14 #include "FairGeoNode.h"
15 
17 
18 // ----- Default constructor -------------------------------------------
20  // Constructor
21  fName="rich";
22  maxSectors=0;
23  maxModules=10;
24 }
25 // -------------------------------------------------------------------------
26 
27 const char* CbmGeoRich::getModuleName(Int_t m) {
28  // Returns the module name of rich number m
29  sprintf(modName,"rich%i",m+1);
30  return modName;
31 }
32 
33 const char* CbmGeoRich::getEleName(Int_t m) {
34  // Returns the element name of rich number m
35  sprintf(eleName,"r%i",m+1);
36  return eleName;
37 }