1 #include "ERNeuRadGeoPar.h" 3 #include "FairParamList.h" 9 ERNeuRadGeoPar ::ERNeuRadGeoPar(
const char* name,
12 : FairParGenericSet(name,title,context),
13 fGeoSensNodes(new TObjArray()),
14 fGeoPassNodes(new TObjArray())
18 ERNeuRadGeoPar::~ERNeuRadGeoPar(
void)
22 void ERNeuRadGeoPar::clear(
void)
24 if(fGeoSensNodes) {
delete fGeoSensNodes; }
25 if(fGeoPassNodes) {
delete fGeoPassNodes; }
28 void ERNeuRadGeoPar::putParams(FairParamList* l)
31 l->addObject(
"FairGeoNodes Sensitive List", fGeoSensNodes);
32 l->addObject(
"FairGeoNodes Passive List", fGeoPassNodes);
35 Bool_t ERNeuRadGeoPar::getParams(FairParamList* l)
37 if (!l) {
return kFALSE; }
38 if (!l->fillObject(
"FairGeoNodes Sensitive List", fGeoSensNodes)) {
return kFALSE; }
39 if (!l->fillObject(
"FairGeoNodes Passive List", fGeoPassNodes)) {
return kFALSE; }