Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef FUN4ALLRAW_MVTXFEEIDINFOV1_H
0002 #define FUN4ALLRAW_MVTXFEEIDINFOV1_H
0003 
0004 #include "MvtxFeeIdInfo.h"
0005 
0006 #include <limits>
0007 
0008 class MvtxFeeIdInfov1 : public MvtxFeeIdInfo
0009 {
0010  public:
0011   //! ctor
0012   MvtxFeeIdInfov1() = default;
0013   explicit MvtxFeeIdInfov1(MvtxFeeIdInfo* info);
0014 
0015   //! cp/mv ctor
0016   MvtxFeeIdInfov1(const MvtxFeeIdInfov1&) = default;
0017   MvtxFeeIdInfov1(MvtxFeeIdInfov1&&) = default;
0018 
0019   //! cp/mv assigment
0020   MvtxFeeIdInfov1& operator=(const MvtxFeeIdInfov1&) = default;
0021   MvtxFeeIdInfov1& operator=(MvtxFeeIdInfov1&&) = default;
0022 
0023   //! dtor
0024   ~MvtxFeeIdInfov1() override = default;
0025 
0026   /** identify Function from PHObject
0027       @param os Output Stream
0028    */
0029   void identify(std::ostream& os = std::cout) const override;
0030 
0031   uint16_t get_feeId() const override { return m_feeId; }
0032   // cppcheck-suppress virtualCallInConstructor
0033   void set_feeId(const uint16_t val) override { m_feeId = val; }
0034 
0035   uint32_t get_detField() const override { return m_detField; }
0036   // cppcheck-suppress virtualCallInConstructor
0037   void set_detField(const uint32_t val) override { m_detField = val; }
0038 
0039   uint64_t get_bco() const override { return m_bco; }
0040   // cppcheck-suppress virtualCallInConstructor
0041   void set_bco(const uint64_t val) override { m_bco = val; }
0042 
0043  private:
0044   uint16_t m_feeId = std::numeric_limits<uint16_t>::max();
0045   uint32_t m_detField = std::numeric_limits<uint32_t>::max();
0046   uint64_t m_bco = std::numeric_limits<uint64_t>::max();
0047 
0048   ClassDefOverride(MvtxFeeIdInfov1, 1)
0049 };
0050 
0051 #endif