Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:12

0001 #ifndef __L1Analysis_L1AnalysisL1UpgradeTfMuonDataFormat_H__
0002 #define __L1Analysis_L1AnalysisL1UpgradeTfMuonDataFormat_H__
0003 
0004 #include "L1Trigger/L1TMuon/interface/RegionalMuonRawDigiTranslator.h"
0005 #include <vector>
0006 #include <map>
0007 
0008 namespace L1Analysis {
0009   struct L1AnalysisL1UpgradeTfMuonDataFormat {
0010     L1AnalysisL1UpgradeTfMuonDataFormat() { Reset(); };
0011     ~L1AnalysisL1UpgradeTfMuonDataFormat(){};
0012 
0013     void Reset() {
0014       nTfMuons = 0;
0015       tfMuonHwPt.clear();
0016       tfMuonHwPtUnconstrained.clear();
0017       tfMuonHwDxy.clear();
0018       tfMuonHwEta.clear();
0019       tfMuonHwPhi.clear();
0020       tfMuonGlobalPhi.clear();
0021       tfMuonHwSign.clear();
0022       tfMuonHwSignValid.clear();
0023       tfMuonHwQual.clear();
0024       tfMuonLink.clear();
0025       tfMuonProcessor.clear();
0026       tfMuonTrackFinderType.clear();
0027       tfMuonHwHF.clear();
0028       tfMuonBx.clear();
0029       tfMuonWh.clear();
0030       tfMuonTrAdd.clear();
0031       tfMuonDecodedTrAdd.clear();
0032       tfMuonHwTrAdd.clear();
0033     }
0034 
0035     unsigned short int nTfMuons;
0036     std::vector<short int> tfMuonHwPt;
0037     std::vector<short int> tfMuonHwPtUnconstrained;
0038     std::vector<short int> tfMuonHwDxy;
0039     std::vector<short int> tfMuonHwEta;
0040     std::vector<short int> tfMuonHwPhi;
0041     std::vector<short int> tfMuonGlobalPhi;
0042     std::vector<short int> tfMuonHwSign;
0043     std::vector<short int> tfMuonHwSignValid;
0044     std::vector<short int> tfMuonHwQual;
0045     std::vector<short int> tfMuonLink;
0046     std::vector<short int> tfMuonProcessor;
0047     std::vector<short int> tfMuonTrackFinderType;
0048     std::vector<short int> tfMuonHwHF;
0049     std::vector<short int> tfMuonBx;
0050     std::vector<short int> tfMuonWh;
0051     std::vector<short int> tfMuonTrAdd;
0052     std::vector<std::map<std::string, int>> tfMuonDecodedTrAdd;
0053     std::vector<short int> tfMuonHwTrAdd;
0054   };
0055 }  // namespace L1Analysis
0056 #endif