Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MbdPmtHit.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MbdPmtHit.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef MBD_MBDPMTHIT_H
4 #define MBD_MBDPMTHIT_H
5 
6 #include "MbdReturnCodes.h"
7 
8 #include <phool/PHObject.h>
9 #include <phool/phool.h>
10 
11 #include <iostream>
12 
13 class MbdPmtHit : public PHObject
14 {
15  public:
16  MbdPmtHit() {}
17  virtual ~MbdPmtHit() override = default;
18 
19  virtual Short_t get_pmt() const
20  {
22  return -9999;
23  }
24 
25  virtual Float_t get_q() const
26  {
29  }
30 
31  virtual Float_t get_time() const
32  {
35  }
36 
37  virtual Float_t get_tt() const
38  {
41  }
42 
43  virtual Float_t get_tq() const
44  {
47  }
48 
49  virtual void set_pmt(const Short_t /*pmt*/, const Float_t /*q*/, const Float_t /*tt*/, const Float_t /*tq*/)
50  {
52  }
53 
54  virtual void identify(std::ostream& os = std::cout) const override;
55 
56  virtual int isValid() const override { return 0; }
57 
58  private:
59  ClassDefOverride(MbdPmtHit, 1)
60 };
61 
62 #endif