Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MbdVertex.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MbdVertex.h
1 #ifndef G4MBD_MBDVERTEX_H
2 #define G4MBD_MBDVERTEX_H
3 
4 #include "Vertex.h"
5 
6 #include <cmath>
7 #include <iostream>
8 
9 class MbdVertex : public Vertex
10 {
11  public:
12  ~MbdVertex() override {}
13 
14  // PHObject virtual overloads
15 
16  void identify(std::ostream& os = std::cout) const override { os << "MbdVertex 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 override { return 0xFFFFFFFF; }
23  virtual void set_id(unsigned int) override {}
24 
25  virtual float get_t() const override { return NAN; }
26  virtual void set_t(float) override {}
27 
28  virtual float get_t_err() const override { return NAN; }
29  virtual void set_t_err(float) override {}
30 
31  virtual float get_z() const override { return NAN; }
32  virtual void set_z(float) override {}
33 
34  virtual float get_z_err() const override { return NAN; }
35  virtual void set_z_err(float) override {}
36 
37  virtual unsigned int get_beam_crossing() const override { return std::numeric_limits<unsigned int>::max(); }
38  virtual void set_beam_crossing(unsigned int) override {}
39 
40  virtual void set_bbc_ns(int, int, float, float) override {}
41  virtual int get_bbc_npmt(int) const override { return std::numeric_limits<int>::max(); }
42  virtual float get_bbc_q(int) const override { return NAN; }
43  virtual float get_bbc_t(int) const override { return NAN; }
44 
45  protected:
46  MbdVertex() {}
47 
48  private:
50 };
51 
52 #endif