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