FairRoot/PandaRoot
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 
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 
18 {
19 }
20 
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 
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 
42 {
44 }
void InitEmcMapper()
void putParams(FairParamList *)
~PndEmcGeoPar(void)
void clear(void)
Int_t fMapperVersion
Definition: PndEmcGeoPar.h:33
Bool_t getParams(FairParamList *)
static void Init(Int_t MapVersion)
TString name
Int_t fGeometryVersion
Definition: PndEmcGeoPar.h:34
ClassImp(PndAnaContFact)