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