BmnRoot
Loading...
Searching...
No Matches
BmnSiMDGeoPar.cxx
Go to the documentation of this file.
1
/*************************************************************************************
2
*
3
* Class BmnFdGeoPar
4
*
5
************************************************************************************/
6
7
using namespace
std
;
8
#include "
BmnSiMDGeoPar.h
"
9
#include "FairParamList.h"
10
#include <iostream>
11
#include <iomanip>
12
13
BmnSiMDGeoPar::BmnSiMDGeoPar
(
const
char
* name,
const
char
* title,
const
char
* context)
14
: FairParGenericSet(name,title,context) {
15
16
fGeoSensNodes
=
new
TObjArray();
17
fGeoPassNodes
=
new
TObjArray();
18
19
}
20
21
BmnSiMDGeoPar::~BmnSiMDGeoPar
(
void
) {
22
}
23
24
// probably the next funtions can be deleted
25
26
void
BmnSiMDGeoPar::clear
(
void
) {
27
if
(
fGeoSensNodes
)
delete
fGeoSensNodes
;
28
if
(
fGeoPassNodes
)
delete
fGeoPassNodes
;
29
}
30
31
void
BmnSiMDGeoPar::putParams
(FairParamList* l) {
32
if
(!l)
return
;
33
l->addObject(
"FairGeoNodes Sensitive List"
,
fGeoSensNodes
);
34
l->addObject(
"FairGeoNodes Passive List"
,
fGeoPassNodes
);
35
}
36
37
Bool_t
BmnSiMDGeoPar::getParams
(FairParamList* l) {
38
if
(!l)
return
kFALSE;
39
if
(!l->fillObject(
"FairGeoNodes Sensitive List"
,
fGeoSensNodes
))
return
kFALSE;
40
if
(!l->fillObject(
"FairGeoNodes Passive List"
,
fGeoPassNodes
))
return
kFALSE;
41
42
return
kTRUE;
43
}
BmnSiMDGeoPar::clear
void clear(void)
Definition
BmnSiMDGeoPar.cxx:26
BmnSiMDGeoPar::BmnSiMDGeoPar
BmnSiMDGeoPar(const char *name="BmnSiMDGeoPar", const char *title="SiMD Geometry Parameters", const char *context="SiMDDefaultContext")
Definition
BmnSiMDGeoPar.cxx:13
BmnSiMDGeoPar::fGeoPassNodes
TObjArray * fGeoPassNodes
Definition
BmnSiMDGeoPar.h:16
BmnSiMDGeoPar::getParams
Bool_t getParams(FairParamList *)
Definition
BmnSiMDGeoPar.cxx:37
BmnSiMDGeoPar::fGeoSensNodes
TObjArray * fGeoSensNodes
Definition
BmnSiMDGeoPar.h:15
BmnSiMDGeoPar::~BmnSiMDGeoPar
~BmnSiMDGeoPar(void)
Definition
BmnSiMDGeoPar.cxx:21
BmnSiMDGeoPar::putParams
void putParams(FairParamList *)
Definition
BmnSiMDGeoPar.cxx:31
BmnSiMDGeoPar.h
std
STL namespace.
detectors
SiMD
BmnSiMDGeoPar.cxx
Generated on Fri May 15 2026 10:40:52 for BmnRoot by
1.9.8