BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
12
#include "FairGeoNode.h"
13
14
#include <iostream>
15
16
using
std::cout;
17
using
std::endl;
18
19
// ----- Default constructor -------------------------------------------
20
BmnEcalGeo::BmnEcalGeo
()
21
{
22
// Constructor
23
fName =
"ecal"
;
24
maxSectors = 0;
25
maxModules = 4;
26
}
27
// -------------------------------------------------------------------------
28
29
const
char
*
BmnEcalGeo::getModuleName
(
Int_t
m
)
30
{
31
// Returns the module name of muo number m
32
33
sprintf(
modName
,
"ecal0%i"
,
m
+ 1);
34
return
modName
;
35
cout <<
"MODNAME: "
<<
modName
<< endl;
36
}
37
38
const
char
*
BmnEcalGeo::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
BmnEcalGeo::BmnEcalGeo
BmnEcalGeo()
Definition
BmnEcalGeo.cxx:20
BmnEcalGeo::getModuleName
const char * getModuleName(Int_t)
Definition
BmnEcalGeo.cxx:29
BmnEcalGeo::eleName
char eleName[20]
Definition
BmnEcalGeo.h:20
BmnEcalGeo::modName
char modName[20]
Definition
BmnEcalGeo.h:19
BmnEcalGeo::getEleName
const char * getEleName(Int_t)
Definition
BmnEcalGeo.cxx:38
BmnEcalGeo.h
detectors
ecal
BmnEcalGeo.cxx
Generated on
for BmnRoot by
1.17.0