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