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