BmnRoot
Loading...
Searching...
No Matches
BmnEcalGeo.cxx
Go to the documentation of this file.
1/*************************************************************************************
2 *
3 * Class BmnEcalGeo
4 *
5 * Adopted for BMN by: Elena Litvinenko
6 * e-mail: litvin@nf.jinr.ru
7 * Version: 10-02-2016
8 *
9 ************************************************************************************/
10#include "BmnEcalGeo.h"
11#include "FairGeoNode.h"
12#include <iostream>
13
14using std::cout;
15using std::endl;
16
17// ----- Default constructor -------------------------------------------
19 // Constructor
20 fName="ecal";
21 maxSectors=0;
22 maxModules=4;
23 }
24// -------------------------------------------------------------------------
25
26const char* BmnEcalGeo::getModuleName(Int_t m) {
27 // Returns the module name of muo number m
28
29 sprintf(modName,"ecal0%i",m+1);
30 return modName;
31 cout << "MODNAME: " << modName << endl;
32}
33
34const char* BmnEcalGeo::getEleName(Int_t m) {
35 // Returns the element name of muo number m
36
37 sprintf(eleName,"s%i",m+1);
38 return eleName;
39 cout << "ELENAME: " << eleName << endl;
40}
__m128 m
Definition P4_F32vec4.h:27
const char * getModuleName(Int_t)
char eleName[20]
Definition BmnEcalGeo.h:19
char modName[20]
Definition BmnEcalGeo.h:18
const char * getEleName(Int_t)