Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:16:09

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