#include <EcalTiming/EcalTiming/interface/EcalCrystalTimingCalibration.h>
Public Member Functions | |
| EcalCrystalTimingCalibration (bool weightMean=true) | |
| default constructor | |
| float | stdDev () const |
| average time (mean of the time distribution) | |
| float | getMeanWithinNSigma (float sigma, float maxRange) |
| average Energy (mean of the Energy distribution) | |
| float | getStdDevWithinNSigma (float sigma, float maxRange) |
| returns the stdDev calculated within abs(mean+ n * stdDev) to reject tails | |
| float | getSkewnessWithinNSigma (float sigma, float maxRange) |
| returns the skewness calculated within abs(mean+ n * stdDev) to reject tails | |
| bool | add (EcalTimingEvent te_) |
| add new event for this crystal | |
| void | dumpToTree (TTree *tree, int ix_, int iy_, int iz_) |
| dump the full set of events in a TTree: need an empty tree | |
| bool | isStableInEnergy (float min, float max, float step) |
| checks if the time measurement is stable changing the min energy threshold | |
Private Member Functions | |
| void | calcAllWithinNSigma (float n_sigma, float maxRange=10) |
| calculate sum, sum2, sum3, n for time if time within n x stdDev and store the result | |
| bool | insertEvent (EcalTimingEvent te_) |
Private Attributes | |
| float | _sum |
| scalar sum of the time of each timingEvent | |
| float | _sum2 |
| scalar sum of the square of the time of each timingEvent | |
| unsigned long int | _num |
| number of timingEvents; | |
| float | _sumE |
| scalar sum of the energy of each timingEvent: needed for average energy | |
| std::map< float, float > | _sumEWithinNSigma |
| variables for calculation of mean, stdDev within n-times the origina stdDev (to remove tails) | |
| std::map< float, unsigned int > | _numWithinNSigma |
| variables for calculation of mean, stdDev within n-times the origina stdDev (to remove tails) | |
| std::vector< EcalTimingEvent > | timingEvents |
| vector containing all the events for this crystal | |
Description: add a description here This class contains all the timing information for a single crystal
| float EcalCrystalTimingCalibration::getMeanWithinNSigma | ( | float | sigma, | |
| float | maxRange | |||
| ) |
returns the mean time within abs(mean+ n * stdDev) to reject tails
References _numWithinNSigma, and calcAllWithinNSigma().
Referenced by getSkewnessWithinNSigma(), and getStdDevWithinNSigma().


| bool EcalCrystalTimingCalibration::insertEvent | ( | EcalTimingEvent | te_ | ) | [inline, private] |
| float EcalCrystalTimingCalibration::stdDev | ( | ) | const [inline] |
< standard deviation of the time distribution
Referenced by calcAllWithinNSigma(), and getSkewnessWithinNSigma().

1.6.1