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
trklet::VMStubTE::stub_
const Stub * stub_
Definition: VMStubTE.h:43
trklet::VMStubTE
Definition: VMStubTE.h:15
trklet::VMStubTE::vmbits_
FPGAWord vmbits_
Definition: VMStubTE.h:41
trklet::VMStubTE::VMStubTE
VMStubTE()
Definition: VMStubTE.h:17
trklet::VMStubTE::isPSmodule
bool isPSmodule() const
Definition: VMStubTE.h:31
FPGAWord.h
trklet::VMStubTE::bend
const FPGAWord & bend() const
Definition: VMStubTE.h:25
trklet::Stub
Definition: Stub.h:18
trklet::VMStubTE::~VMStubTE
~VMStubTE()=default
trklet::FPGAWord
Definition: FPGAWord.h:9
trklet::VMStubTE::bend_
FPGAWord bend_
Definition: VMStubTE.h:40
trklet::VMStubTE::stub
const Stub * stub() const
Definition: VMStubTE.h:29
trklet::VMStubTE::stubindex
const FPGAWord & stubindex() const
Definition: VMStubTE.h:33
trklet::VMStubTE::vmbits
const FPGAWord & vmbits() const
Definition: VMStubTE.h:27
trklet
Definition: AllInnerStubsMemory.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::VMStubTE::allStubIndex_
FPGAWord allStubIndex_
Definition: VMStubTE.h:42
trklet::VMStubTE::finephi
const FPGAWord & finephi() const
Definition: VMStubTE.h:23
trklet::Stub::isPSmodule
bool isPSmodule() const
Definition: Stub.h:71
trklet::VMStubTE::finephi_
FPGAWord finephi_
Definition: VMStubTE.h:39
Stub.h
trklet::VMStubTE::str
std::string str() const
Definition: VMStubTE.cc:14