CMS 3D CMS Logo

ScBMTFRawToDigi.h
Go to the documentation of this file.
7 
12 
14 
19 
20 #include <memory>
21 #include <vector>
22 #include <iostream>
23 
25 public:
26  explicit ScBMTFRawToDigi(const edm::ParameterSet&);
27  ~ScBMTFRawToDigi() override;
28 
29  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
30 
31 private:
32  void produce(edm::Event&, const edm::EventSetup&) override;
33 
34  void unpackOrbit(const unsigned char* buf, size_t len, int sdsId);
35 
36  // vector holding data for every bunch crossing
37  // before filling the orbit collection
38  std::vector<std::vector<l1ScoutingRun3::BMTFStub>> orbitBuffer_;
40 
41  bool debug_ = false;
42  std::vector<int> sourceIdList_;
45 };
~ScBMTFRawToDigi() override
void unpackOrbit(const unsigned char *buf, size_t len, int sdsId)
void produce(edm::Event &, const edm::EventSetup &) override
std::vector< std::vector< l1ScoutingRun3::BMTFStub > > orbitBuffer_
edm::InputTag srcInputTag_
edm::EDGetToken rawToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< int > sourceIdList_
ScBMTFRawToDigi(const edm::ParameterSet &)