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