CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
SiPixelLAHarvest::fitResults Struct Reference

Public Member Functions

 fitResults ()
 
void setQualityCutBit (const SiPixelLAHarvest::cuts &cut)
 

Public Attributes

double chi2
 
int covMatrixStatus
 
double dSq
 
double e0
 
double e1
 
double e2
 
double e3
 
double e4
 
double e5
 
double error_LA
 
int fitStatus
 
int ndf
 
int nentries
 
double p0
 
double p1
 
double p2
 
double p3
 
double p4
 
double p5
 
double prob
 
std::bitset< 4 > quality
 
double redChi2
 
double tan_LA
 

Detailed Description

Definition at line 53 of file SiPixelLorentzAnglePCLHarvester.cc.

Constructor & Destructor Documentation

◆ fitResults()

SiPixelLAHarvest::fitResults::fitResults ( )
inline

Definition at line 55 of file SiPixelLorentzAnglePCLHarvester.cc.

References chi2, covMatrixStatus, dSq, e0, e1, e2, e3, e4, e5, error_LA, fitStatus, ndf, nentries, p0, p1, p2, p3, p4, p5, prob, quality, redChi2, and tan_LA.

55  {
56  // set all parameters to default
57  p0 = p1 = p2 = p3 = p4 = p5 = 0.;
58  e0 = e1 = e2 = e3 = e4 = e5 = 0.;
59  chi2 = prob = dSq = redChi2 = -9999.;
60  tan_LA = error_LA = -9999.;
62  quality = {0b0000};
63  };

Member Function Documentation

◆ setQualityCutBit()

void SiPixelLAHarvest::fitResults::setQualityCutBit ( const SiPixelLAHarvest::cuts cut)
inline

Definition at line 65 of file SiPixelLorentzAnglePCLHarvester.cc.

References TkAlMuonSelectors_cfi::cut, Exception, SiPixelLAHarvest::kChi2Cut, SiPixelLAHarvest::kCovStatus, SiPixelLAHarvest::kNentries, SiPixelLAHarvest::kZeroChi2, and quality.

65  {
66  switch (cut) {
67  case kZeroChi2:
68  quality.set(0);
69  break;
70  case kChi2Cut:
71  quality.set(1);
72  break;
73  case kCovStatus:
74  quality.set(2);
75  break;
76  case kNentries:
77  quality.set(3);
78  break;
79  default:
80  throw cms::Exception("Inconsistent Data") << "Passed inexistent cut value";
81  }
82  }

Member Data Documentation

◆ chi2

double SiPixelLAHarvest::fitResults::chi2

Definition at line 90 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ covMatrixStatus

int SiPixelLAHarvest::fitResults::covMatrixStatus

Definition at line 94 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ dSq

double SiPixelLAHarvest::fitResults::dSq

Definition at line 95 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ e0

double SiPixelLAHarvest::fitResults::e0

Definition at line 84 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ e1

double SiPixelLAHarvest::fitResults::e1

Definition at line 85 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ e2

double SiPixelLAHarvest::fitResults::e2

Definition at line 86 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ e3

double SiPixelLAHarvest::fitResults::e3

Definition at line 87 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ e4

double SiPixelLAHarvest::fitResults::e4

Definition at line 88 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ e5

double SiPixelLAHarvest::fitResults::e5

Definition at line 89 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ error_LA

double SiPixelLAHarvest::fitResults::error_LA

Definition at line 98 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ fitStatus

int SiPixelLAHarvest::fitResults::fitStatus

Definition at line 94 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ ndf

int SiPixelLAHarvest::fitResults::ndf

Definition at line 91 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ nentries

int SiPixelLAHarvest::fitResults::nentries

Definition at line 92 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ p0

double SiPixelLAHarvest::fitResults::p0

Definition at line 84 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ p1

double SiPixelLAHarvest::fitResults::p1

Definition at line 85 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ p2

double SiPixelLAHarvest::fitResults::p2

Definition at line 86 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ p3

double SiPixelLAHarvest::fitResults::p3

Definition at line 87 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ p4

double SiPixelLAHarvest::fitResults::p4

◆ p5

double SiPixelLAHarvest::fitResults::p5

Definition at line 89 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ prob

double SiPixelLAHarvest::fitResults::prob

Definition at line 93 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ quality

std::bitset<4> SiPixelLAHarvest::fitResults::quality

Definition at line 99 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults(), and setQualityCutBit().

◆ redChi2

double SiPixelLAHarvest::fitResults::redChi2

Definition at line 96 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().

◆ tan_LA

double SiPixelLAHarvest::fitResults::tan_LA

Definition at line 97 of file SiPixelLorentzAnglePCLHarvester.cc.

Referenced by fitResults().