Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef FUN4ALLRAW_GL1RAWHITV2_H
0002 #define FUN4ALLRAW_GL1RAWHITV2_H
0003 
0004 #include "Gl1RawHitv1.h"
0005 
0006 #include <limits>
0007 
0008 class Gl1RawHitv2 : public Gl1RawHitv1
0009 {
0010  public:
0011   Gl1RawHitv2() = default;
0012   Gl1RawHitv2(Gl1RawHit *gl1hit);
0013   ~Gl1RawHitv2() override {};
0014 
0015   void Reset() override;
0016   /** identify Function from PHObject
0017       @param os Output Stream
0018    */
0019   void identify(std::ostream &os = std::cout) const override;
0020   // cppcheck-suppress virtualCallInConstructor
0021   int getEvtSequence() const override { return evtseq; }
0022   // cppcheck-suppress virtualCallInConstructor
0023   void setEvtSequence(const int i) override { evtseq = i; }
0024 
0025  protected:
0026   int evtseq{std::numeric_limits<int>::min()};
0027 
0028   ClassDefOverride(Gl1RawHitv2, 1)
0029 };
0030 
0031 #endif