File indexing completed on 2025-08-05 08:16:09
0001 #ifndef FUN4ALLRAW_TPCHITRAWCONTAINERv3_H
0002 #define FUN4ALLRAW_TPCHITRAWCONTAINERv3_H
0003
0004 #include "TpcRawHitContainer.h"
0005
0006 class TpcRawHit;
0007 class TClonesArray;
0008
0009
0010 class TpcRawHitContainerv3 : public TpcRawHitContainer
0011 {
0012 public:
0013 TpcRawHitContainerv3();
0014 ~TpcRawHitContainerv3() override;
0015
0016
0017 void Reset() override;
0018
0019
0020
0021
0022 void identify(std::ostream &os = std::cout) const override;
0023
0024
0025 int isValid() const override;
0026
0027 TpcRawHit *AddHit() override;
0028 TpcRawHit *AddHit(TpcRawHit *tpchit) override;
0029 unsigned int get_nhits() override;
0030 TpcRawHit *get_hit(unsigned int index) override;
0031 void setStatus(const unsigned int i) override { status = i; }
0032 unsigned int getStatus() const override { return status; }
0033 void setBco(const uint64_t i) override { bco = i; }
0034 uint64_t getBco() const override { return bco; }
0035
0036 private:
0037 TClonesArray *TpcRawHitsTCArray{nullptr};
0038 uint64_t bco{0};
0039 unsigned int status{0};
0040
0041 ClassDefOverride(TpcRawHitContainerv3, 1)
0042 };
0043
0044 #endif