FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
rich
PndRichGeoPar.cxx
Go to the documentation of this file.
1
#include "
PndRichGeoPar.h
"
2
3
#include "FairParamList.h"
4
5
#include "TObjArray.h"
6
7
#include <iostream>
8
9
ClassImp
(
PndRichGeoPar
)
10
11
PndRichGeoPar
::
PndRichGeoPar
(const
char
*
name
,
12
const
char
* title,
13
const
char
* context)
14
: FairParGenericSet(name,title,context),
15
fGeoSensNodes(new TObjArray()),
16
fGeoPassNodes(new TObjArray())
17
{
18
}
19
20
PndRichGeoPar::~PndRichGeoPar
(
void
)
21
{
22
}
23
24
void
PndRichGeoPar::clear
(
void
)
25
{
26
if
(
fGeoSensNodes
) {
delete
fGeoSensNodes
; }
27
if
(
fGeoPassNodes
) {
delete
fGeoPassNodes
; }
28
}
29
30
void
PndRichGeoPar::putParams
(FairParamList* l)
31
{
32
if
(!l) {
return
; }
33
l->addObject(
"FairGeoNodes Sensitive List"
,
fGeoSensNodes
);
34
l->addObject(
"FairGeoNodes Passive List"
,
fGeoPassNodes
);
35
}
36
37
Bool_t
PndRichGeoPar::getParams
(FairParamList* l)
38
{
39
if
(!l) {
return
kFALSE; }
40
if
(!l->fillObject(
"FairGeoNodes Sensitive List"
,
fGeoSensNodes
)) {
return
kFALSE; }
41
if
(!l->fillObject(
"FairGeoNodes Passive List"
,
fGeoPassNodes
)) {
return
kFALSE; }
42
return
kTRUE;
43
}
PndRichGeoPar.h
PndRichGeoPar::getParams
Bool_t getParams(FairParamList *)
Definition:
PndRichGeoPar.cxx:37
PndRichGeoPar::fGeoPassNodes
TObjArray * fGeoPassNodes
Definition:
PndRichGeoPar.h:17
PndRichGeoPar::putParams
void putParams(FairParamList *)
Definition:
PndRichGeoPar.cxx:30
PndRichGeoPar::~PndRichGeoPar
~PndRichGeoPar(void)
Definition:
PndRichGeoPar.cxx:20
PndRichGeoPar::clear
void clear(void)
Definition:
PndRichGeoPar.cxx:24
name
TString name
Definition:
createRootGeoFile.C:82
PndRichGeoPar::fGeoSensNodes
TObjArray * fGeoSensNodes
Definition:
PndRichGeoPar.h:14
ClassImp
ClassImp(PndAnaContFact)
Bool_t
Bool_t
Definition:
SimCompleteLinkDef.h:6
PndRichGeoPar
Definition:
PndRichGeoPar.h:9
Generated on Wed Apr 3 2019 08:44:00 for FairRoot/PandaRoot by
1.8.5