PandaRoot
PndFtsTube.h
Go to the documentation of this file.
1 #ifndef PNDFTSTUBE_H
2 #define PNDFTSTUBE_H 1
3 
4 #include "TVector3.h"
5 #include "TMatrixT.h"
6 #include "TObject.h"
7 
8 class PndFtsTube : public TObject {
9 
10  public:
12  PndFtsTube();
13  PndFtsTube(PndFtsTube &tube);
14 
15  ~PndFtsTube();
16  PndFtsTube(Double_t x, Double_t y, Double_t z, Double_t r11, Double_t r12, Double_t r13, Double_t r21, Double_t r22, Double_t r23, Double_t r31, Double_t r32, Double_t r33,
17  Double_t radin, Double_t radout, Double_t hl);
18 
19  TVector3 GetPosition() const;
20  TMatrixT<Double_t> GetRotationMatrix() const;
21  Double_t GetRadIn() const;
22  Double_t GetRadOut() const;
23  Double_t GetHalfLength() const;
24  TVector3 GetWireDirection() const;
25 
26  bool IsSkew() const { return (0. != GetWireDirection().X()); }
27 
28  private:
29  TVector3 fCenPosition;
30  TMatrixT<double> fRotationMatrix;
31  Double_t fRadIn, fRadOut, fHalfLength;
32 
33  ClassDef(PndFtsTube, 1);
34 };
35 
36 #endif
Double_t GetRadOut() const
Double_t GetRadIn() const
TVector3 GetPosition() const
TMatrixT< Double_t > GetRotationMatrix() const
Double_t GetHalfLength() const
bool IsSkew() const
Definition: PndFtsTube.h:26
TVector3 GetWireDirection() const