CMS 3D CMS Logo

LayerProjection.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_LayerProjection_h
2 #define L1Trigger_TrackFindingTracklet_interface_LayerProjection_h
3 
5 
6 namespace trklet {
7 
8  class Settings;
9 
11  public:
12  LayerProjection() { valid_ = false; }
13 
14  ~LayerProjection() = default;
15 
16  void init(Settings const& settings,
17  int projlayer,
18  double rproj,
19  int iphiproj,
20  int izproj,
21  int iphider,
22  int izder,
23  double phiproj,
24  double zproj,
25  double phiprojder,
26  double zprojder,
27  double phiprojapprox,
28  double zprojapprox,
29  double phiprojderapprox,
30  double zprojderapprox,
31  bool isPSseed = false);
32 
33  bool valid() const { return valid_; }
34 
35  int projlayer() const {
36  assert(valid_);
37  return projlayer_;
38  };
39 
40  double rproj() const {
41  assert(valid_);
42  return rproj_;
43  };
44 
45  const FPGAWord& fpgaphiproj() const {
46  assert(valid_);
47  return fpgaphiproj_;
48  };
49 
50  const FPGAWord& fpgazproj() const {
51  assert(valid_);
52  return fpgazproj_;
53  };
54 
55  const FPGAWord& fpgaphiprojder() const {
56  assert(valid_);
57  return fpgaphiprojder_;
58  };
59 
60  const FPGAWord& fpgazprojder() const {
61  assert(valid_);
62  return fpgazprojder_;
63  };
64 
65  const FPGAWord& fpgaphiprojvm() const {
66  assert(valid_);
67  return fpgaphiprojvm_;
68  };
69 
70  const FPGAWord& fpgazbin1projvm() const {
71  assert(valid_);
72  return fpgazbin1projvm_;
73  };
74 
75  const FPGAWord& fpgazbin2projvm() const {
76  assert(valid_);
77  return fpgazbin2projvm_;
78  };
79 
80  const FPGAWord& fpgafinezvm() const {
81  assert(valid_);
82  return fpgafinezvm_;
83  };
84 
85  const FPGAWord& fpgazprojvm() const {
86  assert(valid_);
87  return fpgazprojvm_;
88  };
89 
90  double phiproj() const {
91  assert(valid_);
92  return phiproj_;
93  };
94 
95  double zproj() const {
96  assert(valid_);
97  return zproj_;
98  };
99 
100  double phiprojder() const {
101  assert(valid_);
102  return phiprojder_;
103  };
104 
105  double zprojder() const {
106  assert(valid_);
107  return zprojder_;
108  };
109 
110  double phiprojapprox() const {
111  assert(valid_);
112  return phiprojapprox_;
113  };
114 
115  double zprojapprox() const {
116  assert(valid_);
117  return zprojapprox_;
118  };
119 
120  double phiprojderapprox() const {
121  assert(valid_);
122  return phiprojderapprox_;
123  };
124 
125  double zprojderapprox() const {
126  assert(valid_);
127  return zprojderapprox_;
128  };
129 
130  protected:
131  bool valid_;
132 
134 
135  double rproj_;
136 
141 
144 
148 
149  double phiproj_;
150  double zproj_;
151  double phiprojder_;
152  double zprojder_;
153 
154  double zbin1_;
155  double zbin2_;
156 
158  double zprojapprox_;
161  };
162 }; // namespace trklet
163 #endif
trklet::LayerProjection::zprojderapprox_
double zprojderapprox_
Definition: LayerProjection.h:160
trklet::LayerProjection::fpgafinezvm
const FPGAWord & fpgafinezvm() const
Definition: LayerProjection.h:80
trklet::LayerProjection::zbin2_
double zbin2_
Definition: LayerProjection.h:155
trklet::LayerProjection::phiproj_
double phiproj_
Definition: LayerProjection.h:149
trklet::LayerProjection::zprojder_
double zprojder_
Definition: LayerProjection.h:152
trklet::LayerProjection::fpgaphiprojvm
const FPGAWord & fpgaphiprojvm() const
Definition: LayerProjection.h:65
trklet::LayerProjection::rproj
double rproj() const
Definition: LayerProjection.h:40
trklet::LayerProjection::fpgazbin2projvm_
FPGAWord fpgazbin2projvm_
Definition: LayerProjection.h:146
trklet::LayerProjection::zproj
double zproj() const
Definition: LayerProjection.h:95
trklet::LayerProjection::phiprojapprox_
double phiprojapprox_
Definition: LayerProjection.h:157
trklet::LayerProjection::init
void init(Settings const &settings, int projlayer, double rproj, int iphiproj, int izproj, int iphider, int izder, double phiproj, double zproj, double phiprojder, double zprojder, double phiprojapprox, double zprojapprox, double phiprojderapprox, double zprojderapprox, bool isPSseed=false)
Definition: LayerProjection.cc:9
trklet::LayerProjection::phiproj
double phiproj() const
Definition: LayerProjection.h:90
trklet::LayerProjection::fpgazbin1projvm_
FPGAWord fpgazbin1projvm_
Definition: LayerProjection.h:145
trklet::Settings
Definition: Settings.h:31
trklet::LayerProjection::zprojapprox
double zprojapprox() const
Definition: LayerProjection.h:115
cms::cuda::assert
assert(be >=bs)
trklet::LayerProjection::~LayerProjection
~LayerProjection()=default
trklet::LayerProjection::phiprojderapprox_
double phiprojderapprox_
Definition: LayerProjection.h:159
trklet::LayerProjection
Definition: LayerProjection.h:10
FPGAWord.h
trklet::LayerProjection::LayerProjection
LayerProjection()
Definition: LayerProjection.h:12
trklet::LayerProjection::projlayer
int projlayer() const
Definition: LayerProjection.h:35
trklet::LayerProjection::fpgaphiproj
const FPGAWord & fpgaphiproj() const
Definition: LayerProjection.h:45
trklet::LayerProjection::zproj_
double zproj_
Definition: LayerProjection.h:150
trklet::LayerProjection::fpgazproj
const FPGAWord & fpgazproj() const
Definition: LayerProjection.h:50
trklet::LayerProjection::zprojderapprox
double zprojderapprox() const
Definition: LayerProjection.h:125
trklet::LayerProjection::zprojder
double zprojder() const
Definition: LayerProjection.h:105
trklet::FPGAWord
Definition: FPGAWord.h:9
trklet::LayerProjection::fpgaphiprojder
const FPGAWord & fpgaphiprojder() const
Definition: LayerProjection.h:55
trklet::LayerProjection::fpgazproj_
FPGAWord fpgazproj_
Definition: LayerProjection.h:138
trklet::LayerProjection::phiprojder_
double phiprojder_
Definition: LayerProjection.h:151
trklet::LayerProjection::valid_
bool valid_
Definition: LayerProjection.h:128
trklet::LayerProjection::fpgazprojvm
const FPGAWord & fpgazprojvm() const
Definition: LayerProjection.h:85
trklet::LayerProjection::zprojapprox_
double zprojapprox_
Definition: LayerProjection.h:158
trklet
Definition: AllProjectionsMemory.h:9
trklet::LayerProjection::zbin1_
double zbin1_
Definition: LayerProjection.h:154
trklet::LayerProjection::projlayer_
int projlayer_
Definition: LayerProjection.h:133
trklet::LayerProjection::fpgaphiprojder_
FPGAWord fpgaphiprojder_
Definition: LayerProjection.h:139
trklet::LayerProjection::fpgaphiproj_
FPGAWord fpgaphiproj_
Definition: LayerProjection.h:137
trklet::LayerProjection::phiprojder
double phiprojder() const
Definition: LayerProjection.h:100
trklet::LayerProjection::fpgazprojder
const FPGAWord & fpgazprojder() const
Definition: LayerProjection.h:60
trklet::LayerProjection::fpgafinezvm_
FPGAWord fpgafinezvm_
Definition: LayerProjection.h:147
trklet::LayerProjection::valid
bool valid() const
Definition: LayerProjection.h:33
trklet::LayerProjection::fpgazbin2projvm
const FPGAWord & fpgazbin2projvm() const
Definition: LayerProjection.h:75
trklet::LayerProjection::phiprojapprox
double phiprojapprox() const
Definition: LayerProjection.h:110
trklet::LayerProjection::fpgazprojvm_
FPGAWord fpgazprojvm_
Definition: LayerProjection.h:143
trklet::LayerProjection::phiprojderapprox
double phiprojderapprox() const
Definition: LayerProjection.h:120
trklet::LayerProjection::rproj_
double rproj_
Definition: LayerProjection.h:135
trklet::LayerProjection::fpgazprojder_
FPGAWord fpgazprojder_
Definition: LayerProjection.h:140
trklet::LayerProjection::fpgazbin1projvm
const FPGAWord & fpgazbin1projvm() const
Definition: LayerProjection.h:70
trklet::LayerProjection::fpgaphiprojvm_
FPGAWord fpgaphiprojvm_
Definition: LayerProjection.h:142