Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef FUN4ALLRAW_INTTRAWHITCONTAINERV2_H
0002 #define FUN4ALLRAW_INTTRAWHITCONTAINERV2_H
0003 
0004 #include "InttRawHitContainer.h"
0005 
0006 class InttRawHit;
0007 class TClonesArray;
0008 
0009 class InttRawHitContainerv2 : public InttRawHitContainer
0010 {
0011  public:
0012   InttRawHitContainerv2();
0013   ~InttRawHitContainerv2() 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   InttRawHit *AddHit() override;
0027   InttRawHit *AddHit(InttRawHit *intthit) override;
0028   unsigned int get_nhits() override;
0029   InttRawHit *get_hit(unsigned int index) override;
0030 
0031  private:
0032   TClonesArray *InttRawHitsTCArray = nullptr;
0033 
0034   ClassDefOverride(InttRawHitContainerv2, 1)
0035 };
0036 
0037 #endif