BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
16
using
std::cout;
17
using
std::endl;
18
19
// ----- Default constructor -------------------------------------------
20
BmnZdcGeo::BmnZdcGeo
()
21
{
22
// Constructor
23
fName =
"zdc"
;
24
maxSectors = 0;
25
maxModules = 4;
26
}
27
// -------------------------------------------------------------------------
28
29
const
char
*
BmnZdcGeo::getModuleName
(
Int_t
m
)
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
38
const
char
*
BmnZdcGeo::getEleName
(
Int_t
m
)
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
}
m
__m128 m
Definition
P4_F32vec4.h:27
Int_t
int Int_t
BmnZdcGeo::BmnZdcGeo
BmnZdcGeo()
Definition
BmnZdcGeo.cxx:20
BmnZdcGeo::eleName
char eleName[20]
Definition
BmnZdcGeo.h:20
BmnZdcGeo::modName
char modName[20]
Definition
BmnZdcGeo.h:19
BmnZdcGeo::getEleName
const char * getEleName(Int_t)
Definition
BmnZdcGeo.cxx:38
BmnZdcGeo::getModuleName
const char * getModuleName(Int_t)
Definition
BmnZdcGeo.cxx:29
BmnZdcGeo.h
detectors
zdc
BmnZdcGeo.cxx
Generated on
for BmnRoot by
1.17.0