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