FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
detectors
emc
EmcMC
PndEmcGeoPar.cxx
Go to the documentation of this file.
1
//*-- AUTHOR :
2
//*-- Created : 20/05/2009
3
4
#include "
PndEmcMapper.h
"
5
#include "
PndEmcGeoPar.h
"
6
#include "FairParamList.h"
7
#include <iostream>
8
#include <iomanip>
9
10
ClassImp
(
PndEmcGeoPar
)
11
12
PndEmcGeoPar
::
PndEmcGeoPar
(const
char
*
name
,const
char
* title,const
char
* context)
13
: FairParGenericSet(name,title,context), fMapperVersion(0), fGeometryVersion(0)
14
{
15
}
16
17
PndEmcGeoPar::~PndEmcGeoPar
(
void
)
18
{
19
}
20
21
void
PndEmcGeoPar::clear
(
void
)
22
{
23
}
24
25
void
PndEmcGeoPar::putParams
(FairParamList* l)
26
{
27
if
(!l)
return
;
28
l->add(
"PndEmcMapperVersion"
,
fMapperVersion
);
29
l->add(
"PndEmcGeometryVersion"
,
fGeometryVersion
);
30
}
31
32
Bool_t
PndEmcGeoPar::getParams
(FairParamList* l)
33
{
34
if
(!l)
return
kFALSE;
35
if
(!l->fill(
"PndEmcMapperVersion"
, &
fMapperVersion
))
return
kFALSE;
//AB
36
if
(!l->fill(
"PndEmcGeometryVersion"
, &
fGeometryVersion
))
return
kFALSE;
37
38
return
kTRUE;
39
}
40
41
void
PndEmcGeoPar::InitEmcMapper
()
42
{
43
PndEmcMapper::Init
(
fMapperVersion
);
44
}
PndEmcMapper.h
PndEmcGeoPar
Definition:
PndEmcGeoPar.h:8
PndEmcGeoPar::InitEmcMapper
void InitEmcMapper()
Definition:
PndEmcGeoPar.cxx:41
PndEmcGeoPar::putParams
void putParams(FairParamList *)
Definition:
PndEmcGeoPar.cxx:25
PndEmcGeoPar::~PndEmcGeoPar
~PndEmcGeoPar(void)
Definition:
PndEmcGeoPar.cxx:17
PndEmcGeoPar::clear
void clear(void)
Definition:
PndEmcGeoPar.cxx:21
PndEmcGeoPar.h
PndEmcGeoPar::fMapperVersion
Int_t fMapperVersion
Definition:
PndEmcGeoPar.h:33
PndEmcGeoPar::getParams
Bool_t getParams(FairParamList *)
Definition:
PndEmcGeoPar.cxx:32
PndEmcMapper::Init
static void Init(Int_t MapVersion)
Definition:
PndEmcMapper.cxx:25
name
TString name
Definition:
createRootGeoFile.C:82
PndEmcGeoPar::fGeometryVersion
Int_t fGeometryVersion
Definition:
PndEmcGeoPar.h:34
ClassImp
ClassImp(PndAnaContFact)
Bool_t
Bool_t
Definition:
SimCompleteLinkDef.h:6
Generated on Wed Apr 3 2019 08:43:54 for FairRoot/PandaRoot by
1.8.5