CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ProjectionTemp.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_ProjectionTemp_h
2 #define L1Trigger_TrackFindingTracklet_interface_ProjectionTemp_h
3 
4 #include <cassert>
6 
7 namespace trklet {
8 
9  class ProjectionTemp {
10  public:
12  unsigned int slot,
13  unsigned int projrinv,
14  int projfinerz,
15  unsigned int projfinephi,
16  unsigned int iphi,
17  int shift,
18  bool usefirstMinus,
19  bool usefirstPlus,
20  bool usesecondMinus,
21  bool usesecondPlus,
22  bool isPSseed);
23 
25 
26  ~ProjectionTemp() = default;
27 
28  Tracklet* proj() const { return proj_; }
29  unsigned int slot() const { return slot_; }
30  unsigned int projrinv() const { return projrinv_; }
31  int projfinerz() const { return projfinerz_; }
32  unsigned int projfinephi() const { return projfinephi_; }
33  unsigned int iphi() const { return iphi_; }
34  int shift() const { return shift_; }
35  bool use(unsigned int nextrzbin, unsigned int nextiphibin) const { return use_[nextrzbin][nextiphibin]; }
36  bool isPSseed() const { return isPSseed_; }
37 
38  private:
40  unsigned int slot_;
41  unsigned int projrinv_;
42  unsigned int projfinerz_;
43  unsigned int projfinephi_;
44  unsigned int iphi_;
45  int shift_;
46  //Projection may use two bins in rz and phi if the projection is near a boundary
47  //The use_[rz][phi] array indicates which bins are used.
48  bool use_[2][2];
49  bool isPSseed_;
50  };
51 }; // namespace trklet
52 #endif
unsigned int projfinerz_
unsigned int projrinv() const
unsigned int iphi() const
unsigned int projfinephi() const
unsigned int projfinephi_
bool use(unsigned int nextrzbin, unsigned int nextiphibin) const
Tracklet * proj() const
bool isPSseed() const
unsigned int slot() const