Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
InttVertex.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file InttVertex.h
1 #ifndef INTT_INTTVERTEX_H
2 #define INTT_INTTVERTEX_H
3 
4 #include <phool/PHObject.h>
5 
6 #include <cmath>
7 #include <iostream>
8 
9 class InttVertex : public PHObject
10 {
11  public:
12  ~InttVertex() override {}
13 
14  // PHObject virtual overloads
15 
16  void identify(std::ostream& os = std::cout) const override { os << "InttVertex base class" << std::endl; }
17  PHObject* CloneMe() const override { return nullptr; }
18  int isValid() const override { return 0; }
19 
20  // vertex info
21 
22  virtual unsigned int get_id() const { return 0xFFFFFFFF; }
23  virtual void set_id(unsigned int) {}
24 
25  virtual float get_z() const { return NAN; }
26  virtual void set_z(float) {}
27 
28  virtual float get_z_err() const { return NAN; }
29  virtual void set_z_err(float) {}
30 
31  protected:
33 
34  private:
36 };
37 
38 #endif