BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
12#include "FairGeoNode.h"
13
14#include <iostream>
15
16using std::cout;
17using std::endl;
18
19// ----- Default constructor -------------------------------------------
21{
22 // Constructor
23 fName = "zdc";
24 maxSectors = 0;
25 maxModules = 4;
26}
27// -------------------------------------------------------------------------
28
30{
31 // Returns the module name of muo number m
32
33 sprintf(modName, "zdc0%i", m + 1);
34 return modName;
35 cout << "MODNAME: " << modName << endl;
36}
37
39{
40 // Returns the element name of muo number m
41
42 sprintf(eleName, "s%i", m + 1);
43 return eleName;
44 cout << "ELENAME: " << eleName << endl;
45}
__m128 m
Definition P4_F32vec4.h:27
int Int_t
char eleName[20]
Definition BmnZdcGeo.h:20
char modName[20]
Definition BmnZdcGeo.h:19
const char * getEleName(Int_t)
Definition BmnZdcGeo.cxx:38
const char * getModuleName(Int_t)
Definition BmnZdcGeo.cxx:29