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