BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnBCGeoPar.cxx
Go to the documentation of this file.
1#include "BmnBCGeoPar.h"
2
3#include "FairParamList.h"
4
5#include <iomanip>
6#include <iostream>
7using namespace std;
8
9BmnBCGeoPar::BmnBCGeoPar(const char* name, const char* title, const char* context)
10 : FairParGenericSet(name, title, context)
11{
12
15}
16
18
19// probably the next funtions can be deleted
20
22{
23 if (fGeoSensNodes)
24 delete fGeoSensNodes;
25 if (fGeoPassNodes)
26 delete fGeoPassNodes;
27}
28
29void BmnBCGeoPar::putParams(FairParamList* l)
30{
31 if (!l)
32 return;
33 l->addObject("FairGeoNodes Sensitive List", fGeoSensNodes);
34 l->addObject("FairGeoNodes Passive List", fGeoPassNodes);
35}
36
38{
39 if (!l)
40 return kFALSE;
41 if (!l->fillObject("FairGeoNodes Sensitive List", fGeoSensNodes))
42 return kFALSE;
43 if (!l->fillObject("FairGeoNodes Passive List", fGeoPassNodes))
44 return kFALSE;
45
46 return kTRUE;
47}
bool Bool_t
constexpr Bool_t kFALSE
constexpr Bool_t kTRUE
void putParams(FairParamList *)
BmnBCGeoPar(const char *name="BmnBCGeoPar", const char *title="BC Geometry Parameters", const char *context="BCDefaultContext")
List of FairGeoNodes for passive volumes.
Bool_t getParams(FairParamList *)
void clear(void)
TObjArray * fGeoSensNodes
Definition BmnBCGeoPar.h:10
~BmnBCGeoPar(void)
TObjArray * fGeoPassNodes
List of FairGeoNodes for sensitive volumes.
Definition BmnBCGeoPar.h:11