Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawHit.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RawHit.h
1 
7 #ifndef TRACKBASE_RAWHIT_H
8 #define TRACKBASE_RAWHIT_H
9 
10 #include "TrkrDefs.h"
11 
12 #include <phool/PHObject.h>
13 
14 #include <climits>
15 #include <cmath>
16 #include <iostream>
17 
25 class RawHit : public PHObject
26 {
27  public:
28 
30  ~RawHit() override {}
31  // PHObject virtual overloads
32  void identify(std::ostream& os = std::cout) const override
33  {
34  os << "RawHit base class" << std::endl;
35  }
36  void Reset() override {}
37  int isValid() const override { return 0; }
38 
39  // after digitization, these are the adc values
40  virtual void setAdc(const unsigned int) {}
41  virtual unsigned int getAdc() { return 0;}
42 
43  virtual void setPhiBin(const unsigned int) {}
44  virtual unsigned int getPhiBin() { return 0;}
45 
46  virtual void setTBin(const unsigned int) {}
47  virtual unsigned int getTBin() { return 0;}
48 
49  /*
50  virtual void setCrossing(const short int) {}
51  virtual short int getCrossing() { return 0;}
52  */
53 
54  protected:
55 
57 };
58 
59 #endif //TRACKBASE_RAWHIT_H