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 
32  bool valid() const { return valid_; }
33 
34  int projlayer() const {
35  assert(valid_);
36  return projlayer_;
37  };
38 
39  double rproj() const {
40  assert(valid_);
41  return rproj_;
42  };
43 
44  const FPGAWord& fpgaphiproj() const {
45  assert(valid_);
46  return fpgaphiproj_;
47  };
48 
49  const FPGAWord& fpgazproj() const {
50  assert(valid_);
51  return fpgazproj_;
52  };
53 
54  const FPGAWord& fpgaphiprojder() const {
55  assert(valid_);
56  return fpgaphiprojder_;
57  };
58 
59  const FPGAWord& fpgazprojder() const {
60  assert(valid_);
61  return fpgazprojder_;
62  };
63 
64  const FPGAWord& fpgaphiprojvm() const {
65  assert(valid_);
66  return fpgaphiprojvm_;
67  };
68 
69  const FPGAWord& fpgazbin1projvm() const {
70  assert(valid_);
71  return fpgazbin1projvm_;
72  };
73 
74  const FPGAWord& fpgazbin2projvm() const {
75  assert(valid_);
76  return fpgazbin2projvm_;
77  };
78 
79  const FPGAWord& fpgafinezvm() const {
80  assert(valid_);
81  return fpgafinezvm_;
82  };
83 
84  const FPGAWord& fpgazprojvm() const {
85  assert(valid_);
86  return fpgazprojvm_;
87  };
88 
89  double phiproj() const {
90  assert(valid_);
91  return phiproj_;
92  };
93 
94  double zproj() const {
95  assert(valid_);
96  return zproj_;
97  };
98 
99  double phiprojder() const {
100  assert(valid_);
101  return phiprojder_;
102  };
103 
104  double zprojder() const {
105  assert(valid_);
106  return zprojder_;
107  };
108 
109  double phiprojapprox() const {
110  assert(valid_);
111  return phiprojapprox_;
112  };
113 
114  double zprojapprox() const {
115  assert(valid_);
116  return zprojapprox_;
117  };
118 
119  double phiprojderapprox() const {
120  assert(valid_);
121  return phiprojderapprox_;
122  };
123 
124  double zprojderapprox() const {
125  assert(valid_);
126  return zprojderapprox_;
127  };
128 
129  protected:
130  bool valid_;
131 
133 
134  double rproj_;
135 
140 
143 
147 
148  double phiproj_;
149  double zproj_;
150  double phiprojder_;
151  double zprojder_;
152 
153  double zbin1_;
154  double zbin2_;
155 
157  double zprojapprox_;
160  };
161 }; // namespace trklet
162 #endif
trklet::LayerProjection::zprojderapprox_
double zprojderapprox_
Definition: LayerProjection.h:159
trklet::LayerProjection::fpgafinezvm
const FPGAWord & fpgafinezvm() const
Definition: LayerProjection.h:79
trklet::LayerProjection::zbin2_
double zbin2_
Definition: LayerProjection.h:154
trklet::LayerProjection::phiproj_
double phiproj_
Definition: LayerProjection.h:148
trklet::LayerProjection::zprojder_
double zprojder_
Definition: LayerProjection.h:151
trklet::LayerProjection::fpgaphiprojvm
const FPGAWord & fpgaphiprojvm() const
Definition: LayerProjection.h:64
trklet::LayerProjection::rproj
double rproj() const
Definition: LayerProjection.h:39
trklet::LayerProjection::fpgazbin2projvm_
FPGAWord fpgazbin2projvm_
Definition: LayerProjection.h:145
trklet::LayerProjection::zproj
double zproj() const
Definition: LayerProjection.h:94
trklet::LayerProjection::phiprojapprox_
double phiprojapprox_
Definition: LayerProjection.h:156
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)
Definition: LayerProjection.cc:9
trklet::LayerProjection::phiproj
double phiproj() const
Definition: LayerProjection.h:89
trklet::LayerProjection::fpgazbin1projvm_
FPGAWord fpgazbin1projvm_
Definition: LayerProjection.h:144
trklet::Settings
Definition: Settings.h:26
trklet::LayerProjection::zprojapprox
double zprojapprox() const
Definition: LayerProjection.h:114
cms::cuda::assert
assert(be >=bs)
trklet::LayerProjection::~LayerProjection
~LayerProjection()=default
trklet::LayerProjection::phiprojderapprox_
double phiprojderapprox_
Definition: LayerProjection.h:158
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:34
trklet::LayerProjection::fpgaphiproj
const FPGAWord & fpgaphiproj() const
Definition: LayerProjection.h:44
trklet::LayerProjection::zproj_
double zproj_
Definition: LayerProjection.h:149
trklet::LayerProjection::fpgazproj
const FPGAWord & fpgazproj() const
Definition: LayerProjection.h:49
trklet::LayerProjection::zprojderapprox
double zprojderapprox() const
Definition: LayerProjection.h:124
trklet::LayerProjection::zprojder
double zprojder() const
Definition: LayerProjection.h:104
trklet::FPGAWord
Definition: FPGAWord.h:9
trklet::LayerProjection::fpgaphiprojder
const FPGAWord & fpgaphiprojder() const
Definition: LayerProjection.h:54
trklet::LayerProjection::fpgazproj_
FPGAWord fpgazproj_
Definition: LayerProjection.h:137
trklet::LayerProjection::phiprojder_
double phiprojder_
Definition: LayerProjection.h:150
trklet::LayerProjection::valid_
bool valid_
Definition: LayerProjection.h:127
trklet::LayerProjection::fpgazprojvm
const FPGAWord & fpgazprojvm() const
Definition: LayerProjection.h:84
trklet::LayerProjection::zprojapprox_
double zprojapprox_
Definition: LayerProjection.h:157
trklet
Definition: AllProjectionsMemory.h:9
trklet::LayerProjection::zbin1_
double zbin1_
Definition: LayerProjection.h:153
trklet::LayerProjection::projlayer_
int projlayer_
Definition: LayerProjection.h:132
trklet::LayerProjection::fpgaphiprojder_
FPGAWord fpgaphiprojder_
Definition: LayerProjection.h:138
trklet::LayerProjection::fpgaphiproj_
FPGAWord fpgaphiproj_
Definition: LayerProjection.h:136
trklet::LayerProjection::phiprojder
double phiprojder() const
Definition: LayerProjection.h:99
trklet::LayerProjection::fpgazprojder
const FPGAWord & fpgazprojder() const
Definition: LayerProjection.h:59
trklet::LayerProjection::fpgafinezvm_
FPGAWord fpgafinezvm_
Definition: LayerProjection.h:146
trklet::LayerProjection::valid
bool valid() const
Definition: LayerProjection.h:32
trklet::LayerProjection::fpgazbin2projvm
const FPGAWord & fpgazbin2projvm() const
Definition: LayerProjection.h:74
trklet::LayerProjection::phiprojapprox
double phiprojapprox() const
Definition: LayerProjection.h:109
trklet::LayerProjection::fpgazprojvm_
FPGAWord fpgazprojvm_
Definition: LayerProjection.h:142
trklet::LayerProjection::phiprojderapprox
double phiprojderapprox() const
Definition: LayerProjection.h:119
trklet::LayerProjection::rproj_
double rproj_
Definition: LayerProjection.h:134
trklet::LayerProjection::fpgazprojder_
FPGAWord fpgazprojder_
Definition: LayerProjection.h:139
trklet::LayerProjection::fpgazbin1projvm
const FPGAWord & fpgazbin1projvm() const
Definition: LayerProjection.h:69
trklet::LayerProjection::fpgaphiprojvm_
FPGAWord fpgaphiprojvm_
Definition: LayerProjection.h:141