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