SctAnalysis::OpeTool Class Reference

Analysis of OccupancyPerEvent data. More...

#include <OpeTool.h>


Public Member Functions

 OpeTool ()
 ~OpeTool ()
boost::shared_ptr< SctData::OpeResultOpeTool::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)


Detailed Description

Analysis of OccupancyPerEvent data.

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.


Member Function Documentation

boost::shared_ptr<SctData::OpeResult> SctAnalysis::OpeTool::OpeTool::analyzeModule const SctData::RawScanResult raw  ) 
 

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 documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:04:00 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6