File indexing completed on 2023-03-28 01:34:12
0001 #ifndef L1T_PACKER_STAGE2_REGIONALMUONGMTUNPACKER_H
0002 #define L1T_PACKER_STAGE2_REGIONALMUONGMTUNPACKER_H
0003
0004 #include "EventFilter/L1TRawToDigi/interface/Unpacker.h"
0005 #include "EventFilter/L1TRawToDigi/interface/Block.h"
0006 #include "GMTCollections.h"
0007
0008 namespace l1t {
0009 namespace stage2 {
0010 class RegionalMuonGMTUnpacker : public Unpacker {
0011 public:
0012 bool unpack(const Block& block, UnpackerCollections* coll) override;
0013 void setIsKbmtf() { isKbmtf_ = true; }
0014 void setUseEmtfDisplacementInfo() { useEmtfDisplacementInfo_ = true; }
0015 void setUseEmtfNominalTightShowers() { useEmtfNominalTightShowers_ = true; }
0016 void setUseEmtfLooseShowers() { useEmtfLooseShowers_ = true; }
0017
0018 private:
0019 static constexpr unsigned nWords_ = 6;
0020 static constexpr unsigned bxzs_enable_shift_ = 1;
0021
0022 bool isKbmtf_{false};
0023 bool useEmtfDisplacementInfo_{false};
0024 bool useEmtfNominalTightShowers_{false};
0025 bool useEmtfLooseShowers_{false};
0026 };
0027 }
0028 }
0029
0030 #endif