CbmRoot
CbmGeoMuch.cxx
Go to the documentation of this file.
1
11
#include "
CbmGeoMuch.h
"
12
#include "FairGeoNode.h"
13
14
CbmGeoMuch::CbmGeoMuch
() {
15
// Constructor
16
fName =
"much"
;
17
maxSectors = 0;
18
maxModules = 1;
//99;
19
}
20
21
const
char
*
CbmGeoMuch::getModuleName
(Int_t
m
) {
22
// Returns the module name of much number m
23
// if ( m < 0 ) {
24
// cout <<"-E- CbmGeoMuch::getModuleName:: Module number "
25
// << m << " not known!" << endl;
26
// return "";
27
// }
28
// if ( m < 9 ) sprintf(modName,"muchstation0%i",m+1);
29
// else sprintf(modName,"muchstation%i",m+1);
30
31
sprintf(
eleName
,
"much%i"
,
m
+ 1);
32
// cout << "DEBUG: modName(" << m << ")="<< modName << endl;
33
// CbmGeoMuchPar* fGeoPar = (CbmGeoMuchPar*) db->getContainer("CbmGeoMuchPar");
34
35
return
modName
;
36
}
37
38
const
char
*
CbmGeoMuch::getEleName
(Int_t
m
) {
39
// Returns the element name of sts number m
40
sprintf(
eleName
,
"much%i"
,
m
+ 1);
41
return
eleName
;
42
}
43
44
ClassImp
(
CbmGeoMuch
)
CbmGeoMuch::CbmGeoMuch
CbmGeoMuch()
Definition:
CbmGeoMuch.cxx:14
CbmGeoMuch::eleName
char eleName[20]
Definition:
CbmGeoMuch.h:19
CbmGeoMuch::getModuleName
const char * getModuleName(Int_t)
Definition:
CbmGeoMuch.cxx:21
CbmGeoMuch
Definition:
CbmGeoMuch.h:16
CbmGeoMuch::getEleName
const char * getEleName(Int_t)
Definition:
CbmGeoMuch.cxx:38
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition:
CbmConverterManager.cxx:12
CbmGeoMuch.h
m
__m128 m
Definition:
L1/vectors/P4_F32vec4.h:26
CbmGeoMuch::modName
char modName[20]
Definition:
CbmGeoMuch.h:18
sim
detectors
much
CbmGeoMuch.cxx
Generated on Wed Oct 28 2020 15:11:35 for CbmRoot by
1.8.18