TSIOValidationObj.h
Go to the documentation of this file.
1 #ifndef TSIOValidationObj_H
2 #define TSIOValidationObj_H
3 
4 #include "TValidationObj.h"
5 
6 
8 
9 protected:
10  Int_t VEventId;
11  Double_t VTheta;
12  Double_t VPhi;
13  Double_t VS1000;
14 
15 public:
17  TSIOValidationObj(const Int_t nev, const Double_t th, const Double_t ph, const Double_t s1000)
18  : TValidationObj() { SetRecord(nev, th, ph, s1000); }
19 
20  void SetRecord(const Int_t nev, const Double_t th, const Double_t ph, const Double_t s1000);
21 
22  virtual bool Validate(const TValidationObj* const vo);
23  virtual void Dump();
24 
25  Int_t GetEventId() const { return VEventId; }
26  Double_t GetTheta() const { return VTheta; }
27  Double_t GetPhi() const { return VPhi; }
28  Double_t GetShowerSize() const { return VS1000; }
29 
30  void SetEventId(const Int_t id) { VEventId = id; }
31  void SetTheta(const Double_t th) { VTheta = th; }
32  void SetPhi(const Double_t ph) { VPhi = ph; }
33  void SetShowerSize(const Double_t s) { VS1000 = s; }
34 
36 
37 };
38 
39 
40 #endif
virtual bool Validate(const TValidationObj *const vo)
void SetPhi(const Double_t ph)
TSIOValidationObj(const Int_t nev, const Double_t th, const Double_t ph, const Double_t s1000)
void SetShowerSize(const Double_t s)
Int_t GetEventId() const
Double_t GetPhi() const
Double_t GetShowerSize() const
constexpr double s
Definition: AugerUnits.h:163
void SetRecord(const Int_t nev, const Double_t th, const Double_t ph, const Double_t s1000)
void SetEventId(const Int_t id)
void SetTheta(const Double_t th)
Double_t GetTheta() const
ClassDef(TSIOValidationObj, 2)
virtual void Dump()

, generated on Tue Sep 26 2023.