Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MicromegasRawHit.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MicromegasRawHit.h
1 #ifndef FUN4ALLRAW_MICROMEGASRAWTHIT_H
2 #define FUN4ALLRAW_MICROMEGASRAWTHIT_H
3 
4 #include <phool/PHObject.h>
5 
6 #include <limits>
7 
8 
10  {
11 
12 
13 public:
14  MicromegasRawHit() = default;
15  virtual ~MicromegasRawHit() = default;
16 
17  virtual uint64_t get_bco() const {return std::numeric_limits<uint64_t>::max();}
18  virtual void set_bco(const uint64_t) {return;}
19 
20  virtual uint64_t get_gtm_bco() const {return std::numeric_limits<uint64_t>::max();}
21  virtual void set_gtm_bco(const uint64_t) {return;}
22 
23  virtual int32_t get_packetid() const {return std::numeric_limits<int32_t>::max();}
24  virtual void set_packetid(const int32_t) {return;}
25 
26  virtual uint16_t get_fee() const {return std::numeric_limits<uint16_t>::max();}
27  virtual void set_fee(const uint16_t) {return;}
28 
29  virtual uint16_t get_channel() const {return std::numeric_limits<uint16_t>::max();}
30  virtual void set_channel(const uint16_t) {return;}
31 
32  virtual uint16_t get_sampaaddress() const {return std::numeric_limits<uint16_t>::max();}
33  virtual void set_sampaaddress(const uint16_t) {return;}
34 
35  virtual uint16_t get_sampachannel() const {return std::numeric_limits<uint16_t>::max();}
36  virtual void set_sampachannel(const uint16_t) {return;}
37 
38  virtual uint16_t get_samples() const {return std::numeric_limits<uint16_t>::max();}
39  virtual void set_samples(const uint16_t) {return;}
40 
41  virtual uint16_t get_adc(size_t /*sample*/ ) const {return std::numeric_limits<uint16_t>::max();}
42  virtual void set_adc(size_t /*sample*/, const uint16_t) { return; }
43 
44 private:
45  ClassDefOverride(MicromegasRawHit,1)
46 };
47 
48 #endif