BmnRoot
Loading...
Searching...
No Matches
BmnFDGeoPar.cxx
Go to the documentation of this file.
1#include "BmnFDGeoPar.h"
2#include "FairParamList.h"
3#include <iostream>
4#include <iomanip>
5using namespace std;
6
7BmnFDGeoPar::BmnFDGeoPar(const char* name,const char* title,const char* context)
8 : FairParGenericSet(name,title,context)
9{
10 fGeoSensNodes = new TObjArray();
11 fGeoPassNodes = new TObjArray();
12}
13
16
17// probably the next funtions can be deleted
18
22}
23
24void BmnFDGeoPar::putParams(FairParamList* l) {
25 if (!l) return;
26 l->addObject("FairGeoNodes Sensitive List", fGeoSensNodes);
27 l->addObject("FairGeoNodes Passive List", fGeoPassNodes);
28}
29
30Bool_t BmnFDGeoPar::getParams(FairParamList* l) {
31 if (!l) return kFALSE;
32 if (!l->fillObject("FairGeoNodes Sensitive List", fGeoSensNodes)) return kFALSE;
33 if (!l->fillObject("FairGeoNodes Passive List", fGeoPassNodes)) return kFALSE;
34
35 return kTRUE;
36}
TObjArray * fGeoSensNodes
Definition BmnFDGeoPar.h:10
void clear(void)
TObjArray * fGeoPassNodes
Definition BmnFDGeoPar.h:11
~BmnFDGeoPar(void)
BmnFDGeoPar(const char *name="BmnFDGeoPar", const char *title="FD Geometry Parameters", const char *context="FDDefaultContext")
Bool_t getParams(FairParamList *)
void putParams(FairParamList *)
STL namespace.