CMS 3D CMS Logo

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
trklet::ProjectionTemp::projfinephi
unsigned int projfinephi() const
Definition: ProjectionTemp.h:32
trklet::Tracklet
Definition: Tracklet.h:27
trklet::ProjectionTemp::iphi
unsigned int iphi() const
Definition: ProjectionTemp.h:33
trklet::ProjectionTemp::projrinv
unsigned int projrinv() const
Definition: ProjectionTemp.h:30
trklet::ProjectionTemp::use
bool use(unsigned int nextrzbin, unsigned int nextiphibin) const
Definition: ProjectionTemp.h:35
trklet::ProjectionTemp::shift
int shift() const
Definition: ProjectionTemp.h:34
trklet::ProjectionTemp::ProjectionTemp
ProjectionTemp()
Definition: ProjectionTemp.cc:32
trklet::ProjectionTemp::slot_
unsigned int slot_
Definition: ProjectionTemp.h:40
trklet::ProjectionTemp::slot
unsigned int slot() const
Definition: ProjectionTemp.h:29
trklet::ProjectionTemp::iphi_
unsigned int iphi_
Definition: ProjectionTemp.h:44
trklet::ProjectionTemp::use_
bool use_[2][2]
Definition: ProjectionTemp.h:48
trklet::ProjectionTemp::projfinerz
int projfinerz() const
Definition: ProjectionTemp.h:31
trklet
Definition: AllInnerStubsMemory.h:10
trklet::ProjectionTemp::proj_
Tracklet * proj_
Definition: ProjectionTemp.h:39
trklet::ProjectionTemp::isPSseed_
bool isPSseed_
Definition: ProjectionTemp.h:49
trklet::ProjectionTemp::projrinv_
unsigned int projrinv_
Definition: ProjectionTemp.h:41
trklet::ProjectionTemp
Definition: ProjectionTemp.h:9
trklet::ProjectionTemp::projfinephi_
unsigned int projfinephi_
Definition: ProjectionTemp.h:43
trklet::ProjectionTemp::shift_
int shift_
Definition: ProjectionTemp.h:45
trklet::ProjectionTemp::~ProjectionTemp
~ProjectionTemp()=default
trklet::ProjectionTemp::proj
Tracklet * proj() const
Definition: ProjectionTemp.h:28
Tracklet.h
trklet::ProjectionTemp::projfinerz_
unsigned int projfinerz_
Definition: ProjectionTemp.h:42
trklet::ProjectionTemp::isPSseed
bool isPSseed() const
Definition: ProjectionTemp.h:36