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
L1TStub.h
trklet::VMStubME::isPSmodule
bool isPSmodule() const
Definition: VMStubME.h:30
trklet::VMStubME::bend
const FPGAWord & bend() const
Definition: VMStubME.h:26
trklet::VMStubME::stub_
const Stub * stub_
Definition: VMStubME.h:42
FPGAWord.h
trklet::VMStubME::stub
const Stub * stub() const
Definition: VMStubME.h:28
trklet::Stub
Definition: Stub.h:18
trklet::VMStubME::allStubIndex_
FPGAWord allStubIndex_
Definition: VMStubME.h:38
trklet::VMStubME::finephi_
FPGAWord finephi_
Definition: VMStubME.h:39
trklet::FPGAWord
Definition: FPGAWord.h:9
trklet::VMStubME::str
std::string str() const
Definition: VMStubME.cc:14
trklet::VMStubME::stubindex
const FPGAWord & stubindex() const
Definition: VMStubME.h:32
trklet::VMStubME::VMStubME
VMStubME()
Definition: VMStubME.h:17
trklet
Definition: AllInnerStubsMemory.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::VMStubME::finerz_
FPGAWord finerz_
Definition: VMStubME.h:40
trklet::Stub::isPSmodule
bool isPSmodule() const
Definition: Stub.h:71
trklet::VMStubME::bend_
FPGAWord bend_
Definition: VMStubME.h:41
trklet::VMStubME::finerz
const FPGAWord & finerz() const
Definition: VMStubME.h:24
trklet::VMStubME::~VMStubME
~VMStubME()=default
trklet::VMStubME::finephi
const FPGAWord & finephi() const
Definition: VMStubME.h:23
trklet::VMStubME
Definition: VMStubME.h:15
Stub.h