Back to home page

sPhenix code displayed by LXR

 
 

    


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

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