MarlinTPC  1.2.0
Public Member Functions | List of all members
marlintpc::TripletCalculationTool Class Reference

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 ()
 

Detailed Description

A collection of tools to evaluate the width of a distribution in a histogram.

Available methods:

  1. RMS90
  2. Gaussian fit within range of 3 sigma
  3. rms after 5 sigma iterative cut of tails

Constructor & Destructor Documentation

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

Member Function Documentation

double marlintpc::TripletCalculationTool::getZTriplet ( )
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.


The documentation for this class was generated from the following files: