ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BbcVertex.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file BbcVertex.h
1 #ifndef G4BBC_BBCVERTEX_H
2 #define G4BBC_BBCVERTEX_H
3 
4 #include <phool/PHObject.h>
5 
6 #include <cmath>
7 #include <iostream>
8 
9 class BbcVertex : public PHObject
10 {
11  public:
12  ~BbcVertex() override {}
13 
14  // PHObject virtual overloads
15 
16  void identify(std::ostream& os = std::cout) const override { os << "BbcVertex 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_t() const { return NAN; }
26  virtual void set_t(float) {}
27 
28  virtual float get_t_err() const { return NAN; }
29  virtual void set_t_err(float) {}
30 
31  virtual float get_z() const { return NAN; }
32  virtual void set_z(float) {}
33 
34  virtual float get_z_err() const { return NAN; }
35  virtual void set_z_err(float) {}
36 
37  protected:
38  BbcVertex() {}
39 
40  private:
42 };
43 
44 #endif