BmnRoot
26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Toggle main menu visibility
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>
7
using namespace
std;
8
9
BmnBCGeoPar::BmnBCGeoPar
(
const
char
* name,
const
char
* title,
const
char
* context)
10
:
FairParGenericSet
(name, title, context)
11
{
12
13
fGeoSensNodes
=
new
TObjArray
();
14
fGeoPassNodes
=
new
TObjArray
();
15
}
16
17
BmnBCGeoPar::~BmnBCGeoPar
(
void
) {}
18
19
// probably the next funtions can be deleted
20
21
void
BmnBCGeoPar::clear
(
void
)
22
{
23
if
(
fGeoSensNodes
)
24
delete
fGeoSensNodes
;
25
if
(
fGeoPassNodes
)
26
delete
fGeoPassNodes
;
27
}
28
29
void
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
37
Bool_t
BmnBCGeoPar::getParams
(FairParamList* l)
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
}
BmnBCGeoPar.h
Bool_t
bool Bool_t
kFALSE
constexpr Bool_t kFALSE
kTRUE
constexpr Bool_t kTRUE
BmnBCGeoPar::putParams
void putParams(FairParamList *)
Definition
BmnBCGeoPar.cxx:29
BmnBCGeoPar::BmnBCGeoPar
BmnBCGeoPar(const char *name="BmnBCGeoPar", const char *title="BC Geometry Parameters", const char *context="BCDefaultContext")
List of FairGeoNodes for passive volumes.
Definition
BmnBCGeoPar.cxx:9
BmnBCGeoPar::getParams
Bool_t getParams(FairParamList *)
Definition
BmnBCGeoPar.cxx:37
BmnBCGeoPar::clear
void clear(void)
Definition
BmnBCGeoPar.cxx:21
BmnBCGeoPar::fGeoSensNodes
TObjArray * fGeoSensNodes
Definition
BmnBCGeoPar.h:10
BmnBCGeoPar::~BmnBCGeoPar
~BmnBCGeoPar(void)
Definition
BmnBCGeoPar.cxx:17
BmnBCGeoPar::fGeoPassNodes
TObjArray * fGeoPassNodes
List of FairGeoNodes for sensitive volumes.
Definition
BmnBCGeoPar.h:11
FairParGenericSet
TObjArray
detectors
bc
BmnBCGeoPar.cxx
Generated on
for BmnRoot by
1.17.0