PandaRoot
PndGeoDskFLG.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndGeoDskFLG header file -----
3 // ----- Created 29/04/10 by Y. Liang -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef PNDGEODSKFLG_H
7 #define PNDGEODSKFLG_H
8 
9 #include "FairGeoSet.h"
10 #include "TVector3.h"
11 
12 class PndGeoDskFLG : public FairGeoSet {
13 
14  private:
15  double fRadius;
16  Double_t fPosition_plate; // position of plate, fix me. need to retrieve from geo in future
17  Double_t fThickness_plate; // mm, fix me. need to retrieve from geo in future
18  Int_t fNumber_focusing_part; // 128 focusing parts, fix me.
19  Double_t fReflectThreshold;
20 
21  Double_t a0; // curve function
22  Double_t a1;
23  Double_t a2;
24  Double_t a3;
25  Double_t a4;
26  Double_t a5;
27 
28  int fVerbose;
29 
30  protected:
31  public:
32  PndGeoDskFLG();
34 
35  void Propagate(TVector3 pos, TVector3 dir, Int_t &i_FLG, Int_t &i_Pixel);
36  void LineCylinderInteraction(TVector3 pos, TVector3 dir, TVector3 &pos_interaction);
37  Bool_t CurveFunction(TVector3 Point);
38  Double_t SlopeCurveFunction(TVector3 Point);
39  Bool_t LineFunction(TVector3 Point);
40 
41  Double_t radius() { return fRadius; }
42  Double_t thickness() { return fThickness_plate; }
43  Double_t postion_plate() { return fPosition_plate; }
44  Double_t reflect_threshold() { return fReflectThreshold; }
45 
46  ClassDef(PndGeoDskFLG, 0) // Class for Dsk
47 };
48 
49 #endif
Double_t thickness()
Definition: PndGeoDskFLG.h:42
Double_t reflect_threshold()
Definition: PndGeoDskFLG.h:44
void LineCylinderInteraction(TVector3 pos, TVector3 dir, TVector3 &pos_interaction)
Double_t SlopeCurveFunction(TVector3 Point)
Double_t radius()
Definition: PndGeoDskFLG.h:41
Double_t postion_plate()
Definition: PndGeoDskFLG.h:43
Bool_t LineFunction(TVector3 Point)
Bool_t CurveFunction(TVector3 Point)
void Propagate(TVector3 pos, TVector3 dir, Int_t &i_FLG, Int_t &i_Pixel)