File indexing completed on 2025-08-06 08:18:10
0001
0002
0003
0004
0005
0006
0007 #ifndef TRACKBASE_RAWHIT_H
0008 #define TRACKBASE_RAWHIT_H
0009
0010 #include "TrkrDefs.h"
0011
0012 #include <phool/PHObject.h>
0013
0014 #include <climits>
0015 #include <cmath>
0016 #include <iostream>
0017
0018
0019
0020
0021
0022
0023
0024
0025 class RawHit : public PHObject
0026 {
0027 public:
0028
0029 ~RawHit() override {}
0030
0031 void identify(std::ostream& os = std::cout) const override
0032 {
0033 os << "RawHit base class" << std::endl;
0034 }
0035 void Reset() override {}
0036 int isValid() const override { return 0; }
0037
0038
0039 virtual void setAdc(const unsigned int) {}
0040 virtual unsigned int getAdc() { return 0; }
0041
0042 virtual void setPhiBin(const unsigned int) {}
0043 virtual unsigned int getPhiBin() { return 0; }
0044
0045 virtual void setTBin(const unsigned int) {}
0046 virtual unsigned int getTBin() { return 0; }
0047
0048
0049
0050
0051
0052
0053 protected:
0054 ClassDefOverride(RawHit, 1);
0055 };
0056
0057 #endif