BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
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
9using std::cout;
10using std::endl;
11
12// ----- Default constructor -------------------------------------------
14{
15 // Constructor
16 fName = "BC";
17 maxSectors = 10;
18 maxModules = 100;
19}
20// -------------------------------------------------------------------------
21
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
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}
int Int_t
char ele2Name[100]
Definition BmnBCGeo.h:10
char mod2Name[100]
Definition BmnBCGeo.h:9
const char * getModule2Name(Int_t)
Definition BmnBCGeo.cxx:22
const char * getEle2Name(Int_t)
Definition BmnBCGeo.cxx:31