BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnBdGeo.cxx
Go to the documentation of this file.
1
#include "
BmnBdGeo.h
"
2
3
#include "FairGeoNode.h"
4
5
#include <iostream>
6
7
using
std::cout;
8
using
std::endl;
9
10
// ----- Default constructor -------------------------------------------
11
BmnBdGeo::BmnBdGeo
()
12
{
13
fName =
"BD"
;
14
maxSectors = 10;
15
maxModules = 100;
16
}
17
18
// Return the module name for number q
19
const
char
*
BmnBdGeo::getModule2Name
(
Int_t
q)
20
{
21
sprintf(
mod2Name
,
"BD0%i"
, q + 1);
22
// cout << "MOD2NAME: " << mod2Name << endl;
23
return
mod2Name
;
24
}
25
26
// Returns the element name for number q
27
const
char
*
BmnBdGeo::getEle2Name
(
Int_t
q)
28
{
29
sprintf(
ele2Name
,
"s%i"
, q + 1);
30
// cout << "ELE2NAME: " << ele2Name << endl;
31
return
ele2Name
;
32
}
Int_t
int Int_t
BmnBdGeo::getEle2Name
const char * getEle2Name(Int_t)
Definition
BmnBdGeo.cxx:27
BmnBdGeo::BmnBdGeo
BmnBdGeo()
Definition
BmnBdGeo.cxx:11
BmnBdGeo::mod2Name
char mod2Name[100]
Definition
BmnBdGeo.h:9
BmnBdGeo::ele2Name
char ele2Name[100]
Definition
BmnBdGeo.h:10
BmnBdGeo::getModule2Name
const char * getModule2Name(Int_t)
Definition
BmnBdGeo.cxx:19
BmnBdGeo.h
detectors
bd
BmnBdGeo.cxx
Generated on
for BmnRoot by
1.17.0