CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
trklet::VMStubME Class Reference

#include <VMStubME.h>

Public Member Functions

const FPGAWordbend () const
 
const FPGAWordfinephi () const
 
const FPGAWordfinerz () const
 
bool isPSmodule () const
 
std::string str () const
 
const Stubstub () const
 
const FPGAWordstubindex () const
 
 VMStubME ()
 
 VMStubME (const Stub *stub, FPGAWord finephi, FPGAWord finerz, FPGAWord bend, FPGAWord allstubindex)
 
 ~VMStubME ()=default
 

Private Attributes

FPGAWord allStubIndex_
 
FPGAWord bend_
 
FPGAWord finephi_
 
FPGAWord finerz_
 
const Stubstub_
 

Detailed Description

Definition at line 15 of file VMStubME.h.

Constructor & Destructor Documentation

◆ VMStubME() [1/2]

trklet::VMStubME::VMStubME ( )
inline

Definition at line 17 of file VMStubME.h.

17 {}

◆ VMStubME() [2/2]

VMStubME::VMStubME ( const Stub stub,
FPGAWord  finephi,
FPGAWord  finerz,
FPGAWord  bend,
FPGAWord  allstubindex 
)

Definition at line 6 of file VMStubME.cc.

6  {
7  stub_ = stub;
9  finerz_ = finerz;
10  bend_ = bend;
11  allStubIndex_ = allstubindex;
12 }
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
const Stub * stub_
Definition: VMStubME.h:42
const FPGAWord & finephi() const
Definition: VMStubME.h:23

◆ ~VMStubME()

trklet::VMStubME::~VMStubME ( )
default

Member Function Documentation

◆ bend()

const FPGAWord& trklet::VMStubME::bend ( ) const
inline

Definition at line 26 of file VMStubME.h.

References bend_.

Referenced by trklet::MatchEngine::execute(), and trklet::MatchEngineUnit::step().

26 { return bend_; }
FPGAWord bend_
Definition: VMStubME.h:41

◆ finephi()

const FPGAWord& trklet::VMStubME::finephi ( ) const
inline

Definition at line 23 of file VMStubME.h.

References finephi_.

Referenced by trklet::MatchEngine::execute(), and trklet::MatchEngineUnit::step().

23 { return finephi_; }
FPGAWord finephi_
Definition: VMStubME.h:39

◆ finerz()

const FPGAWord& trklet::VMStubME::finerz ( ) const
inline

Definition at line 24 of file VMStubME.h.

References finerz_.

Referenced by trklet::MatchEngine::execute(), and trklet::MatchEngineUnit::step().

24 { return finerz_; }
FPGAWord finerz_
Definition: VMStubME.h:40

◆ isPSmodule()

bool trklet::VMStubME::isPSmodule ( ) const
inline

Definition at line 30 of file VMStubME.h.

References trklet::Stub::isPSmodule(), and stub_.

Referenced by trklet::MatchEngine::execute(), and trklet::MatchEngineUnit::step().

30 { return stub_->isPSmodule(); }
const Stub * stub_
Definition: VMStubME.h:42
bool isPSmodule() const
Definition: Stub.h:71

◆ str()

std::string VMStubME::str ( ) const

Definition at line 14 of file VMStubME.cc.

14  {
15  string stub = allStubIndex_.str();
16  stub += "|";
17  stub += bend_.str();
18  stub += "|";
19  stub += finephi_.str();
20  stub += "|";
21  stub += finerz_.str();
22 
23  return stub;
24 }
FPGAWord finerz_
Definition: VMStubME.h:40
FPGAWord bend_
Definition: VMStubME.h:41
const Stub * stub() const
Definition: VMStubME.h:28
FPGAWord allStubIndex_
Definition: VMStubME.h:38
FPGAWord finephi_
Definition: VMStubME.h:39
std::string str() const
Definition: FPGAWord.cc:54

◆ stub()

const Stub* trklet::VMStubME::stub ( ) const
inline

Definition at line 28 of file VMStubME.h.

References stub_.

Referenced by trklet::MatchEngine::execute(), and trklet::MatchEngineUnit::step().

28 { return stub_; }
const Stub * stub_
Definition: VMStubME.h:42

◆ stubindex()

const FPGAWord& trklet::VMStubME::stubindex ( ) const
inline

Definition at line 32 of file VMStubME.h.

References allStubIndex_.

Referenced by trklet::MatchEngineUnit::step().

32 { return allStubIndex_; }
FPGAWord allStubIndex_
Definition: VMStubME.h:38

Member Data Documentation

◆ allStubIndex_

FPGAWord trklet::VMStubME::allStubIndex_
private

Definition at line 38 of file VMStubME.h.

Referenced by stubindex().

◆ bend_

FPGAWord trklet::VMStubME::bend_
private

Definition at line 41 of file VMStubME.h.

Referenced by bend().

◆ finephi_

FPGAWord trklet::VMStubME::finephi_
private

Definition at line 39 of file VMStubME.h.

Referenced by finephi().

◆ finerz_

FPGAWord trklet::VMStubME::finerz_
private

Definition at line 40 of file VMStubME.h.

Referenced by finerz().

◆ stub_

const Stub* trklet::VMStubME::stub_
private

Definition at line 42 of file VMStubME.h.

Referenced by isPSmodule(), and stub().