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