FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
hyp
PndGeoHypPar.cxx
Go to the documentation of this file.
1
//
3
// PndGeoHypPar
4
//
5
// Class for geometry parameters of HYP
6
//
7
// Created by A.sAnchez
8
//
10
11
#include "
PndGeoHypPar.h
"
12
#include "FairParamList.h"
13
#include <iostream>
14
#include <iomanip>
15
16
ClassImp
(
PndGeoHypPar
)
17
18
PndGeoHypPar
::
PndGeoHypPar
(const
char
*
name
,const
char
* title,const
char
* context)
19
: FairParGenericSet(name,title,context) {
20
21
fGeoSensNodes =
new
TObjArray();
22
fGeoPassNodes =
new
TObjArray();
23
24
}
25
26
PndGeoHypPar::~PndGeoHypPar
(
void
) {
27
}
28
29
// probably the next funtions can be deleted
30
31
void
PndGeoHypPar::clear
(
void
) {
32
if
(
fGeoSensNodes
)
delete
fGeoSensNodes
;
33
if
(
fGeoPassNodes
)
delete
fGeoPassNodes
;
34
}
35
36
void
PndGeoHypPar::putParams
(FairParamList* l) {
37
if
(!l)
return
;
38
// l->addObject("FairGeoNodes Sensitive List", fGeoSensNodes);
39
// l->addObject("FairGeoNodes Passive List", fGeoPassNodes);
40
}
41
42
Bool_t
PndGeoHypPar::getParams
(FairParamList* l) {
43
if
(!l)
return
kFALSE;
44
// if (!l->fillObject("FairGeoNodes Sensitive List", fGeoSensNodes)) return kFALSE;
45
// if (!l->fillObject("FairGeoNodes Passive List", fGeoPassNodes)) return kFALSE;
46
47
return
kTRUE;
48
}
ClassImp
ClassImp(PndGeoHypPar) PndGeoHypPar
Definition:
PndGeoHypPar.cxx:16
PndGeoHypPar::clear
void clear(void)
Definition:
PndGeoHypPar.cxx:31
PndGeoHypPar::fGeoPassNodes
TObjArray * fGeoPassNodes
Definition:
PndGeoHypPar.h:15
PndGeoHypPar::~PndGeoHypPar
~PndGeoHypPar(void)
Definition:
PndGeoHypPar.cxx:26
PndGeoHypPar::fGeoSensNodes
TObjArray * fGeoSensNodes
Definition:
PndGeoHypPar.h:14
name
TString name
Definition:
createRootGeoFile.C:82
PndGeoHypPar::putParams
void putParams(FairParamList *)
Definition:
PndGeoHypPar.cxx:36
PndGeoHypPar.h
PndGeoHypPar::getParams
Bool_t getParams(FairParamList *)
Definition:
PndGeoHypPar.cxx:42
PndGeoHypPar
Definition:
PndGeoHypPar.h:12
Bool_t
Bool_t
Definition:
SimCompleteLinkDef.h:6
Generated on Sun Aug 18 2019 03:01:30 for FairRoot/PandaRoot by
1.8.8