BmnRoot
Loading...
Searching...
No Matches
BmnBCGeoPar.cxx
Go to the documentation of this file.
1
#include "
BmnBCGeoPar.h
"
2
#include "FairParamList.h"
3
#include <iostream>
4
#include <iomanip>
5
using namespace
std
;
6
7
BmnBCGeoPar::BmnBCGeoPar
(
const
char
* name,
const
char
* title,
const
char
* context)
8
: FairParGenericSet(name,title,context) {
9
10
fGeoSensNodes
=
new
TObjArray();
11
fGeoPassNodes
=
new
TObjArray();
12
13
}
14
15
BmnBCGeoPar::~BmnBCGeoPar
(
void
) {
16
}
17
18
// probably the next funtions can be deleted
19
20
void
BmnBCGeoPar::clear
(
void
) {
21
if
(
fGeoSensNodes
)
delete
fGeoSensNodes
;
22
if
(
fGeoPassNodes
)
delete
fGeoPassNodes
;
23
}
24
25
void
BmnBCGeoPar::putParams
(FairParamList* l) {
26
if
(!l)
return
;
27
l->addObject(
"FairGeoNodes Sensitive List"
,
fGeoSensNodes
);
28
l->addObject(
"FairGeoNodes Passive List"
,
fGeoPassNodes
);
29
}
30
31
Bool_t
BmnBCGeoPar::getParams
(FairParamList* l) {
32
if
(!l)
return
kFALSE;
33
if
(!l->fillObject(
"FairGeoNodes Sensitive List"
,
fGeoSensNodes
))
return
kFALSE;
34
if
(!l->fillObject(
"FairGeoNodes Passive List"
,
fGeoPassNodes
))
return
kFALSE;
35
36
return
kTRUE;
37
}
BmnBCGeoPar::putParams
void putParams(FairParamList *)
Definition
BmnBCGeoPar.cxx:25
BmnBCGeoPar::BmnBCGeoPar
BmnBCGeoPar(const char *name="BmnBCGeoPar", const char *title="BC Geometry Parameters", const char *context="BCDefaultContext")
Definition
BmnBCGeoPar.cxx:7
BmnBCGeoPar::getParams
Bool_t getParams(FairParamList *)
Definition
BmnBCGeoPar.cxx:31
BmnBCGeoPar::clear
void clear(void)
Definition
BmnBCGeoPar.cxx:20
BmnBCGeoPar::fGeoSensNodes
TObjArray * fGeoSensNodes
Definition
BmnBCGeoPar.h:9
BmnBCGeoPar::~BmnBCGeoPar
~BmnBCGeoPar(void)
Definition
BmnBCGeoPar.cxx:15
BmnBCGeoPar::fGeoPassNodes
TObjArray * fGeoPassNodes
Definition
BmnBCGeoPar.h:10
BmnBCGeoPar.h
std
STL namespace.
detectors
bc
BmnBCGeoPar.cxx
Generated on Fri May 15 2026 10:40:51 for BmnRoot by
1.9.8