ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4VtxPoint.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4VtxPoint.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4MAIN_PHG4VTXPOINT_H
4 #define G4MAIN_PHG4VTXPOINT_H
5 
6 #include <phool/PHObject.h>
7 
8 #include <cmath>
9 #include <climits>
10 #include <iostream>
11 
12 class PHG4VtxPoint: public PHObject
13 {
14  public:
15  ~PHG4VtxPoint() override {}
16 
17  void identify(std::ostream& os = std::cout) const override;
18 
19  virtual void set_x(const double) {}
20  virtual void set_y(const double) {}
21  virtual void set_z(const double) {}
22  virtual void set_t(const double) {}
23  virtual void set_id(const int) {}
24 
25  virtual double get_x() const {return NAN;}
26  virtual double get_y() const {return NAN;}
27  virtual double get_z() const {return NAN;}
28  virtual double get_t() const {return NAN;}
29  virtual int get_id() const {return INT_MIN;}
30 
31 
33  bool operator== (const PHG4VtxPoint &) const ;
34 
35 
36  protected:
38  ClassDefOverride(PHG4VtxPoint,1)
39 
40 };
41 
42 #endif