Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:02

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       //the constructors assume that unpacks
0012       //BMTF and BMTF is triggering (except assigned differently)
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   }  // namespace stage2
0031 }  // namespace l1t