FairRoot/PandaRoot
PndGeoFts.cxx
Go to the documentation of this file.
1 // PndGeoFts
3 //
4 // Class for geometry of FTS
5 //
7 
8 #include "PndGeoFts.h"
9 #include "FairGeoNode.h"
10 
12 
14 {
15  // Constructor
16  fName="fts";
17  maxSectors=0;
18  maxModules=40;
19 }
20 
21 const char* PndGeoFts::getModuleName(Int_t m)
22 {
23  // Returns the module name of fts number m
24 
25  if ( m < 9 ) sprintf(modName,"fts0%i",m+1);
26  else sprintf(modName,"fts%i",m+1);
27  //std::cout << "MODNAME: " << modName << std::endl;
28 
29  return modName;
30 }
31 
32 const char* PndGeoFts::getEleName(Int_t m)
33 {
34  // Returns the element name of fts number m
35 
36  if ( m < 9 ) sprintf(eleName,"fts0%i",m+1);
37  else sprintf(eleName,"fts%i",m+1);
38  //std::cout << "ELENAME: " << eleName << std::endl;
39 
40  return eleName;
41 
42 }
__m128 m
Definition: P4_F32vec4.h:28
char modName[40]
Definition: PndGeoFts.h:9
char eleName[40]
Definition: PndGeoFts.h:10
const char * getModuleName(Int_t)
Definition: PndGeoFts.cxx:21
const char * getEleName(Int_t)
Definition: PndGeoFts.cxx:32
ClassImp(PndAnaContFact)