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