FairRoot/PandaRoot
PndTutPar.h
Go to the documentation of this file.
1 //
2 // C++ Interface: PndTutPar
3 //
4 #ifndef PNDTUTPAR_H
5 #define PNDTUTPAR_H
6 
7 #include <TVector3.h>
8 #include <TObjString.h>
9 
10 #include "FairParGenericSet.h"
11 #include "FairParamList.h"
12 
13 class PndTutPar : public FairParGenericSet
14 {
15  public :
16  PndTutPar (const char* name="PndTutParTest",
17  const char* title="Tutorial parameter",
18  const char* context="TestDefaultContext");
19  ~PndTutPar(void){};
20  void clear(void){};
21  void putParams(FairParamList* list);
22  Bool_t getParams(FairParamList* list);
23 
24  void Print();
26  Double_t GetTopPitch() const {return fTopPitch;}
27  TVector3 GetTopAnchor() const {return fTopAnchor;}
28  Int_t GetNrTopFE() const {return fTopNrFE;}
29  const char* GetFeType() const {return fFeType.Data();}
30 
32  void SetTopAnchor(TVector3 x) {fTopAnchor = x;}
33  void SetNrTopFE(Int_t x) {fTopNrFE = x;}
35 
36  private:
37  // Strip Parameters
38  Double_t fTopPitch; // Strip pitch on top wafer side
39  TVector3 fTopAnchor; // Anchor point of top strip#0
40  Int_t fTopNrFE; // Number of FE attached to top wafer side
41  TString fFeType; // Frontend type name
42 
43  ClassDef(PndTutPar,1); // don't set this to 0, the container would not be stored then!
44 };
45 
46 #endif /* !PNDTUTPAR_H*/
47 
Double_t GetTopPitch() const
Definition: PndTutPar.h:26
ClassDef(PndTutPar, 1)
TString fFeType
Definition: PndTutPar.h:41
void putParams(FairParamList *list)
Definition: PndTutPar.cxx:11
TVector3 GetTopAnchor() const
Definition: PndTutPar.h:27
Bool_t getParams(FairParamList *list)
Definition: PndTutPar.cxx:23
Int_t fTopNrFE
Definition: PndTutPar.h:40
const char * GetFeType() const
Definition: PndTutPar.h:29
void clear(void)
Definition: PndTutPar.h:20
Int_t GetNrTopFE() const
Definition: PndTutPar.h:28
~PndTutPar(void)
Definition: PndTutPar.h:19
TVector3 fTopAnchor
Definition: PndTutPar.h:39
void SetTopAnchor(TVector3 x)
Definition: PndTutPar.h:32
void SetFeType(TString x)
Definition: PndTutPar.h:34
void SetTopPitch(Double_t x)
Definition: PndTutPar.h:31
Double_t
TString name
void SetNrTopFE(Int_t x)
Definition: PndTutPar.h:33
Double_t x
Double_t fTopPitch
Definition: PndTutPar.h:38
PndTutPar(const char *name="PndTutParTest", const char *title="Tutorial parameter", const char *context="TestDefaultContext")
Definition: PndTutPar.cxx:5
void Print()
Definition: PndTutPar.cxx:47