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