CMS 3D CMS Logo

CSCTFUnpacker.h
Go to the documentation of this file.
1 #ifndef CSCTFUnpacker_h
2 #define CSCTFUnpacker_h
3 
8 
9 //CSC Track Finder Raw Data Format
11 
12 //FEDRawData
16 
17 #include <vector>
18 #include <string>
19 
20 class CSCTriggerMapping;
21 
23 private:
26 
27  CSCTriggerMapping* mapping; // redundant, but needed
28 
29  CSCTFEvent tfEvent; // TF data container
30 
31  // geometry may not be properly set in CSC TF data
32  // make an artificial assignment of each of 12 SPs (slots 6-11 and 16-21) to 12 sectors (1-12, 0-not assigned)
33  std::vector<int> slot2sector;
34 
35  // label of the module which produced raw data
37 
39 
40 public:
41  void produce(edm::Event& e, const edm::EventSetup& c) override;
42 
44  ~CSCTFUnpacker(void) override;
45 };
46 
47 #endif
CSCTFUnpacker(const edm::ParameterSet &pset)
edm::InputTag producer
Definition: CSCTFUnpacker.h:36
edm::EDGetTokenT< FEDRawDataCollection > Raw_token
Definition: CSCTFUnpacker.h:38
~CSCTFUnpacker(void) override
void produce(edm::Event &e, const edm::EventSetup &c) override
std::vector< int > slot2sector
Definition: CSCTFUnpacker.h:33
CSCTriggerMapping * mapping
Definition: CSCTFUnpacker.h:27
CSCTFEvent tfEvent
Definition: CSCTFUnpacker.h:29