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