VEyeRecObj.h
Go to the documentation of this file.
1 #ifndef VEyeRecObj_H
2 #define VEyeRecObj_H
3 
4 #include <TH1D.h>
5 
6 
8 
9 
10 class VEyeRecObj : public TObject {
11 
12 protected:
13  Int_t VEye_Id;
14  Double_t VThetaSDP;
15  Double_t VPhiSDP;
16  Double_t VThetaAxis;
17  Double_t VPhiAxis;
18  Double_t VXMax;
19  Double_t VEem;
20  Double_t VEtot;
21 
22 public:
23  VEyeRecObj();
24  VEyeRecObj(const Int_t neye, const Double_t thsdp, const Double_t phsdp,
25  const Double_t thaxi, const Double_t phaxi, const Double_t xmax,
26  const Double_t eem, const Double_t etot)
27  { SetRecord(neye, thsdp, phsdp, thaxi, phaxi, xmax, eem, etot); }
28 
29  void SetRecord(const Int_t neye, const Double_t thsdp, const Double_t phsdp,
30  const Double_t thaxi, const Double_t phaxi, const Double_t xmax,
31  const Double_t eem, const Double_t etot);
32 
33  Int_t GetEyeId() const { return VEye_Id; }
34  Double_t GetThetaSDP() const { return VThetaSDP; }
35  Double_t GetPhiSDP() const { return VPhiSDP; }
36  Double_t GetThetaAxis() const { return VThetaAxis; }
37  Double_t GetPhiAxis() const { return VPhiAxis; }
38  Double_t GetXMax() const { return VXMax; }
39  Double_t GetEem() const { return VEem; }
40  Double_t GetEtot() const { return VEtot; }
41 
42  void SetEyeId(const Int_t id) { VEye_Id = id; }
43  void SetThetaSDP(const Double_t th) { VThetaSDP = th; }
44  void SetPhiSDP(const Double_t ph) { VPhiSDP = ph; }
45  void SetThetaAxis(const Double_t th) { VThetaAxis = th; }
46  void SetPhiAxis(const Double_t ph) { VPhiAxis = ph; }
47  void SetXMax(const Double_t xm) { VXMax = xm; }
48  void SetEem(const Double_t en) { VEem = en; }
49  void SetEtot(const Double_t en) { VEtot = en; }
50  bool Match(const VEyeRecObj& e);
51 
52  void Dump();
53 
54  ClassDef(VEyeRecObj, 1);
55 
56  friend class TFIOValidationObj;
57 
58 };
59 
60 
61 bool operator==(const VEyeRecObj& ex, const VEyeRecObj& ey);
62 
63 
64 #endif
bool Match(const VEyeRecObj &e)
Definition: VEyeRecObj.cc:59
Double_t GetThetaSDP() const
Definition: VEyeRecObj.h:34
Double_t GetEem() const
Definition: VEyeRecObj.h:39
void SetXMax(const Double_t xm)
Definition: VEyeRecObj.h:47
Double_t GetThetaAxis() const
Definition: VEyeRecObj.h:36
Double_t GetPhiAxis() const
Definition: VEyeRecObj.h:37
Double_t VEtot
Definition: VEyeRecObj.h:20
Double_t VXMax
Definition: VEyeRecObj.h:18
Double_t VThetaAxis
Definition: VEyeRecObj.h:16
Int_t GetEyeId() const
Definition: VEyeRecObj.h:33
Double_t VPhiSDP
Definition: VEyeRecObj.h:15
void SetPhiSDP(const Double_t ph)
Definition: VEyeRecObj.h:44
Double_t GetPhiSDP() const
Definition: VEyeRecObj.h:35
void SetThetaAxis(const Double_t th)
Definition: VEyeRecObj.h:45
Double_t VPhiAxis
Definition: VEyeRecObj.h:17
Int_t VEye_Id
Definition: VEyeRecObj.h:13
bool operator==(const TimeStamp &ts, const TimeRange &tr)
Definition: TimeRange.h:97
void SetRecord(const Int_t neye, const Double_t thsdp, const Double_t phsdp, const Double_t thaxi, const Double_t phaxi, const Double_t xmax, const Double_t eem, const Double_t etot)
Definition: VEyeRecObj.cc:29
void SetThetaSDP(const Double_t th)
Definition: VEyeRecObj.h:43
Double_t VEem
Definition: VEyeRecObj.h:19
void SetPhiAxis(const Double_t ph)
Definition: VEyeRecObj.h:46
VEyeRecObj(const Int_t neye, const Double_t thsdp, const Double_t phsdp, const Double_t thaxi, const Double_t phaxi, const Double_t xmax, const Double_t eem, const Double_t etot)
Definition: VEyeRecObj.h:24
Double_t GetEtot() const
Definition: VEyeRecObj.h:40
void Dump()
Definition: VEyeRecObj.cc:45
void SetEem(const Double_t en)
Definition: VEyeRecObj.h:48
Double_t GetXMax() const
Definition: VEyeRecObj.h:38
ClassDef(VEyeRecObj, 1)
void SetEtot(const Double_t en)
Definition: VEyeRecObj.h:49
void SetEyeId(const Int_t id)
Definition: VEyeRecObj.h:42
Double_t VThetaSDP
Definition: VEyeRecObj.h:14

, generated on Tue Sep 26 2023.