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