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