File indexing completed on 2023-03-17 11:00:01
0001 #include "FWCore/Framework/interface/MakerMacros.h"
0002 #include "EventFilter/L1TRawToDigi/interface/Unpacker.h"
0003
0004 #include "BMTFCollections.h"
0005
0006 namespace l1t {
0007 namespace stage2 {
0008
0009 class BMTFUnpackerOutput : public Unpacker {
0010 public:
0011
0012
0013 BMTFUnpackerOutput() {
0014 isKalman = false;
0015 isTriggeringAlgo = true;
0016 }
0017 BMTFUnpackerOutput(const bool isTriggering_) {
0018 isKalman = false;
0019 isTriggeringAlgo = isTriggering_;
0020 }
0021 ~BMTFUnpackerOutput() override{};
0022 bool unpack(const Block& block, UnpackerCollections* coll) override;
0023 void setKalmanAlgoTrue() { isKalman = true; }
0024
0025 private:
0026 bool isTriggeringAlgo;
0027 bool isKalman;
0028 };
0029
0030 }
0031 }