BmnRoot
Loading...
Searching...
No Matches
CbmGeoSttPar.cxx
Go to the documentation of this file.
1#include "CbmGeoSttPar.h"
2
3#include "FairParamList.h"
4
5#include "TObjArray.h"
6
7//#include <iostream>
8//#include <iomanip>
9
10CbmGeoSttPar::CbmGeoSttPar(const char* name,const char* title,const char* context)
11: FairParGenericSet(name,title,context),
12 fGeoSensNodes(new TObjArray()),
13 fGeoPassNodes(new TObjArray())
14{
15}
16
19
23}
24
25void CbmGeoSttPar::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 CbmGeoSttPar::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}
TObjArray * fGeoPassNodes
void clear(void)
CbmGeoSttPar(const char *name="CbmGeoSttPar", const char *title="Stt Geometry Parameters", const char *context="TestDefaultContext")
void putParams(FairParamList *)
Bool_t getParams(FairParamList *)
TObjArray * fGeoSensNodes