CMS 3D CMS Logo

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

#include <StubStreamData.h>

Public Member Functions

const std::string & dataBits () const
 
int iSeed () const
 
const L1TStubstub () const
 
 StubStreamData ()
 
 StubStreamData (int iSeed, const L1TStub &stub, const std::string &dataBits)
 
bool valid () const
 
 ~StubStreamData ()=default
 

Private Attributes

std::string dataBits_ {""}
 
int iSeed_ {-1}
 
L1TStub stub_
 

Detailed Description

Definition at line 15 of file StubStreamData.h.

Constructor & Destructor Documentation

◆ StubStreamData() [1/2]

trklet::StubStreamData::StubStreamData ( )
inline

Definition at line 17 of file StubStreamData.h.

17 {}

◆ StubStreamData() [2/2]

trklet::StubStreamData::StubStreamData ( int  iSeed,
const L1TStub stub,
const std::string &  dataBits 
)
inline

Definition at line 19 of file StubStreamData.h.

const std::string & dataBits() const
const L1TStub & stub() const

◆ ~StubStreamData()

trklet::StubStreamData::~StubStreamData ( )
default

Member Function Documentation

◆ dataBits()

const std::string& trklet::StubStreamData::dataBits ( ) const
inline

Definition at line 28 of file StubStreamData.h.

References dataBits_.

Referenced by L1FPGATrackProducer::produce().

28 { return dataBits_; }

◆ iSeed()

int trklet::StubStreamData::iSeed ( ) const
inline

Definition at line 24 of file StubStreamData.h.

References iSeed_.

Referenced by L1FPGATrackProducer::produce().

24 { return iSeed_; } // Seed type

◆ stub()

const L1TStub& trklet::StubStreamData::stub ( ) const
inline

Definition at line 26 of file StubStreamData.h.

References stub_.

Referenced by L1FPGATrackProducer::produce().

26 { return stub_; }

◆ valid()

bool trklet::StubStreamData::valid ( ) const
inline

Definition at line 25 of file StubStreamData.h.

References iSeed_.

Referenced by L1FPGATrackProducer::produce().

25 { return (iSeed_ >= 0); } // Valid stub

Member Data Documentation

◆ dataBits_

std::string trklet::StubStreamData::dataBits_ {""}
private

Definition at line 33 of file StubStreamData.h.

Referenced by dataBits().

◆ iSeed_

int trklet::StubStreamData::iSeed_ {-1}
private

Definition at line 31 of file StubStreamData.h.

Referenced by iSeed(), and valid().

◆ stub_

L1TStub trklet::StubStreamData::stub_
private

Definition at line 32 of file StubStreamData.h.

Referenced by stub().