Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef FUN4ALLRAW_MICROMEGASRAWHITCONTAINERV1_H
0002 #define FUN4ALLRAW_MICROMEGASRAWHITCONTAINERV1_H
0003 
0004 #include "MicromegasRawHitContainer.h"
0005 
0006 class MicromegasRawHit;
0007 class TClonesArray;
0008 
0009 class MicromegasRawHitContainerv1 : public MicromegasRawHitContainer
0010 {
0011  public:
0012   explicit MicromegasRawHitContainerv1();
0013 
0014   //! destructor
0015   ~MicromegasRawHitContainerv1() 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(MicromegasRawHitContainerv1, 1)
0037 };
0038 
0039 #endif