CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
StubResult Class Reference

#include <StubResult.h>

Public Member Functions

int getLayer () const
 
const MuonStubPtrgetMuonStub () const
 
int getPdfBin () const
 
float getPdfVal () const
 
bool getValid () const
 
void reset ()
 
void setPdfVal (float pdfVal)
 
void setValid (bool valid)
 
 StubResult ()
 
 StubResult (float pdfVal, bool valid, int pdfBin, int layer, MuonStubPtr stub)
 

Private Attributes

int layer = 0
 
int pdfBin = 0
 
float pdfVal = 0
 
MuonStubPtr stub
 
bool valid = false
 

Detailed Description

Definition at line 14 of file StubResult.h.

Constructor & Destructor Documentation

◆ StubResult() [1/2]

StubResult::StubResult ( )
inline

Definition at line 16 of file StubResult.h.

16 {} //empty result

◆ StubResult() [2/2]

StubResult::StubResult ( float  pdfVal,
bool  valid,
int  pdfBin,
int  layer,
MuonStubPtr  stub 
)
inline

Definition at line 18 of file StubResult.h.

int pdfBin
Definition: StubResult.h:48
float pdfVal
Definition: StubResult.h:44
MuonStubPtr stub
Definition: StubResult.h:53
bool valid
Definition: StubResult.h:45

Member Function Documentation

◆ getLayer()

int StubResult::getLayer ( ) const
inline

Definition at line 33 of file StubResult.h.

References layer.

33 { return layer; }

◆ getMuonStub()

const MuonStubPtr& StubResult::getMuonStub ( ) const
inline

Definition at line 21 of file StubResult.h.

References stub.

21 { return stub; }
MuonStubPtr stub
Definition: StubResult.h:53

◆ getPdfBin()

int StubResult::getPdfBin ( ) const
inline

Definition at line 23 of file StubResult.h.

References pdfBin.

23 { return pdfBin; }
int pdfBin
Definition: StubResult.h:48

◆ getPdfVal()

float StubResult::getPdfVal ( ) const
inline

Definition at line 25 of file StubResult.h.

References pdfVal.

25 { return pdfVal; }
float pdfVal
Definition: StubResult.h:44

◆ getValid()

bool StubResult::getValid ( ) const
inline

Definition at line 29 of file StubResult.h.

References valid.

Referenced by GoldenPatternResult::setStubResult().

29 { return valid; }
bool valid
Definition: StubResult.h:45

◆ reset()

void StubResult::reset ( void  )
inline

Definition at line 35 of file StubResult.h.

References layer, pdfBin, pdfVal, stub, and valid.

35  {
36  pdfVal = 0;
37  valid = false;
38  pdfBin = 0;
39  layer = 0;
40  stub.reset();
41  }
int pdfBin
Definition: StubResult.h:48
float pdfVal
Definition: StubResult.h:44
MuonStubPtr stub
Definition: StubResult.h:53
bool valid
Definition: StubResult.h:45

◆ setPdfVal()

void StubResult::setPdfVal ( float  pdfVal)
inline

Definition at line 27 of file StubResult.h.

References pdfVal.

27 { this->pdfVal = pdfVal; }
float pdfVal
Definition: StubResult.h:44

◆ setValid()

void StubResult::setValid ( bool  valid)
inline

Definition at line 31 of file StubResult.h.

References valid.

31 { this->valid = valid; }
bool valid
Definition: StubResult.h:45

Member Data Documentation

◆ layer

int StubResult::layer = 0
private

◆ pdfBin

int StubResult::pdfBin = 0
private

Definition at line 48 of file StubResult.h.

Referenced by getPdfBin(), and reset().

◆ pdfVal

float StubResult::pdfVal = 0
private

Definition at line 44 of file StubResult.h.

Referenced by getPdfVal(), reset(), and setPdfVal().

◆ stub

MuonStubPtr StubResult::stub
private

Definition at line 53 of file StubResult.h.

Referenced by getMuonStub(), and reset().

◆ valid

bool StubResult::valid = false
private

Definition at line 45 of file StubResult.h.

Referenced by getValid(), reset(), and setValid().