CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

trklet::VMStubTE::VMStubTE ( )
inline

Definition at line 17 of file VMStubTE.h.

17 {}
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 }
FPGAWord vmbits_
Definition: VMStubTE.h:41
const FPGAWord & vmbits() const
Definition: VMStubTE.h:27
const Stub * stub() const
Definition: VMStubTE.h:29
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
const FPGAWord & bend() const
Definition: VMStubTE.h:25
trklet::VMStubTE::~VMStubTE ( )
default

Member Function Documentation

const FPGAWord& trklet::VMStubTE::bend ( ) const
inline
const FPGAWord& trklet::VMStubTE::finephi ( ) const
inline
bool trklet::VMStubTE::isPSmodule ( ) const
inline
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
const Stub* trklet::VMStubTE::stub ( ) const
inline
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
const FPGAWord& trklet::VMStubTE::vmbits ( ) const
inline

Member Data Documentation

FPGAWord trklet::VMStubTE::allStubIndex_
private

Definition at line 42 of file VMStubTE.h.

Referenced by stubindex().

FPGAWord trklet::VMStubTE::bend_
private

Definition at line 40 of file VMStubTE.h.

Referenced by bend().

FPGAWord trklet::VMStubTE::finephi_
private

Definition at line 39 of file VMStubTE.h.

Referenced by finephi().

const Stub* trklet::VMStubTE::stub_
private

Definition at line 43 of file VMStubTE.h.

Referenced by isPSmodule(), and stub().

FPGAWord trklet::VMStubTE::vmbits_
private

Definition at line 41 of file VMStubTE.h.

Referenced by vmbits().