1 | // $Id: RecoTrackDirection2.hh 2704 2006-06-01 09:43:09Z pesce $ |
---|
2 | // Author: R.Pesce 2005/01/04 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: RecoTrackDirection2 * |
---|
8 | * Package: <packagename> * |
---|
9 | * Coordinator: <coordinator> * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #ifndef __RECOTRACKDIRECTION2_HH__ |
---|
14 | #define __RECOTRACKDIRECTION2_HH__ |
---|
15 | |
---|
16 | #include "TObject.h" |
---|
17 | |
---|
18 | //////////////////////////////////////////////////////////////////////////////// |
---|
19 | // // |
---|
20 | // RecoTrackDirection2 // |
---|
21 | // // |
---|
22 | // <brief class description> // |
---|
23 | // // |
---|
24 | //////////////////////////////////////////////////////////////////////////////// |
---|
25 | |
---|
26 | class RecoTrackDirection2 : public TObject { |
---|
27 | public: |
---|
28 | RecoTrackDirection2(); |
---|
29 | //ctor |
---|
30 | |
---|
31 | RecoTrackDirection2( const RecoTrackDirection2& ); |
---|
32 | //copy ctor |
---|
33 | |
---|
34 | virtual ~RecoTrackDirection2(); |
---|
35 | //dtor |
---|
36 | |
---|
37 | virtual void Copy( TObject& ) const; |
---|
38 | //copy to a new obj |
---|
39 | |
---|
40 | void Clear(); |
---|
41 | //clear method |
---|
42 | |
---|
43 | //setters |
---|
44 | inline void SetAA1(Double_t t1,Double_t t2,Double_t t3){ fThetaAA1 = t1; fPhiAA1 = t2; fErrorDirectionAA1 = t3; } |
---|
45 | inline void SetAA2(Double_t t1,Double_t t2,Double_t t3){ fThetaAA2 = t1; fPhiAA2 = t2; fErrorDirectionAA2 = t3; } |
---|
46 | inline void SetNE1(Double_t t1,Double_t t2,Double_t t3){ fThetaNE1 = t1; fPhiNE1 = t2; fErrorDirectionNE1 = t3; } |
---|
47 | inline void SetNE2(Double_t t1,Double_t t2,Double_t t3){ fThetaNE2 = t1; fPhiNE2 = t2; fErrorDirectionNE2 = t3; } |
---|
48 | inline void SetAE1(Double_t t1,Double_t t2,Double_t t3){ fThetaAE1 = t1; fPhiAE1 = t2; fErrorDirectionAE1 = t3; } |
---|
49 | |
---|
50 | inline void SetQuality(Double_t t) {fQuality = t;} |
---|
51 | inline void SetTheta(Double_t t) {fTheta = t;} |
---|
52 | inline void SetErrorTheta(Double_t t) {fErrorTheta = t;} |
---|
53 | inline void SetPhi(Double_t t) {fPhi = t;} |
---|
54 | inline void SetErrorPhi(Double_t t) {fErrorPhi = t;} |
---|
55 | inline void SetErrorDirection(Double_t t) {fErrorDirection = t;} |
---|
56 | inline void SetErrorTDP(Double_t t) {fErrorTDP = t;} |
---|
57 | |
---|
58 | //getters |
---|
59 | inline Double_t GetQuality() const {return fQuality;} |
---|
60 | inline Double_t GetTheta() const {return fTheta;} |
---|
61 | inline Double_t GetPhi() const {return fPhi;} |
---|
62 | inline Double_t GetErrorTheta() const {return fErrorTheta;} |
---|
63 | inline Double_t GetErrorPhi() const {return fErrorPhi;} |
---|
64 | inline Double_t GetErrorDirection() const {return fErrorDirection;} |
---|
65 | inline Double_t GetErrorTDP() const {return fErrorTDP;} |
---|
66 | inline Double_t GetThetaAA1() const {return fThetaAA1;} |
---|
67 | inline Double_t GetPhiAA1() const {return fPhiAA1;} |
---|
68 | inline Double_t GetErrorDirectionAA1() const {return fErrorDirectionAA1;} |
---|
69 | |
---|
70 | |
---|
71 | private: |
---|
72 | Double_t fQuality; // reconstruction quality variable defined by the the module responsible |
---|
73 | Double_t fTheta; // reconstructed Theta |
---|
74 | Double_t fPhi; // reconstructed Phi |
---|
75 | Double_t fErrorTheta; // reconstruction error on Theta |
---|
76 | Double_t fErrorPhi; // reconstruction error on Phi |
---|
77 | Double_t fErrorDirection; // reconstruction error on the track direction |
---|
78 | Double_t fErrorTDP; // reconstruction error on vector perpendicular to TDP |
---|
79 | Double_t fThetaAA1, fThetaAA2, fThetaNE1, fThetaNE2, fThetaAE1; |
---|
80 | Double_t fPhiAA1, fPhiAA2, fPhiNE1, fPhiNE2, fPhiAE1; |
---|
81 | Double_t fErrorDirectionAA1, fErrorDirectionAA2, fErrorDirectionNE1, fErrorDirectionNE2, fErrorDirectionAE1; |
---|
82 | ClassDef(RecoTrackDirection2,1) |
---|
83 | }; |
---|
84 | |
---|
85 | #endif /* __RECOTRACKDIRECTION2_HH__ */ |
---|
86 | |
---|