CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTFSectorProcessor.h
Go to the documentation of this file.
1 
8 #ifndef CSCTrackFinder_CSCTFSectorProcessor_h
9 #define CSCTrackFinder_CSCTFSectorProcessor_h
10 
11 #include <vector>
12 #include <map>
13 #include <string>
18 
25 
27 {
28 public:
29  CSCTFSectorProcessor(const unsigned& endcap,
30  const unsigned& sector,
31  const edm::ParameterSet& pset,
32  bool tmb07,
33  const L1MuTriggerScales* scales,
34  const L1MuTriggerPtScale* ptScale );
35 
37  void initialize(const edm::EventSetup& c);
39 
41 
43 
45  std::vector<csctf::TrackStub> filteredStubs() const { return stub_vec_filtered; }
46 
48 
49  int minBX() const { return m_minBX; }
50  int maxBX() const { return m_maxBX; }
51 
52  void readParameters(const edm::ParameterSet& pset);
53 
54  void printDisclaimer(int firmSP, int firmFA);
55 
56  private:
57  // disallow copy and assignment
58  CSCTFSectorProcessor& operator=(const CSCTFSectorProcessor& rhs) { return *this; };
60 
62 
64  unsigned m_endcap, m_sector, TMB07;
65  unsigned m_latency;
66 
67  // All parameters below are signed to allow for uninitialized (<0) state
70  int m_etawin[7], m_etamin[8], m_etamax[8];
79  int m_widePhi;
80 
81  // following parameters were moved here from the CSCTFTrackBuilder because they naturally belong here
87  int run_core;
91  unsigned int singlesTrackOutput;
93 
95 
96  CSCTriggerContainer<csc::L1Track> l1_tracks; // fully defined L1Tracks
97  CSCTriggerContainer<csctf::TrackStub> dt_stubs; // Track Stubs to be sent to the DTTF
98  std::vector<csctf::TrackStub> stub_vec_filtered; // Collectin of stubs after applying kill_fiber and QualityEnable masks
99 
100  static const std::string FPGAs[5];
101 
102  std::map<std::string, CSCSectorReceiverLUT*> srLUTs_; // indexed by FPGA
105 
106  // firmware map
107  std::map<int, int> firmSP_Map;
109 };
110 
111 #endif
std::vector< csctf::TrackStub > filteredStubs() const
CSCTriggerContainer< csctf::TrackStub > dt_stubs
CSCTFSPCoreLogic * core_
void readParameters(const edm::ParameterSet &pset)
std::vector< csctf::TrackStub > stub_vec_filtered
CSCTriggerContainer< csctf::TrackStub > dtStubs() const
void initialize(const edm::EventSetup &c)
KK.
void printDisclaimer(int firmSP, int firmFA)
static const std::string FPGAs[5]
CSCTFSectorProcessor & operator=(const CSCTFSectorProcessor &rhs)
CSCTriggerContainer< csc::L1Track > l1_tracks
tuple pset
Definition: CrabTask.py:85
std::map< std::string, CSCSectorReceiverLUT * > srLUTs_
CSCTFSectorProcessor(const unsigned &endcap, const unsigned &sector, const edm::ParameterSet &pset, bool tmb07, const L1MuTriggerScales *scales, const L1MuTriggerPtScale *ptScale)
CSCTriggerContainer< csc::L1Track > tracks() const
bool run(const CSCTriggerContainer< csctf::TrackStub > &)
std::map< int, int > firmSP_Map
const double par[8 *NPar][4]
CSCTFSectorProcessor(const CSCTFSectorProcessor &par)