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