CMS 3D CMS Logo

EMTFBlockRPC.h
Go to the documentation of this file.
1 #ifndef L1T_PACKER_STAGE2_EMTFBLOCKRPCUNPACKER_H
2 #define L1T_PACKER_STAGE2_EMTFBLOCKRPCUNPACKER_H
3 
5 
6 namespace l1t {
7  namespace stage2 {
8  namespace emtf {
9 
10  class RPCBlockUnpacker : public Unpacker { // "RPCBlockUnpacker" inherits from "Unpacker"
11  public:
12  virtual int checkFormat(const Block& block);
13  // virtual bool checkFormat() override; // Return "false" if block format does not match expected format
14  virtual bool unpack(const Block& block, UnpackerCollections *coll) override; // Apparently it's always good to use override in C++
15  // virtual bool packBlock(const Block& block, UnpackerCollections *coll) override;
16  };
17 
18  // class RPCBlockPacker : public Packer { // "RPCBlockPacker" inherits from "Packer"
19  // public:
20  // virtual bool unpack(const Block& block, UnpackerCollections *coll) override; // Apparently it's always good to use override in C++
21  // };
22 
23  }
24  }
25 }
26 
27 #endif
Definition: Event.h:15
delete x;
Definition: CaloConfig.h:22
virtual bool unpack(const Block &block, UnpackerCollections *coll) override
Definition: EMTFBlockRPC.cc:41
JetCorrectorParametersCollection coll
Definition: classes.h:10
virtual int checkFormat(const Block &block)
Definition: EMTFBlockRPC.cc:11