source: JEM-EUSO/esaf_lal/tags/v1_r0/esaf/packages/reconstruction/root/include/RecoProfile.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.5 KB
Line 
1// $Id: RecoProfile.hh 2759 2006-09-07 08:10:49Z moreggia $
2// Author: Sylvain Moreggia   2005/11/16
3
4/*****************************************************************************
5 * ESAF: Euso Simulation and Analysis Framework                              *
6 *                                                                           *
7 *  Id: RecoProfile                                                           *
8 *  Package: <packagename>                                                   *
9 *  Coordinator: <coordinator>                                               *
10 *                                                                           *
11 *****************************************************************************/
12
13#ifndef __RECOPROFILE_HH__
14#define __RECOPROFILE_HH__
15
16#include <TObject.h>
17
18////////////////////////////////////////////////////////////////////////////////
19//                                                                            //
20// RecoProfile                                                                 //
21//                                                                            // 
22// <brief class description>                                                  // 
23//                                                                            // 
24////////////////////////////////////////////////////////////////////////////////
25
26class RecoProfile : public TObject {
27public:
28   
29    // ctor
30    RecoProfile();
31   
32    // cpy ctor
33    RecoProfile( const RecoProfile& );
34   
35    // dtor
36    virtual ~RecoProfile();
37
38    //copy to a new object
39    virtual void Copy( TObject& ) const;
40
41    //clear method
42    void Clear();
43
44    //setters
45    inline void SetQuality(Double_t t)      {fQuality = t;}
46    inline void SetXmax(Double_t t)         {fXmax = t;}
47    inline void SetTrueXmax(Double_t t)     {fTrueXmax = t;}
48    inline void SetZshift(Double_t t)       {fZshift = t;}
49    inline void SetThetashift(Double_t t)   {fThetashift = t;}
50    inline void SetTOAImpact(Double_t x, Double_t y, Double_t z)
51    {
52        fRecoTOAImpactX = x;
53        fRecoTOAImpactY = y;
54        fRecoTOAImpactZ = z;
55    }
56    inline void SetRecoProfIntegral(Double_t I) {fRecoProfIntegral = I;}
57    inline void SetSimuProfIntegral(Double_t I) {fSimuProfIntegral = I;}
58
59    //getters
60    inline Double_t GetQuality() const {return fQuality;}
61    inline Double_t GetXmax()    const {return fXmax;}
62    inline Double_t GetTrueXmax()    const {return fTrueXmax;}
63   
64private:
65   
66    Double_t fQuality;               // reconstruction quality variable
67    Double_t fXmax;                  // reconstructed Xmax
68    Double_t fTrueXmax;              // simulated Xmax
69    Double_t fRecoProfIntegral;           // reco integrate profile
70    Double_t fSimuProfIntegral;           // simu integrate profile
71    Double_t fZshift;                // applied in reco to assess Xmax reco sensitivity to Zmax resolution
72    Double_t fThetashift;            // applied in reco to assess Xmax reco sensitivity to Theta resolution
73   
74    Double_t fTrueEarthImpactX;      // impact of shower on earth (clouds ignored)
75    Double_t fTrueEarthImpactY;      // impact of shower on earth (clouds ignored)
76    Double_t fTrueEarthImpactZ;      // impact of shower on earth (clouds ignored)
77    Double_t fRecoTOAImpactX;        // impact of shower on top of the atmosphere
78    Double_t fRecoTOAImpactY;        // impact of shower on top of the atmosphere
79    Double_t fRecoTOAImpactZ;        // impact of shower on top of the atmosphere
80   
81
82    ClassDef(RecoProfile,1)
83};
84
85#endif  /* __RECOPROFILE_HH__ */
86
Note: See TracBrowser for help on using the repository browser.