CMS 3D CMS Logo

L1MuGMTSorter.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
6 //
7 //
8 // Author :
9 // N. Neumeister CERN EP
10 //
11 // Migrated to CMSSW:
12 // I. Mikulec
13 //
14 //--------------------------------------------------
15 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTSorter_h
16 #define L1TriggerGlobalMuonTrigger_L1MuGMTSorter_h
17 
18 //---------------
19 // C++ Headers --
20 //---------------
21 
22 #include <vector>
23 
24 //----------------------
25 // Base Class Headers --
26 //----------------------
27 
28 
29 //------------------------------------
30 // Collaborating Class Declarations --
31 //------------------------------------
32 
35 
36 // ---------------------
37 // -- Class Interface --
38 // ---------------------
39 
40 
42 
43  public:
44 
47 
49  virtual ~L1MuGMTSorter();
50 
52  virtual void run();
53 
55  virtual void reset();
56 
58  void print();
59 
61  inline int numberOfCands() const { return m_MuonCands.size(); }
62 
64  inline const std::vector<const L1MuGMTExtendedCand*>& Cands() const { return m_MuonCands; }
65 
66  private:
67 
69  std::vector<const L1MuGMTExtendedCand*> m_MuonCands;
70 
71 };
72 
73 #endif
L1MuGMTSorter(const L1MuGlobalMuonTrigger &)
constructor
virtual void reset()
reset Sorter
std::vector< const L1MuGMTExtendedCand * > m_MuonCands
Definition: L1MuGMTSorter.h:69
virtual ~L1MuGMTSorter()
destructor
const std::vector< const L1MuGMTExtendedCand * > & Cands() const
return std::vector with all muon candidates
Definition: L1MuGMTSorter.h:64
virtual void run()
run Sorter
void print()
print results after sorting
int numberOfCands() const
return number of found muon candidates after sorter
Definition: L1MuGMTSorter.h:61
const L1MuGlobalMuonTrigger & m_gmt
Definition: L1MuGMTSorter.h:68