CMS 3D CMS Logo

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

#include <VMStubTE.h>

Public Member Functions

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

Private Attributes

FPGAWord allStubIndex_
 
FPGAWord bend_
 
FPGAWord finephi_
 
const Stubstub_
 
FPGAWord vmbits_
 

Detailed Description

Definition at line 15 of file VMStubTE.h.

Constructor & Destructor Documentation

◆ VMStubTE() [1/2]

trklet::VMStubTE::VMStubTE ( )
inline

Definition at line 17 of file VMStubTE.h.

17 {}

◆ VMStubTE() [2/2]

VMStubTE::VMStubTE ( const Stub stub,
FPGAWord  finephi,
FPGAWord  bend,
FPGAWord  vmbits,
FPGAWord  allstubindex 
)

Definition at line 6 of file VMStubTE.cc.

6  {
7  stub_ = stub;
9  bend_ = bend;
10  vmbits_ = vmbits;
11  allStubIndex_ = allstubindex;
12 }
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
FPGAWord bend_
Definition: VMStubTE.h:40
FPGAWord finephi_
Definition: VMStubTE.h:39
const Stub * stub_
Definition: VMStubTE.h:43

◆ ~VMStubTE()

trklet::VMStubTE::~VMStubTE ( )
default

Member Function Documentation

◆ bend()

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

◆ finephi()

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

◆ isPSmodule()

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

◆ str()

std::string VMStubTE::str ( ) const

Definition at line 14 of file VMStubTE.cc.

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

◆ stub()

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

◆ stubindex()

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

Definition at line 33 of file VMStubTE.h.

References allStubIndex_.

33 { return allStubIndex_; }
FPGAWord allStubIndex_
Definition: VMStubTE.h:42

◆ vmbits()

const FPGAWord& trklet::VMStubTE::vmbits ( ) const
inline

Member Data Documentation

◆ allStubIndex_

FPGAWord trklet::VMStubTE::allStubIndex_
private

Definition at line 42 of file VMStubTE.h.

Referenced by stubindex().

◆ bend_

FPGAWord trklet::VMStubTE::bend_
private

Definition at line 40 of file VMStubTE.h.

Referenced by bend().

◆ finephi_

FPGAWord trklet::VMStubTE::finephi_
private

Definition at line 39 of file VMStubTE.h.

Referenced by finephi().

◆ stub_

const Stub* trklet::VMStubTE::stub_
private

Definition at line 43 of file VMStubTE.h.

Referenced by isPSmodule(), and stub().

◆ vmbits_

FPGAWord trklet::VMStubTE::vmbits_
private

Definition at line 41 of file VMStubTE.h.

Referenced by vmbits().