PandaRoot
PndEmcGeoPar.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PNDEMCGEOPAR_H
14 #define PNDEMCGEOPAR_H
15 
16 #include "FairParGenericSet.h"
17 #include "TH1F.h"
18 #include "TObjArray.h"
19 
20 class PndEmcGeoPar : public FairParGenericSet {
21  public:
22  PndEmcGeoPar(const char *name = "PndEmcGeoPar", const char *title = "Emc Geometry Version Flag", const char *context = "TestDefaultContext");
23  ~PndEmcGeoPar(void);
24  void clear(void);
25 
26  void putParams(FairParamList *);
27  Bool_t getParams(FairParamList *);
28 
29  Int_t GetMapperVersion() { return fMapperVersion; }
30  void SetMapperVersion(Int_t mapperVersion)
31  { // AB
32  fMapperVersion = mapperVersion;
33  }
34 
35  Int_t GetGeometryVersion() { return fGeometryVersion; }
36  void SetGeometryVersion(Int_t geometryVersion) { fGeometryVersion = geometryVersion; }
37 
38  void InitEmcMapper();
39 
40  private:
41  Int_t fMapperVersion;
42  Int_t fGeometryVersion;
43 
44  ClassDef(PndEmcGeoPar, 2)
45 };
46 
47 #endif /* !PNDEMCGEOPAR_H */
void SetGeometryVersion(Int_t geometryVersion)
Definition: PndEmcGeoPar.h:36
void SetMapperVersion(Int_t mapperVersion)
Definition: PndEmcGeoPar.h:30
Int_t GetMapperVersion()
Definition: PndEmcGeoPar.h:29
void InitEmcMapper()
void putParams(FairParamList *)
~PndEmcGeoPar(void)
void clear(void)
Bool_t getParams(FairParamList *)
Int_t GetGeometryVersion()
Definition: PndEmcGeoPar.h:35
PndEmcGeoPar(const char *name="PndEmcGeoPar", const char *title="Emc Geometry Version Flag", const char *context="TestDefaultContext")