CMS 3D CMS Logo

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