source: JEM-EUSO/esaf_lal/tags/v1_r0/esaf/packages/reconstruction/root/include/RecoEnergy.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: 5.5 KB
Line 
1// $Id: RecoEnergy.hh 2714 2006-06-06 13:21:07Z naumov $
2// Author: R.Pesce   2005/01/04
3
4/*****************************************************************************
5 * ESAF: Euso Simulation and Analysis Framework                              *
6 *                                                                           *
7 *  Id: RecoEnergy                                                           *
8 *  Package: RecoRootEvent                                                   *
9 *  Coordinator: Dmitry.Naumov                                               *
10 *                                                                           *
11 *****************************************************************************/
12
13#ifndef __RECOENERGY_HH__
14#define __RECOENERGY_HH__
15
16#include <TObject.h>
17
18////////////////////////////////////////////////////////////////////////////////
19//                                                                            //
20// RecoEnergy                                                                 //
21//                                                                            // 
22// <brief class description>                                                  // 
23//                                                                            // 
24////////////////////////////////////////////////////////////////////////////////
25
26class RecoEnergy : public TObject {
27public:
28    RecoEnergy();
29    //ctor
30
31    RecoEnergy( const RecoEnergy& );
32    //copy ctor
33   
34    virtual ~RecoEnergy();
35    //dtor
36
37    virtual void Copy( TObject& ) const;
38    //copy to a new object
39
40    void Clear();
41    //clear method
42
43    //setters
44    void SetQuality(Double_t t)                         { fQuality = t;         }
45    void SetEnergy(Double_t t)                          { fEnergy = t;          }
46    void SetEnergyMCError(Double_t t)                   { fEnergyMCError = t;   }
47    void SetThetaFoV(Double_t t)                        { fThetaFoVMax = t;     }
48    void SetPhiFoV(Double_t t)                          { fPhiFoVMax = t;       }
49    void SetAltitude(Double_t t)                        { fAltitudeMax = t;     }
50    void SetDepthMax(Double_t t)                        { fDepthMax = t;        }
51    void SetAirDensityMax(Double_t t)                   { fAirDensityMax = t;   }
52    void SetShapeMethod(Bool_t t)                       { fShapeMethod = t;     }
53    void SetFluorescence(Double_t tfl,Double_t ts)      { fTimeFluo = tfl; fTimeSigma = ts;        }
54    void SetCherenkov(Bool_t k, Double_t t)             { fCherenkovFound = k; fTimeCherenkov = t; }
55    void SetNoiseCluster(Double_t k)                    { fNoiseCluster = k;    }
56    void SetSignalCluster(Double_t k)                   { fSignalCluster = k;   }
57    void SetNoisePixel(Double_t k)                      { fNoisePerPixel = k;   }
58    void SetSignalPixel(Double_t k)                     { fSignalPerPixel = k;  }
59
60    void SetTimeDelay();
61
62    //getters
63    Double_t GetQuality()            const { return fQuality;       }
64    Double_t GetEnergy()             const { return fEnergy;        }
65    Double_t GetEnergyMCError()      const { return fEnergyMCError; }
66    Double_t GetTimeSigma()          const { return fTimeSigma;     }
67    Double_t GetAltitude()           const { return fAltitudeMax;   }
68    Double_t GetDepthMax()           const { return fDepthMax;      }
69    Double_t GetAirDensityMax()      const { return fAirDensityMax; }
70    Bool_t   IsCherenkovFound()      const { return fCherenkovFound;}
71    Bool_t   IsShapeMethod()         const { return fShapeMethod;   }
72    Double_t GetTimeDelay()          const { return fTimeDelay;     }
73    Double_t GetNoiseCluster()       const { return fNoiseCluster;  }
74    Double_t GetSignalCluster()      const { return fSignalCluster; }
75    Double_t GetNoisePerPixel()      const { return fNoisePerPixel; }
76    Double_t GetSignalPerPixel()     const { return fSignalPerPixel;}
77   
78private:
79    Double_t    fQuality;               // reconstruction quality variable defined by the the module responsible
80    Double_t    fEnergy;                // reconstructed energy
81    Double_t    fTimeSigma;             // gaussian width of the fluorescence time distribution
82    Double_t    fTimeFluo;              // time of the maximum of fluorescence time distribution
83    Double_t    fEnergyMCError;         // Absolute rrror in energy
84    Double_t    fThetaFoVMax;           // Theta FoV for shower maximum
85    Double_t    fPhiFoVMax;             // Phi FoV for shower maximum
86    Double_t    fAltitudeMax;           // Altitude of shower maximum
87    Double_t    fDepthMax;              // atmosphere depth at the shower maximum
88    Double_t    fAirDensityMax;         // atmosphere density at the shower maximum
89    Bool_t      fCherenkovFound;        // 1- found, 0 - not found cherenkov peak
90    Bool_t      fShapeMethod;           // 1 - shape method activated, 0 - otherwise (when shape method gives negative altitude)
91    Double_t    fTimeCherenkov;         // time of the Cherenkov
92    Double_t    fTimeDelay;             // difference between time of cherenkov and time of fluo maximum. Valid if cherenkov is found.
93    Double_t    fNoiseCluster;          // estimated number of noise p.e. in the cluster
94    Double_t    fSignalCluster;         // estimated number of signal p.e. in the cluster
95    Double_t    fNoisePerPixel;         // estimated number of noise p.e. per pixel
96    Double_t    fSignalPerPixel;        // estimated _maximum_ number of signal p.e. per pixel
97    ClassDef(RecoEnergy,1)
98};
99
100#endif  /* __RECOENERGY_HH__ */
101
Note: See TracBrowser for help on using the repository browser.