EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrHit.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrkrHit.h
1 
7 #ifndef TRACKBASE_TRKRHIT_H
8 #define TRACKBASE_TRKRHIT_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 TrkrHit : public PHObject
26 {
27  public:
28 
30  ~TrkrHit() override {}
31  // PHObject virtual overloads
32  void identify(std::ostream& os = std::cout) const override
33  {
34  os << "TrkrHit base class" << std::endl;
35  }
36  void Reset() override {}
37  int isValid() const override { return 0; }
38 
39  // these set and get the energy before digitization
40  virtual void addEnergy(const double){}
41  virtual double getEnergy() {return 0;}
42 
43  // after digitization, these are the adc values
44  virtual void setAdc(const unsigned int) {}
45  virtual unsigned int getAdc() { return 0;}
46 
47  protected:
48 
50 };
51 
52 #endif //TRACKBASE_TRKRHIT_H