CMS 3D CMS Logo

L1TMuonBarrelKalmanSectorProcessor.h
Go to the documentation of this file.
1 #ifndef L1TMUONBARRELKALMANSECTORPROCESSOR_H
2 #define L1TMUONBARRELKALMANSECTORPROCESSOR_H
3 
7 
9 
11 public:
14 
17 
18 private:
19  class TrackSorter {
20  public:
22 
23  bool operator()(const L1MuKBMTrack& a, const L1MuKBMTrack& b) {
24  if (a.pt() >= b.pt())
25  return true;
26  return false;
27  }
28  };
29 
30  int verbose_;
31  int sector_;
32 
33  std::vector<L1TMuonBarrelKalmanRegionModule> regions_;
34 
35  //For patterns
36  typedef struct {
37  int pt_1;
38  int qual_1;
39  int eta_1;
40  int HF_1;
41  int phi_1;
42  int bx0_1;
43  int charge_1;
45  int dxy_1;
46  int addr1_1;
47  int addr2_1;
48  int addr3_1;
49  int addr4_1;
51  int wheel_1;
52  int ptSTA_1;
53  int SE_1;
54 
55  int pt_2;
56  int qual_2;
57  int eta_2;
58  int HF_2;
59  int phi_2;
60  int bx0_2;
61  int charge_2;
63  int dxy_2;
64  int addr1_2;
65  int addr2_2;
66  int addr3_2;
67  int addr4_2;
69  int wheel_2;
70  int ptSTA_2;
71  int SE_2;
72 
73  int pt_3;
74  int qual_3;
75  int eta_3;
76  int HF_3;
77  int phi_3;
78  int bx0_3;
79  int charge_3;
81  int dxy_3;
82  int addr1_3;
83  int addr2_3;
84  int addr3_3;
85  int addr4_3;
87  int wheel_3;
88  int ptSTA_3;
89  int SE_3;
90 
91  } bmtf_out;
92 
94  // L1MuKBMTrackCollection cleanAndSort(const L1MuKBMTrackCollection&,uint keep);
95 
99  const L1MuKBMTrackCollection&);
101  const L1MuKBMTrackCollection&,
102  const L1MuKBMTrackCollection&,
103  const L1MuKBMTrackCollection&,
104  const L1MuKBMTrackCollection&);
105 };
106 
107 #endif
std::vector< L1TMuonBarrelKalmanRegionModule > regions_
L1MuKBMTrackCollection cleanNeighbors(const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &)
double pt() const final
transverse momentum
std::vector< edm::Ref< L1MuKBMTCombinedStubCollection > > L1MuKBMTCombinedStubRefVector
void verbose(L1TMuonBarrelKalmanAlgo *, const L1MuKBMTrackCollection &)
bmtf_out makeWord(L1TMuonBarrelKalmanAlgo *, const L1MuKBMTrackCollection &)
L1MuKBMTrackCollection process(L1TMuonBarrelKalmanAlgo *, const L1MuKBMTCombinedStubRefVector &stubs, int bx)
L1MuKBMTrackCollection cleanNeighbor(const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &)
double b
Definition: hdecay.h:118
std::vector< L1MuKBMTrack > L1MuKBMTrackCollection
Definition: L1MuKBMTrack.h:15
double a
Definition: hdecay.h:119
L1TMuonBarrelKalmanSectorProcessor(const edm::ParameterSet &, int sector)
L1MuKBMTrackCollection wedgeSort(const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &, const L1MuKBMTrackCollection &)
bool operator()(const L1MuKBMTrack &a, const L1MuKBMTrack &b)