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