CMS 3D CMS Logo

CSCMuonPortCard.h
Go to the documentation of this file.
1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCMuonPortCard_h
2 #define L1Trigger_CSCTriggerPrimitives_CSCMuonPortCard_h
3 
4 //-----------------------------------------------------------------------------
5 //
6 // Class: CSCMuonPortCard
7 //
8 // Description:
9 // Simulates the functionality of the Muon Port Card (MPC). Each MPC
10 // is responsible for 9 Trigger Mother Boards (TMBs). It takes the up to
11 // 18 LCTs (2/TMB) in each (sub)sector every bunch crossing, sorts them,
12 // selects up to three best, and puts them into an output collection.
13 //
14 // Author List: Benn Tannenbaum 30 August 1999.
15 // Based on code by Nick Wisniewski.
16 //
17 //
18 // Modifications: Numerous later improvements by Jason Mumford and
19 // Slava Valuev (see cvs in ORCA).
20 // Porting/reworking from ORCA by L. Gray (UF), June 2006.
21 //
22 // Update for Run-II data taking by Sven Dildick (TAMU), May 2016.
23 // CSC MPC sends all 18 stubs from 9 TMBs. Stubs are no longer sorted by quality
24 // Invalid or low-quality stubs are not removed either.
25 //
26 //-----------------------------------------------------------------------------
27 
32 
33 #include <vector>
34 
36 {
37  public:
40 
42 
43 
44  // Method to load the content of the digi container into a trigger
45  // container. This allows us to sort per BX more easily.
46  void loadDigis(const CSCCorrelatedLCTDigiCollection& thedigis);
47 
48  // Method to sort all Correlated LCTs generated by the TMB.
49  // Returns a vector of TrackStubs indexed by [sorting]
50  std::vector<csctf::TrackStub> sort(const unsigned endcap, const unsigned station,
51  const unsigned sector, const unsigned subsector,
52  const int bx);
53 
54  // clear the stub vector
55  void clear() { stubs_.clear(); }
56 
57  private:
58 
59  // vector with stubs
61 
62  // CSC expert options
66 };
67 
68 #endif
void loadDigis(const CSCCorrelatedLCTDigiCollection &thedigis)
bool drop_low_quality_stubs_
CSCTriggerContainer< csctf::TrackStub > TrackStubList
CSCTriggerContainer< csctf::TrackStub > stubs_
std::vector< csctf::TrackStub > sort(const unsigned endcap, const unsigned station, const unsigned sector, const unsigned subsector, const int bx)