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