source: JEM-EUSO/esaf_lal/tags/v1_r0/esaf/packages/reconstruction/root/include/RecoTrackDirection.hh @ 117

Last change on this file since 117 was 117, checked in by moretto, 11 years ago

ESAF version compilable on mac OS

File size: 3.2 KB
Line 
1// $Id: RecoTrackDirection.hh 1356 2005-01-05 13:08:21Z pesce $
2// Author: Roberto Pesce  2005/01/04
3
4/*****************************************************************************
5 * ESAF: Euso Simulation and Analysis Framework                              *
6 *                                                                           *
7 *  Id: RecoTrackDirection                                                   *
8 *  Package: <packagename>                                                   *
9 *  Coordinator: <coordinator>                                               *
10 *                                                                           *
11 *****************************************************************************/
12
13#ifndef __RECOTRACKDIRECTION_HH__
14#define __RECOTRACKDIRECTION_HH__
15
16#include "TObject.h"
17#include "TMultiGraph.h"
18
19
20////////////////////////////////////////////////////////////////////////////////
21//                                                                            //
22// RecoTrackDirection                                                         //
23//                                                                            // 
24// <brief class description>                                                  // 
25//                                                                            // 
26////////////////////////////////////////////////////////////////////////////////
27
28class RecoTrackDirection : public TObject{
29public:
30    RecoTrackDirection();
31    //ctor
32   
33    RecoTrackDirection(const RecoTrackDirection&);
34    //copy ctor
35
36    virtual ~RecoTrackDirection();
37    //dtor
38   
39    virtual void Copy( TObject& ) const;
40    // copy to new object
41   
42    void Clear();
43    // clear method
44   
45    // setters
46    inline void SetQuality(Double_t t)        {fQuality = t;}
47    inline void SetTheta(Double_t t)          {fTheta = t;}
48    inline void SetErrorTheta(Double_t t)     {fErrorTheta = t;}
49    inline void SetPhi(Double_t t)            {fPhi = t;}
50    inline void SetErrorPhi(Double_t t)       {fErrorPhi = t;}
51    inline void SetErrorDirection(Double_t t) {fErrorDirection = t;}
52    void SetCheckInfo(TMultiGraph *t);
53   
54    // getters
55    inline TMultiGraph* GetCheckInfo()      const {return fGraph;}
56    inline Double_t     GetQuality()        const {return fQuality;}
57    inline Double_t     GetTheta()          const {return fTheta;}
58    inline Double_t     GetPhi()            const {return fPhi;}
59    inline Double_t     GetErrorTheta()     const {return fErrorTheta;}
60    inline Double_t     GetErrorPhi()       const {return fErrorPhi;}
61    inline Double_t     GetErrorDirection() const {return fErrorDirection;}
62
63private:
64    Double_t fQuality;               // reconstruction quality variable defined by the the module responsible
65    Double_t fTheta;                 // reconstructed Theta
66    Double_t fPhi;                   // reconstructed Phi
67    Double_t fErrorTheta;            // reconstruction error on Theta
68    Double_t fErrorPhi;              // reconstruction error on Phi
69    Double_t fErrorDirection;        // reconstruction error on the track direction
70    TMultiGraph *fGraph;             //|| do not expand the object in the root tree
71
72    ClassDef(RecoTrackDirection,1)
73};
74
75#endif  /* __RECOTRACKDIRECTION_HH__ */
76
Note: See TracBrowser for help on using the repository browser.