Analysis Software
Documentation for sPHENIX simulation 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  virtual void set_bbc_ns(int, int, float, float) {}
38  virtual int get_bbc_npmt(int) const { return std::numeric_limits<int>::max(); }
39  virtual float get_bbc_q(int) const { return NAN; }
40  virtual float get_bbc_t(int) const { return NAN; }
41 
42  protected:
43  BbcVertex() {}
44 
45  private:
47 };
48 
49 #endif