Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[L1T] fix improper casting #37702

Merged
merged 2 commits into from Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -12,7 +12,7 @@ namespace l1t {

bool unpack(const Block& block, UnpackerCollections* coll) override;

inline void setEtSumCopy(const unsigned int copy) { EtSumCopy_ = copy; };
virtual inline void setEtSumCopy(const unsigned int copy) { EtSumCopy_ = copy; };

private:
unsigned int EtSumCopy_;
Expand Down
@@ -1,18 +1,18 @@
#ifndef L1T_PACKER_STAGE2_ETSUMUNPACKER_0X10010057_H
#define L1T_PACKER_STAGE2_ETSUMUNPACKER_0X10010057_H

#include "EventFilter/L1TRawToDigi/interface/Unpacker.h"
#include "EventFilter/L1TRawToDigi/plugins/implementations_stage2/EtSumUnpacker.h"

namespace l1t {
namespace stage2 {
class EtSumUnpacker_0x10010057 : public Unpacker {
class EtSumUnpacker_0x10010057 : public EtSumUnpacker {
public:
EtSumUnpacker_0x10010057();
~EtSumUnpacker_0x10010057() override{};

bool unpack(const Block& block, UnpackerCollections* coll) override;

inline void setEtSumCopy(const unsigned int copy) { EtSumCopy_ = copy; };
inline void setEtSumCopy(const unsigned int copy) override { EtSumCopy_ = copy; };

private:
unsigned int EtSumCopy_;
Expand Down