BmnRoot
Loading...
Searching...
No Matches
BmnSiMDGeo.cxx
Go to the documentation of this file.
1
/*************************************************************************************
2
*
3
* Class BmnFdGeo
4
*
5
************************************************************************************/
6
7
#include <iostream>
8
9
#include "
BmnSiMDGeo.h
"
10
#include "FairGeoNode.h"
11
#include <iostream>
12
13
using
std::cout;
14
using
std::endl;
15
16
// ----- Default constructor -------------------------------------------
17
BmnSiMDGeo::BmnSiMDGeo
() {
18
// Constructor
19
fName=
"SiMD"
;
20
maxSectors=10;
21
maxModules=70;
22
}
23
// -------------------------------------------------------------------------
24
25
const
char
*
BmnSiMDGeo::getModule1Name
(Int_t k) {
26
// Returns the module name of muo number m
27
28
sprintf(
mod1Name
,
"SiMD0%i"
,k+1);
29
return
mod1Name
;
30
cout <<
"MOD1NAME: "
<<
mod1Name
<< endl;
31
}
32
33
const
char
*
BmnSiMDGeo::getEle1Name
(Int_t k) {
34
// Returns the element name of muo number m
35
36
sprintf(
ele1Name
,
"s%i"
,k+1);
37
return
ele1Name
;
38
cout <<
"ELE1NAME: "
<<
ele1Name
<< endl;
39
}
BmnSiMDGeo::mod1Name
char mod1Name[100]
Definition
BmnSiMDGeo.h:14
BmnSiMDGeo::getModule1Name
const char * getModule1Name(Int_t)
Definition
BmnSiMDGeo.cxx:25
BmnSiMDGeo::getEle1Name
const char * getEle1Name(Int_t)
Definition
BmnSiMDGeo.cxx:33
BmnSiMDGeo::BmnSiMDGeo
BmnSiMDGeo()
Definition
BmnSiMDGeo.cxx:17
BmnSiMDGeo::ele1Name
char ele1Name[100]
Definition
BmnSiMDGeo.h:15
BmnSiMDGeo.h
detectors
SiMD
BmnSiMDGeo.cxx
Generated on Fri May 15 2026 10:40:52 for BmnRoot by
1.9.8