FairRoot/PandaRoot
|
#include <PndTrkCombiLegendreTransform.h>
Public Member Functions | |
PndTrkCombiLegendreTransform () | |
~PndTrkCombiLegendreTransform () | |
void | SetUpLegendreHisto () |
void | SetUpLegendreHisto (double thetaNofBin, double thetaMin, double thetaMax, double rNofBin, double rMin, double rMax) |
void | ResetLegendreHisto () |
TH2F * | GetLegendreHisto () |
void | FillLegendreHisto (double x1, double y1, double radius1, double x2, double y2, double radius2) |
void | FillHisto (TH2F *histo, double x1, double y1, double r1, double x2, double y2, double r2) |
void | ComputeThetaR (double x1, double y1, double r1, double x2, double y2, double r2, double &theta, double &r) |
int | ExtractLegendreMaximum (double &theta_max, double &r_max) |
int | ExtractMaximumFromHisto (TH2F *histo, double &theta_max, double &r_max) |
void | ExtractLegendreSingleLineParameters (double &slope, double &intercept) |
void | ExtractLineParameters (double theta, double r, double &slope, double &intercept) |
void | Draw () |
Private Attributes | |
Double_t | fThetaNofBin |
Double_t | fThetaMin |
Double_t | fThetaMax |
Double_t | fRNofBin |
Double_t | fRMin |
Double_t | fRMax |
TH2F * | fhLegendre |
Definition at line 7 of file PndTrkCombiLegendreTransform.h.
PndTrkCombiLegendreTransform::PndTrkCombiLegendreTransform | ( | ) |
Definition at line 27 of file PndTrkCombiLegendreTransform.cxx.
References fThetaMax, and fThetaMin.
PndTrkCombiLegendreTransform::~PndTrkCombiLegendreTransform | ( | ) |
Definition at line 40 of file PndTrkCombiLegendreTransform.cxx.
void PndTrkCombiLegendreTransform::ComputeThetaR | ( | double | x1, |
double | y1, | ||
double | r1, | ||
double | x2, | ||
double | y2, | ||
double | r2, | ||
double & | theta, | ||
double & | r | ||
) |
Definition at line 74 of file PndTrkCombiLegendreTransform.cxx.
References alpha, CAMath::ATan2(), CAMath::Cos(), dx, dy, fabs(), ir, Pi, r1, r2, CAMath::Sin(), and CAMath::Sqrt().
Referenced by PndTrkCombiLegendreTask::ComputePlaneExtremities().
void PndTrkCombiLegendreTransform::Draw | ( | ) |
Definition at line 144 of file PndTrkCombiLegendreTransform.cxx.
Referenced by PndTrkCombiLegendreTask::DrawLegendreHisto(), PndTrkCombiLegendreTask::FillPeakCouplesHisto(), and PndTrkCombiLegendreTask::FillPeakNeighCouplesHisto().
int PndTrkCombiLegendreTransform::ExtractLegendreMaximum | ( | double & | theta_max, |
double & | r_max | ||
) |
Definition at line 148 of file PndTrkCombiLegendreTransform.cxx.
Referenced by PndTrkCombiLegendreTask::LegendreFit().
void PndTrkCombiLegendreTransform::ExtractLegendreSingleLineParameters | ( | double & | slope, |
double & | intercept | ||
) |
Definition at line 162 of file PndTrkCombiLegendreTransform.cxx.
Referenced by PndTrkCombiLegendreTask::LegendreFit().
void PndTrkCombiLegendreTransform::ExtractLineParameters | ( | double | theta, |
double | r, | ||
double & | slope, | ||
double & | intercept | ||
) |
Definition at line 168 of file PndTrkCombiLegendreTransform.cxx.
References CAMath::Sin(), and CAMath::Tan().
int PndTrkCombiLegendreTransform::ExtractMaximumFromHisto | ( | TH2F * | histo, |
double & | theta_max, | ||
double & | r_max | ||
) |
Definition at line 152 of file PndTrkCombiLegendreTransform.cxx.
void PndTrkCombiLegendreTransform::FillHisto | ( | TH2F * | histo, |
double | x1, | ||
double | y1, | ||
double | r1, | ||
double | x2, | ||
double | y2, | ||
double | r2 | ||
) |
Definition at line 67 of file PndTrkCombiLegendreTransform.cxx.
void PndTrkCombiLegendreTransform::FillLegendreHisto | ( | double | x1, |
double | y1, | ||
double | radius1, | ||
double | x2, | ||
double | y2, | ||
double | radius2 | ||
) |
Definition at line 140 of file PndTrkCombiLegendreTransform.cxx.
Referenced by PndTrkCombiLegendreTask::FillPeakCouplesHisto(), and PndTrkCombiLegendreTask::FillPeakNeighCouplesHisto().
|
inline |
Definition at line 17 of file PndTrkCombiLegendreTransform.h.
References fhLegendre.
Referenced by PndTrkCombiLegendreTask::LegendreFit(), and PndTrkCombiLegendreTask::LegendreFitWithRecovering().
void PndTrkCombiLegendreTransform::ResetLegendreHisto | ( | ) |
Definition at line 61 of file PndTrkCombiLegendreTransform.cxx.
Referenced by PndTrkCombiLegendreTask::LegendreFit().
void PndTrkCombiLegendreTransform::SetUpLegendreHisto | ( | ) |
Definition at line 46 of file PndTrkCombiLegendreTransform.cxx.
References fThetaMax, and fThetaMin.
Referenced by PndTrkCombiLegendreTask::Init(), and PndTrkCombiLegendreTask::LegendreFit().
void PndTrkCombiLegendreTransform::SetUpLegendreHisto | ( | double | thetaNofBin, |
double | thetaMin, | ||
double | thetaMax, | ||
double | rNofBin, | ||
double | rMin, | ||
double | rMax | ||
) |
Definition at line 51 of file PndTrkCombiLegendreTransform.cxx.
References fThetaMax, and fThetaMin.
|
private |
Definition at line 31 of file PndTrkCombiLegendreTransform.h.
Referenced by GetLegendreHisto().
|
private |
Definition at line 30 of file PndTrkCombiLegendreTransform.h.
|
private |
Definition at line 30 of file PndTrkCombiLegendreTransform.h.
|
private |
Definition at line 30 of file PndTrkCombiLegendreTransform.h.
|
private |
Definition at line 30 of file PndTrkCombiLegendreTransform.h.
|
private |
Definition at line 30 of file PndTrkCombiLegendreTransform.h.
|
private |
Definition at line 30 of file PndTrkCombiLegendreTransform.h.