File indexing completed on 2026-07-16 08:13:57
0001
0002
0003 #ifndef BCOLLUMICOUNT_STREAMINGBCOINFOV1_H
0004 #define BCOLLUMICOUNT_STREAMINGBCOINFOV1_H
0005
0006 #include "StreamingBcoInfo.h"
0007
0008
0009 #include <iostream>
0010 #include <limits>
0011 #include <utility>
0012
0013
0014
0015 class StreamingBcoInfov1 : public StreamingBcoInfo
0016 {
0017 public:
0018
0019 StreamingBcoInfov1() = default;
0020
0021 ~StreamingBcoInfov1() override = default;
0022
0023 void Reset() override;
0024
0025
0026
0027
0028 void identify(std::ostream& os = std::cout) const override;
0029
0030
0031
0032
0033 virtual uint64_t get_bco() const override { return m_bco; }
0034 virtual void set_bco(uint64_t val) override { m_bco = val; }
0035
0036 virtual int get_evtno() const override { return m_evtno; }
0037 virtual void set_evtno(int val) override { m_evtno = val; }
0038
0039 virtual bool get_usable_bco_tag() const override { return m_usable_bco_tag; }
0040 virtual void set_usable_bco_tag(bool val) override { m_usable_bco_tag = val; }
0041
0042 virtual std::pair<uint64_t, uint64_t> get_bco_streaming_window() const override { return m_bco_streaming_window; }
0043 virtual void set_bco_streaming_window(std::pair<uint64_t, uint64_t> val) override { m_bco_streaming_window = val; }
0044
0045
0046 private:
0047 uint64_t m_bco{0};
0048 int m_evtno{0};
0049 bool m_usable_bco_tag{false};
0050 std::pair<uint64_t, uint64_t> m_bco_streaming_window;
0051
0052 ClassDefOverride(StreamingBcoInfov1, 1)
0053 };
0054
0055 #endif