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
14
using
std::cout;
15
using
std::endl;
16
17
// ----- Default constructor -------------------------------------------
18
BmnZdcGeo::BmnZdcGeo
() {
19
// Constructor
20
fName=
"zdc"
;
21
maxSectors=0;
22
maxModules=4;
23
}
24
// -------------------------------------------------------------------------
25
26
const
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
34
const
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
}
m
__m128 m
Definition
P4_F32vec4.h:27
BmnZdcGeo::BmnZdcGeo
BmnZdcGeo()
Definition
BmnZdcGeo.cxx:18
BmnZdcGeo::eleName
char eleName[20]
Definition
BmnZdcGeo.h:19
BmnZdcGeo::modName
char modName[20]
Definition
BmnZdcGeo.h:18
BmnZdcGeo::getEleName
const char * getEleName(Int_t)
Definition
BmnZdcGeo.cxx:34
BmnZdcGeo::getModuleName
const char * getModuleName(Int_t)
Definition
BmnZdcGeo.cxx:26
BmnZdcGeo.h
detectors
zdc
BmnZdcGeo.cxx
Generated on Fri May 15 2026 10:40:53 for BmnRoot by
1.9.8