CMS 3D CMS Logo

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