#include <OpeTool.h>
Public Member Functions | |
boost::shared_ptr< SctData::OpeResult > | OpeTool::analyzeModule (const SctData::RawScanResult &raw) |
For each threshold value for each chip, the analysis evaluates the mean and the variance of the distribution. | |
double | OpeTool::findChi2Binomial (const TH1 &data) |
double | OpeTool::fractionVariance (const TH1 &data) |
Private Member Functions | |
Double_t | OpeTool::BinomialI (Double_t p, Int_t n, Int_t k) |
The following have been copied from the latest ROOT libraries since this latest version of ROOT is not necessarily installed -- these are left over from an earlier version. | |
Double_t | OpeTool::BetaIncomplete (Double_t x, Double_t a, Double_t b) |
Double_t | OpeTool::Beta (Double_t p, Double_t q) |
Double_t | OpeTool::BetaCf (Double_t x, Double_t a, Double_t b) |
For now, it only accepts the Raw data from NoiseOccupancy but this could be extended in the near future.
Definition at line 10 of file OpeTool.h.
|
For each threshold value for each chip, the analysis evaluates the mean and the variance of the distribution. Using propreties of the Binomial distribution, a variance is calculated from the mean. Badness is defined as the ratio of the evaluated variance to the calculated variance. Badness bigger then 2 should be flagged as bad. |
|
The following have been copied from the latest ROOT libraries since this latest version of ROOT is not necessarily installed -- these are left over from an earlier version.
|