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  public:
15  PndTutPar(const char *name = "PndTutParTest", const char *title = "Tutorial parameter", const char *context = "TestDefaultContext");
16  ~PndTutPar(void){};
17  void clear(void){};
18  void putParams(FairParamList *list);
19  Bool_t getParams(FairParamList *list);
20 
21  void Print();
23  Double_t GetTopPitch() const { return fTopPitch; }
24  TVector3 GetTopAnchor() const { return fTopAnchor; }
25  Int_t GetNrTopFE() const { return fTopNrFE; }
26  const char *GetFeType() const { return fFeType.Data(); }
27 
28  void SetTopPitch(Double_t x) { fTopPitch = x; }
29  void SetTopAnchor(TVector3 x) { fTopAnchor = x; }
30  void SetNrTopFE(Int_t x) { fTopNrFE = x; }
31  void SetFeType(TString x) { fFeType = x; }
32 
33  private:
34  // Strip Parameters
35  Double_t fTopPitch; // Strip pitch on top wafer side
36  TVector3 fTopAnchor; // Anchor point of top strip#0
37  Int_t fTopNrFE; // Number of FE attached to top wafer side
38  TString fFeType; // Frontend type name
39 
40  ClassDef(PndTutPar, 1); // don't set this to 0, the container would not be stored then!
41 };
42 
43 #endif /* !PNDTUTPAR_H*/
Int_t GetNrTopFE() const
Definition: PndTutPar.h:25
TVector3 GetTopAnchor() const
Definition: PndTutPar.h:24
void putParams(FairParamList *list)
Bool_t getParams(FairParamList *list)
void clear(void)
Definition: PndTutPar.h:17
~PndTutPar(void)
Definition: PndTutPar.h:16
void SetTopAnchor(TVector3 x)
Definition: PndTutPar.h:29
void SetFeType(TString x)
Definition: PndTutPar.h:31
Double_t GetTopPitch() const
Definition: PndTutPar.h:23
void SetTopPitch(Double_t x)
Definition: PndTutPar.h:28
const char * GetFeType() const
Definition: PndTutPar.h:26
void SetNrTopFE(Int_t x)
Definition: PndTutPar.h:30
PndTutPar(const char *name="PndTutParTest", const char *title="Tutorial parameter", const char *context="TestDefaultContext")
void Print()