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