Skip to content
Snippets Groups Projects
Commit b4927221 authored by Giovanna Lazzari Miotto's avatar Giovanna Lazzari Miotto :mushroom: Committed by RoccoA97
Browse files

lint: proc: Add override decorator

parent 694a8e18
No related branches found
No related tags found
1 merge request!98Reduce wait time for writing the EoR file
......@@ -10,7 +10,7 @@ class BmtfOrbitProcessor : public OrbitProcessor {
int ProcessBlock(MemRegion &readable_block, WriteMemRegion &writeable_block,
BxMetadata meta) override;
inline uint32_t GetPacketSize() const {
inline uint32_t GetPacketSize() const override {
// size of bmtf stubs packet is 4bytes*(3headerWords + 2frames*8dataWords)=236
return 4 * (3 + (2 * 8));
}
......
......@@ -33,7 +33,7 @@ class CaloObjOrbitProcessor : public OrbitProcessor {
int ProcessBlock(MemRegion &readable_block, WriteMemRegion &writeable_block,
BxMetadata meta) override;
inline uint32_t GetPacketSize() const {
inline uint32_t GetPacketSize() const override {
// size of calo object packet is 4bytes*(3headerWords + 2frames*8dataWords)=76
return 4 * (3 + (2 * 8));
}
......
......@@ -10,7 +10,7 @@ class CaloOrbitProcessor : public OrbitProcessor {
int ProcessBlock(MemRegion &readable_block, WriteMemRegion &writeable_block,
BxMetadata meta) override;
inline uint32_t GetPacketSize() const {
inline uint32_t GetPacketSize() const override {
// size of calo packet is 4bytes*(8links*7dataWords + 3headerWords)=236 bytes.
// Note 7 data words per link because we have the "link number" word + 6 words from calo L2
return 4 * ((8 * 7) + 3);
......
......@@ -10,7 +10,7 @@ class CaloSumOrbitProcessor : public OrbitProcessor {
int ProcessBlock(MemRegion &readable_block, WriteMemRegion &writeable_block,
BxMetadata meta) override;
inline uint32_t GetPacketSize() const {
inline uint32_t GetPacketSize() const override {
// size of calo sums packet is 4bytes*(2headerWords + 1frames*8dataWords)=40
return 4 * (2 + (1 * 8));
}
......
......@@ -10,7 +10,7 @@ class MuonOrbitProcessor : public OrbitProcessor {
int ProcessBlock(MemRegion &readable_block, WriteMemRegion &writeable_block,
BxMetadata meta) override;
inline uint32_t GetPacketSize() const { return (3 + 2 * 8 * 3) * 4; }
inline uint32_t GetPacketSize() const override { return (3 + 2 * 8 * 3) * 4; }
inline uint32_t GetOrbitSizeInBytes(const FillOrbitMetadata &meta) const override {
// 12 bytes for each muon/count then 12 bytes for each bx header
......
......@@ -10,7 +10,7 @@ class UgtOrbitProcessor : public OrbitProcessor {
int ProcessBlock(MemRegion &readable_block, WriteMemRegion &writeable_block,
BxMetadata meta) override;
inline uint32_t GetPacketSize() const {
inline uint32_t GetPacketSize() const override {
// size of ugt bits packet is 4bytes*(2headerWords + 2frames*8dataWords)
return 4 * (2 + (2 * 8));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment