BmnRoot
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
#include "FairGeoNode.h"
12
#include <iostream>
13
14
using
std::cout;
15
using
std::endl;
16
17
// ----- Default constructor -------------------------------------------
18
BmnEcalGeo::BmnEcalGeo
() {
19
// Constructor
20
fName=
"ecal"
;
21
maxSectors=0;
22
maxModules=4;
23
}
24
// -------------------------------------------------------------------------
25
26
const
char
*
BmnEcalGeo::getModuleName
(Int_t
m
) {
27
// Returns the module name of muo number m
28
29
sprintf(
modName
,
"ecal0%i"
,
m
+1);
30
return
modName
;
31
cout <<
"MODNAME: "
<<
modName
<< endl;
32
}
33
34
const
char
*
BmnEcalGeo::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
BmnEcalGeo::BmnEcalGeo
BmnEcalGeo()
Definition
BmnEcalGeo.cxx:18
BmnEcalGeo::getModuleName
const char * getModuleName(Int_t)
Definition
BmnEcalGeo.cxx:26
BmnEcalGeo::eleName
char eleName[20]
Definition
BmnEcalGeo.h:19
BmnEcalGeo::modName
char modName[20]
Definition
BmnEcalGeo.h:18
BmnEcalGeo::getEleName
const char * getEleName(Int_t)
Definition
BmnEcalGeo.cxx:34
BmnEcalGeo.h
detectors
ecal
BmnEcalGeo.cxx
Generated on Fri May 15 2026 10:40:51 for BmnRoot by
1.9.8