Skip to content

fix: bmtf: Change processor's resulting orbit size

The following discussion from !103 (merged) should be addressed:

  • @rardino started a discussion:

    This is wrong. It should be

      inline uint32_t GetOrbitSizeInBytes(const FillOrbitMetadata &meta) const override {
        return meta.counts * 8 + 12 * meta.filled_bxs;
      }

    where * 8 comes from the fact that stubs are 8 bytes each (not 4 like the calo objects for instance) and 12 * from the 3 additional 4 bytes words per BX

    @glazzari I fear this is necessary if we want to collect reasonable bmtf stubs...