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