Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:15

0001 #ifndef FUN4ALLRAW_TPCHITRAWCONTAINERV1_H
0002 #define FUN4ALLRAW_TPCHITRAWCONTAINERV1_H
0003 
0004 #include "TpcRawHitContainer.h"
0005 
0006 class TpcRawHit;
0007 class TClonesArray;
0008 
0009 class TpcRawHitContainerv1 : public TpcRawHitContainer
0010 {
0011  public:
0012   TpcRawHitContainerv1();
0013   ~TpcRawHitContainerv1() override;
0014 
0015   /// Clear Event
0016   void Reset() override;
0017 
0018   /** identify Function from PHObject
0019       @param os Output Stream
0020    */
0021   void identify(std::ostream &os = std::cout) const override;
0022 
0023   /// isValid returns non zero if object contains vailid data
0024   int isValid() const override;
0025 
0026   TpcRawHit *AddHit() override;
0027   TpcRawHit *AddHit(TpcRawHit *tpchit) override;
0028   unsigned int get_nhits() override;
0029   TpcRawHit *get_hit(unsigned int index) override;
0030 
0031  private:
0032   TClonesArray *TpcRawHitsTCArray = nullptr;
0033 
0034   ClassDefOverride(TpcRawHitContainerv1, 1)
0035 };
0036 
0037 #endif