Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef FUN4ALLRAW_INTTRAWHITV2_H
0002 #define FUN4ALLRAW_INTTRAWHITV2_H
0003 
0004 #include "InttRawHitv1.h"
0005 
0006 #include <limits>
0007 
0008 class InttRawHitv2 : public InttRawHitv1
0009 {
0010  public:
0011   InttRawHitv2() = default;
0012   InttRawHitv2(InttRawHit *intthit);
0013   ~InttRawHitv2() override = default;
0014 
0015   /** identify Function from PHObject
0016       @param os Output Stream
0017    */
0018   void identify(std::ostream &os = std::cout) const override;
0019 
0020   uint32_t get_event_counter() const override { return event_counter; }
0021   void set_event_counter(uint32_t val) override { event_counter = val; }
0022 
0023  protected:
0024   uint32_t event_counter = std::numeric_limits<uint32_t>::max();
0025 
0026   ClassDefOverride(InttRawHitv2, 1)
0027 };
0028 
0029 #endif