BmnRoot
Loading...
Searching...
No Matches
BmnSiMDGeo.cxx
Go to the documentation of this file.
1/*************************************************************************************
2 *
3 * Class BmnFdGeo
4 *
5 ************************************************************************************/
6
7#include <iostream>
8
9#include "BmnSiMDGeo.h"
10#include "FairGeoNode.h"
11#include <iostream>
12
13using std::cout;
14using std::endl;
15
16// ----- Default constructor -------------------------------------------
18 // Constructor
19 fName="SiMD";
20 maxSectors=10;
21 maxModules=70;
22 }
23// -------------------------------------------------------------------------
24
25const char* BmnSiMDGeo::getModule1Name(Int_t k) {
26 // Returns the module name of muo number m
27
28 sprintf(mod1Name,"SiMD0%i",k+1);
29 return mod1Name;
30 cout << "MOD1NAME: " << mod1Name << endl;
31}
32
33const char* BmnSiMDGeo::getEle1Name(Int_t k) {
34 // Returns the element name of muo number m
35
36 sprintf(ele1Name,"s%i",k+1);
37 return ele1Name;
38 cout << "ELE1NAME: " << ele1Name << endl;
39}
char mod1Name[100]
Definition BmnSiMDGeo.h:14
const char * getModule1Name(Int_t)
const char * getEle1Name(Int_t)
char ele1Name[100]
Definition BmnSiMDGeo.h:15