MarlinTPC
1.2.0
|
A collection of tools to evaluate the width of a distribution in a histogram. More...
#include <TripletCalculationTool.h>
Public Member Functions | |
TripletCalculationTool (const gear::TPCParameters *tpcParameters, EVENT::TrackerHit *currentHit, EVENT::TrackerHit *previousHit, EVENT::TrackerHit *nextHit, int method=0) | |
Constructor with histogram to be evaluated and chosen method. More... | |
virtual | ~TripletCalculationTool () |
destructor | |
double | getZTriplet () |
Function giving back the resolution from rms90. More... | |
double | getXYTriplet () |
A collection of tools to evaluate the width of a distribution in a histogram.
Available methods:
marlintpc::TripletCalculationTool::TripletCalculationTool | ( | const gear::TPCParameters * | tpcParameters, |
EVENT::TrackerHit * | currentHit, | ||
EVENT::TrackerHit * | previousHit, | ||
EVENT::TrackerHit * | nextHit, | ||
int | method = 0 |
||
) |
Constructor with histogram to be evaluated and chosen method.
In case of method=0 all methods are evaluated. method=1: RMS90 method=2: Gaussian fit within range of 3 sigma method 3: rms after 5 sigma iterative cut of tails
|
inline |
Function giving back the resolution from rms90.
The factor 0.8 compensates the difference between the rms90 and a sigma of a gaussian distribution which is the value needed for a resolution.