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