CMS 3D CMS Logo

VMStubTE.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_VMStubTE_h
2 #define L1Trigger_TrackFindingTracklet_interface_VMStubTE_h
3 
4 #include <iostream>
5 #include <fstream>
6 #include <cassert>
7 #include <cmath>
8 #include <vector>
9 
12 
13 namespace trklet {
14 
15  class VMStubTE {
16  public:
17  VMStubTE() {}
18 
20 
21  ~VMStubTE() = default;
22 
23  const FPGAWord& finephi() const { return finephi_; }
24 
25  const FPGAWord& bend() const { return bend_; }
26 
27  const FPGAWord& vmbits() const { return vmbits_; }
28 
29  const Stub* stub() const { return stub_; }
30 
31  bool isPSmodule() const { return stub_->isPSmodule(); }
32 
33  const FPGAWord& stubindex() const { return allStubIndex_; }
34 
35  //return binary string for memory printout
36  std::string str() const;
37 
38  private:
43  const Stub* stub_;
44  };
45 }; // namespace trklet
46 #endif
bool isPSmodule() const
Definition: VMStubTE.h:31
const FPGAWord & bend() const
Definition: VMStubTE.h:25
FPGAWord vmbits_
Definition: VMStubTE.h:41
const Stub * stub() const
Definition: VMStubTE.h:29
const FPGAWord & vmbits() const
Definition: VMStubTE.h:27
FPGAWord allStubIndex_
Definition: VMStubTE.h:42
const FPGAWord & finephi() const
Definition: VMStubTE.h:23
~VMStubTE()=default
FPGAWord bend_
Definition: VMStubTE.h:40
bool isPSmodule() const
Definition: Stub.h:71
FPGAWord finephi_
Definition: VMStubTE.h:39
std::string str() const
Definition: VMStubTE.cc:14
const FPGAWord & stubindex() const
Definition: VMStubTE.h:33
const Stub * stub_
Definition: VMStubTE.h:43