Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-07-16 08:13:57

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef BCOLLUMICOUNT_STREAMINGBCOINFO_H
0004 #define BCOLLUMICOUNT_STREAMINGBCOINFO_H
0005 
0006 #include <phool/PHObject.h>
0007 
0008 #include <iostream>
0009 #include <limits>
0010 #include <utility>
0011 
0012 
0013 ///
0014 class StreamingBcoInfo : public PHObject
0015 {
0016  public:
0017   /// ctor - daughter class copy ctor needs this
0018   StreamingBcoInfo() = default;
0019   /// dtor
0020   ~StreamingBcoInfo() override = default;
0021   /// Clear Sync
0022   void Reset() override;
0023 
0024   /** identify Function from PHObject
0025       @param os Output Stream
0026    */
0027   void identify(std::ostream& os = std::cout) const override;
0028 
0029   /// isValid returns non zero if object contains valid data
0030   //int isValid() const override;
0031 
0032   virtual uint64_t get_bco() const { return 0; }
0033 
0034   virtual void set_bco(uint64_t /*val*/) { return; }
0035 
0036   virtual int get_evtno() const { return 0; }
0037 
0038   virtual void set_evtno(int /*val*/) { return; }
0039 
0040   virtual bool get_usable_bco_tag() const { return 0; }
0041 
0042   virtual void set_usable_bco_tag(bool /*val*/) { return; }
0043 
0044   virtual std::pair<uint64_t, uint64_t> get_bco_streaming_window() const { return std::make_pair(0, 0); }
0045 
0046   virtual void set_bco_streaming_window(std::pair<uint64_t, uint64_t> /*val*/) { return; }
0047 
0048 
0049  private:
0050   ClassDefOverride(StreamingBcoInfo, 1)
0051 };
0052 
0053 #endif