FairRoot/PandaRoot
PndGeoEmc.cxx
Go to the documentation of this file.
1 // PndGeoEmc
3 //
4 // Class for geometry of EMC
5 //
6 // Created 14/08/06 by S.Spataro
7 //
9 
10 #include "PndGeoEmc.h"
11 #include "FairGeoNode.h"
12 
14 
15 // ----- Default constructor -------------------------------------------
17  // Constructor
18  fName="emc";
19  maxSectors=0;
20  maxModules=20;
21  }
22 // -------------------------------------------------------------------------
23 
24 const char* PndGeoEmc::getModuleName(Int_t m) {
25  // Returns the module name of muo number m
26 
27  sprintf(modName,"emc%i",m+1);
28  return modName;
29 }
30 
31 const char* PndGeoEmc::getEleName(Int_t m) {
32  // Returns the element name of muo number m
33 
34  sprintf(eleName,"emc%i",m+1);
35  return eleName;
36 }
const char * getEleName(Int_t)
Definition: PndGeoEmc.cxx:31
__m128 m
Definition: P4_F32vec4.h:28
char modName[20]
Definition: PndGeoEmc.h:13
const char * getModuleName(Int_t)
Definition: PndGeoEmc.cxx:24
ClassImp(PndAnaContFact)
char eleName[20]
Definition: PndGeoEmc.h:14