1 | // $Id: RecoPmtToShower.hh |
---|
2 | // Author:Fenu 2011/02/28 |
---|
3 | |
---|
4 | /***************************************************************************** |
---|
5 | * ESAF: Euso Simulation and Analysis Framework * |
---|
6 | * * |
---|
7 | * Id: RecoPmtToShower * |
---|
8 | * Package: RecoRootEvent * |
---|
9 | * Coordinator: fenu * |
---|
10 | * * |
---|
11 | *****************************************************************************/ |
---|
12 | |
---|
13 | #ifndef __RECOPMTTOSHOWER_HH__ |
---|
14 | #define __RECOPMTTOSHOWER_HH__ |
---|
15 | |
---|
16 | #include <TObject.h> |
---|
17 | #include "EDetCurve.hh" |
---|
18 | //////////////////////////////////////////////////////////////////////////////// |
---|
19 | // // |
---|
20 | // RecoPmtToShower // |
---|
21 | // // |
---|
22 | // <brief class description> // |
---|
23 | // // |
---|
24 | //////////////////////////////////////////////////////////////////////////////// |
---|
25 | class RecoPmtToShower : public TObject { |
---|
26 | public: |
---|
27 | RecoPmtToShower(); |
---|
28 | //ctor |
---|
29 | |
---|
30 | RecoPmtToShower( const RecoPmtToShower& ); |
---|
31 | //copy ctor |
---|
32 | |
---|
33 | virtual ~RecoPmtToShower(); |
---|
34 | //dtor |
---|
35 | |
---|
36 | virtual void Copy( TObject& ) const; |
---|
37 | //copy to a new object |
---|
38 | |
---|
39 | void Clear(); |
---|
40 | //clear method |
---|
41 | |
---|
42 | //setters |
---|
43 | |
---|
44 | void SetEnergy(Double_t t) { fEnergy = t; } |
---|
45 | Double_t GetEnergy() const { return fEnergy; } |
---|
46 | |
---|
47 | void SetEnergyError(Double_t t) { fEnergyError = t; } |
---|
48 | Double_t GetEnergyError() const { return fEnergyError; } |
---|
49 | |
---|
50 | void SetXmax(Double_t t) { fXmax = t; } |
---|
51 | Double_t GetXmax() const { return fXmax; } |
---|
52 | |
---|
53 | void SetXmaxFit(Double_t t) { fXmaxFit = t; } |
---|
54 | Double_t GetXmaxFit() const { return fXmaxFit; } |
---|
55 | |
---|
56 | void SetCoreX(Double_t t) { fRecoCoreX = t; } |
---|
57 | Double_t GetCoreX() const { return fRecoCoreX; } |
---|
58 | |
---|
59 | void SetCoreY(Double_t t) { fRecoCoreY = t; } |
---|
60 | Double_t GetCoreY() const { return fRecoCoreY; } |
---|
61 | |
---|
62 | void SetCoreZ(Double_t t) { fRecoCoreZ = t; } |
---|
63 | Double_t GetCoreZ() const { return fRecoCoreZ; } |
---|
64 | |
---|
65 | void SetMaxX(Double_t t) { fRecoMaxX = t; } |
---|
66 | Double_t GetMaxX() const { return fRecoMaxX; } |
---|
67 | |
---|
68 | void SetMaxY(Double_t t) { fRecoMaxY = t; } |
---|
69 | Double_t GetMaxY() const { return fRecoMaxY; } |
---|
70 | |
---|
71 | void SetMaxZ(Double_t t) { fRecoMaxZ = t; } |
---|
72 | Double_t GetMaxZ() const { return fRecoMaxZ; } |
---|
73 | |
---|
74 | void SetHMax(Double_t t) { fRecoHMax = t; } |
---|
75 | Double_t GetHMax() const { return fRecoHMax; } |
---|
76 | |
---|
77 | void SetTotCts(Double_t t) { fTotCTS = t; } |
---|
78 | Double_t GetTotCts() const { return fTotCTS; } |
---|
79 | |
---|
80 | void SetChiSquare(Float_t t) { fChiSquare = t; } |
---|
81 | Double_t GetChiSquare() const { return fChiSquare; } |
---|
82 | |
---|
83 | void SetDegreesOfFreedom(Float_t t) { fDegreesOfFreedom = t; } |
---|
84 | Double_t GetDegreesOfFreedom() const { return fDegreesOfFreedom; } |
---|
85 | |
---|
86 | void SetTriggerFlag(Int_t t) { fTriggerEvent = t; } |
---|
87 | Int_t GetTriggerFlag() const { return fTriggerEvent; } |
---|
88 | |
---|
89 | void SetCherFound (Int_t t) { fCherFound = t; } |
---|
90 | Int_t GetCherFound() const { return fCherFound; } |
---|
91 | |
---|
92 | void SetGtuMax(Int_t t) { fGtuMax = t; } |
---|
93 | Int_t GetGtuMax() const { return fGtuMax; } |
---|
94 | |
---|
95 | void SetSideEvent(Int_t t) { fSideEvent = t; } |
---|
96 | Int_t GetSideEvent() const { return fSideEvent; } |
---|
97 | |
---|
98 | void SetFitStatus(Int_t t) { fFitStatus = t; } |
---|
99 | Int_t GetFitStatus() const { return fFitStatus; } |
---|
100 | |
---|
101 | void SetMaximumPeak(Int_t t) { fMaximumPeak = t; } |
---|
102 | Int_t GetMaximumPeak() const { return fMaximumPeak; } |
---|
103 | |
---|
104 | void SetCherenkovPeak(Int_t t) { fCherenkovPeak = t; } |
---|
105 | Int_t GetCherenkovPeak() const { return fCherenkovPeak; } |
---|
106 | |
---|
107 | void SetFirstDetection(Float_t t) { fX_first = t; } |
---|
108 | Float_t GetFirstDetection() const { return fX_first; } |
---|
109 | |
---|
110 | void SetDetectedAtmMass(Float_t t) { fDetAtmMass = t; } |
---|
111 | Float_t GetDetectedAtmMass() const { return fDetAtmMass; } |
---|
112 | |
---|
113 | TClonesArray* GetDetCurves() { return fDetCurve; } |
---|
114 | private: |
---|
115 | Float_t fEnergy,fXmax,fRecoCoreX,fRecoCoreY,fRecoCoreZ,fRecoMaxX,fRecoMaxY,fRecoMaxZ,fRecoHMax,fTotCTS,fEnergyError,fChiSquare,fXmaxFit,fDegreesOfFreedom,fX_first,fDetAtmMass; |
---|
116 | Int_t fTriggerEvent,fCherFound,fGtuMax,fSideEvent,fFitStatus,fMaximumPeak,fCherenkovPeak; |
---|
117 | TClonesArray *fDetCurve; // |
---|
118 | |
---|
119 | ClassDef(RecoPmtToShower,1) |
---|
120 | }; |
---|
121 | |
---|
122 | #endif /* __RECOPMTTOSHOWER_HH__ */ |
---|
123 | |
---|