6 #include "ERGeoPassivePar.h" 7 #include "FairParamList.h" 13 : FairParGenericSet(name,title,context) {
15 fGeoSensNodes =
new TObjArray();
16 fGeoPassNodes =
new TObjArray();
19 ERGeoPassivePar::~ERGeoPassivePar(
void) {
22 void ERGeoPassivePar::clear(
void) {
23 if(fGeoSensNodes)
delete fGeoSensNodes;
24 if(fGeoPassNodes)
delete fGeoPassNodes;
27 void ERGeoPassivePar::putParams(FairParamList* l) {
29 l->addObject(
"FairGeoNodes Sensitive List", fGeoSensNodes);
30 l->addObject(
"FairGeoNodes Passive List", fGeoPassNodes);
33 Bool_t ERGeoPassivePar::getParams(FairParamList* l) {
34 if (!l)
return kFALSE;
35 if (!l->fillObject(
"FairGeoNodes Sensitive List", fGeoSensNodes))
return kFALSE;
36 if (!l->fillObject(
"FairGeoNodes Passive List", fGeoPassNodes))
return kFALSE;