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
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 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::StubResult ( )
inline

Definition at line 16 of file StubResult.h.

16 {} //empty result
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:46
float pdfVal
Definition: StubResult.h:42
MuonStubPtr stub
Definition: StubResult.h:51
bool valid
Definition: StubResult.h:43

Member Function Documentation

int StubResult::getLayer ( ) const
inline

Definition at line 31 of file StubResult.h.

References layer.

31 { return layer; }
const MuonStubPtr& StubResult::getMuonStub ( ) const
inline

Definition at line 21 of file StubResult.h.

References stub.

21 { return stub; }
MuonStubPtr stub
Definition: StubResult.h:51
int StubResult::getPdfBin ( ) const
inline

Definition at line 23 of file StubResult.h.

References pdfBin.

23 { return pdfBin; }
int pdfBin
Definition: StubResult.h:46
float StubResult::getPdfVal ( ) const
inline

Definition at line 25 of file StubResult.h.

References pdfVal.

25 { return pdfVal; }
float pdfVal
Definition: StubResult.h:42
bool StubResult::getValid ( ) const
inline

Definition at line 27 of file StubResult.h.

References valid.

Referenced by GoldenPatternResult::setStubResult().

27 { return valid; }
bool valid
Definition: StubResult.h:43
void StubResult::reset ( void  )
inline

Definition at line 33 of file StubResult.h.

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

33  {
34  pdfVal = 0;
35  valid = false;
36  pdfBin = 0;
37  layer = 0;
38  stub.reset();
39  }
int pdfBin
Definition: StubResult.h:46
float pdfVal
Definition: StubResult.h:42
MuonStubPtr stub
Definition: StubResult.h:51
bool valid
Definition: StubResult.h:43
void StubResult::setValid ( bool  valid)
inline

Definition at line 29 of file StubResult.h.

References valid.

29 { this->valid = valid; }
bool valid
Definition: StubResult.h:43

Member Data Documentation

int StubResult::layer = 0
private
int StubResult::pdfBin = 0
private

Definition at line 46 of file StubResult.h.

Referenced by getPdfBin(), and reset().

float StubResult::pdfVal = 0
private

Definition at line 42 of file StubResult.h.

Referenced by getPdfVal(), and reset().

MuonStubPtr StubResult::stub
private

Definition at line 51 of file StubResult.h.

Referenced by getMuonStub(), and reset().

bool StubResult::valid = false
private

Definition at line 43 of file StubResult.h.

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