Quality assurance checker for the FMD.
More...
#include <AliFMDQAChecker.h>
|
| AliFMDQAChecker () |
|
virtual | ~AliFMDQAChecker () |
|
void | Check (Double_t *rv, AliQAv1::ALITASK_t what, TObjArray **list, const AliDetectorRecoParam *t) |
|
void | MakeImage (TObjArray **list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode) |
|
void | SetDoScale (Bool_t on=true) |
|
| AliQACheckerBase (const char *name="", const char *title="") |
|
virtual | ~AliQACheckerBase () |
|
void | DeleteImages () |
|
TList * | GetExternParamlist () |
|
TCanvas ** | GetImage () |
|
TCanvas * | GetImage (AliRecoParam::EventSpecie_t es) |
|
virtual void | Init (const AliQAv1::DETECTORINDEX_t det) |
|
void | PrintExternParam () |
|
void | Run (AliQAv1::ALITASK_t tsk, const AliDetectorRecoParam *recoParam=NULL) |
|
void | Run (AliQAv1::ALITASK_t tsk, TObjArray **list, const AliDetectorRecoParam *recoParam=NULL) |
|
void | Run (AliQAv1::ALITASK_t, TNtupleD **, const AliDetectorRecoParam *) |
|
void | SetExternParamlist (TList *list) |
|
void | SetHiLo (Float_t *hiValue, Float_t *lowValue) |
|
void | SetPrintImage (Bool_t opt=kTRUE) |
|
|
void | AddStatusPave (TH1 *hist, Int_t qual, Double_t xl=-1, Double_t yl=-1, Double_t xh=-1, Double_t yh=-1) const |
|
UShort_t | CheckOne (AliQAv1::ALITASK_t what, AliRecoParam::EventSpecie_t specie, TH1 *hist) const |
|
UShort_t | CheckRaw (AliRecoParam::EventSpecie_t specie, TH1 *hist) const |
|
UShort_t | CheckSim (AliRecoParam::EventSpecie_t specie, TH1 *hist) const |
|
UShort_t | CheckESD (AliRecoParam::EventSpecie_t specie, TH1 *hist) const |
|
UShort_t | CheckRec (AliRecoParam::EventSpecie_t specie, TH1 *hist) const |
|
void | SetQA (AliQAv1::ALITASK_t index, Double_t *values) const |
|
void | ProcessExternalParams () |
|
void | ProcessExternalParam (const char *name, Double_t &v) |
|
void | GetThresholds () |
|
UShort_t | BasicCheck (TH1 *hist) const |
|
AliQAv1::QABIT_t | Quality2Bit (UShort_t qual) const |
|
UShort_t | CheckFit (TH1 *hist, const TFitResultPtr &res, Double_t low, Double_t high, Int_t &color) const |
|
Double_t | DiffC (const TH1 *href, const TH1 *hin) const |
|
Double_t | DiffK (const TH1 *href, const TH1 *hin) const |
|
void | Finish () const |
|
void | GetRefSubDir (const char *det, const char *task, TDirectory *&dirFile, TObjArray **&dirOCDB) |
|
Quality assurance checker for the FMD.
Definition at line 18 of file AliFMDQAChecker.h.
AliFMDQAChecker::AliFMDQAChecker |
( |
| ) |
|
virtual AliFMDQAChecker::~AliFMDQAChecker |
( |
| ) |
|
|
inlinevirtual |
Copy constructor - not implemented
- Parameters
-
void AliFMDQAChecker::AddStatusPave |
( |
TH1 * |
hist, |
|
|
Int_t |
qual, |
|
|
Double_t |
xl = -1 , |
|
|
Double_t |
yl = -1 , |
|
|
Double_t |
xh = -1 , |
|
|
Double_t |
yh = -1 |
|
) |
| const |
|
protected |
Add a status pave to the plot
- Parameters
-
ll | List to add to |
qual | Quality |
xl | X coordinate of lower-left corner (NDC) |
yl | Y coordinate of lower-left corner (NDC) |
xh | X coordinate of upper-right corner (NDC) |
yh | Y coordinate of upper-right corner (NDC) |
Definition at line 763 of file AliFMDQAChecker.cxx.
Referenced by Check().
UShort_t AliFMDQAChecker::BasicCheck |
( |
TH1 * |
hist | ) |
const |
|
protected |
Member function called to do the actual checking
- Parameters
-
rv | Array of return values. |
what | What to check |
list | Array of arrays of histograms. There's one arrat for each 'specie' |
t | Reconstruction parameters - not used. |
Reimplemented from AliQACheckerBase.
Definition at line 797 of file AliFMDQAChecker.cxx.
Referenced by ~AliFMDQAChecker().
Check ESD. Does a simple test of whether the histogram is empty or not.
- Parameters
-
specie | Event specie |
hist | Histogram to check |
- Returns
- 0 if all is good, increasing severity for increasingly bad data
Definition at line 431 of file AliFMDQAChecker.cxx.
Referenced by CheckOne().
UShort_t AliFMDQAChecker::CheckFit |
( |
TH1 * |
hist, |
|
|
const TFitResultPtr & |
res, |
|
|
Double_t |
low, |
|
|
Double_t |
high, |
|
|
Int_t & |
color |
|
) |
| const |
|
protected |
Add fit results to to plot
- Parameters
-
hist | Histogram |
res | Fit result |
color | Color to use for the text - depends on quality |
low | Lower bound on fit range |
high | Upper bound on fit range |
Definition at line 473 of file AliFMDQAChecker.cxx.
Referenced by CheckRaw().
Check one histogram
- Parameters
-
specie | Event specie |
hist | Histogram to check |
- Returns
- 0 if all is good, increasing severity for increasingly bad data
Definition at line 419 of file AliFMDQAChecker.cxx.
Referenced by Check().
Check raw input. If the reconstructor is enabled, then we try to fit
\[ f(\Delta;\Delta_p,\xi,\sigma) = \int_{-\infty}^{\infty}d\Delta_p' f_{L}(\Delta;\Delta_p',\xi) \times e^{\frac{(\Delta-\Delta_p')^2}{\sigma^2}} \]
where \(f_L\) is the Landau distribution, to the data. The quality is set according to the value of \(\chi^2/\nu\).
If no reconstructor is set, then simply check that the histogram isn't empty
- Parameters
-
specie | Event specie |
hist | Histogram to check |
- Returns
- 0 if all is good, increasing severity for increasingly bad data
Definition at line 602 of file AliFMDQAChecker.cxx.
Referenced by CheckOne().
Check reconstruction points. Does a simple test of whether the histogram is empty or not.
- Parameters
-
specie | Event specie |
hist | Histogram to check |
- Returns
- 0 if all is good, increasing severity for increasingly bad data
Definition at line 753 of file AliFMDQAChecker.cxx.
Referenced by CheckOne().
Check simulation output. Does a simple test of whether the histogram is empty or not.
- Parameters
-
specie | Event specie |
hist | Histogram to check |
- Returns
- 0 if all is good, increasing severity for increasingly bad data
Definition at line 743 of file AliFMDQAChecker.cxx.
Referenced by CheckOne().
void AliFMDQAChecker::GetThresholds |
( |
| ) |
|
|
protected |
Make output images. This is overridden relative to the base class so that we can set the log(y) scale and put everything on the same axis.
- Parameters
-
list | List of specie array of histograms |
task | What to show |
mode | Mode |
Reimplemented from AliQACheckerBase.
Definition at line 953 of file AliFMDQAChecker.cxx.
Referenced by ~AliFMDQAChecker().
assignment operator - not implemented
- Parameters
-
- Returns
- Reference to this object
void AliFMDQAChecker::ProcessExternalParam |
( |
const char * |
name, |
|
|
Double_t & |
v |
|
) |
| |
|
protected |
void AliFMDQAChecker::ProcessExternalParams |
( |
| ) |
|
|
protected |
Translate our internal quality measure to QA framework bit
- Parameters
-
- Returns
- QA framework quality bit
Definition at line 373 of file AliFMDQAChecker.cxx.
Referenced by Check(), and SetQA().
void AliFMDQAChecker::SetDoScale |
( |
Bool_t |
on = true | ) |
|
|
inline |
Set wether to scale the histograms to a common Y axis or not when generating plots
- Parameters
-
Definition at line 54 of file AliFMDQAChecker.h.
Set the returned QA from this checker based on the values in the array values. Note, this by-passes the Low/High setting of the base class (which are very confusing)
- Parameters
-
index | Task index |
values | Array of values |
Reimplemented from AliQACheckerBase.
Definition at line 385 of file AliFMDQAChecker.cxx.
Bool_t AliFMDQAChecker::fDidExternal |
|
protected |
Bool_t AliFMDQAChecker::fDoScale |
|
protected |
Double_t AliFMDQAChecker::fELossBadChi2Nu |
|
protected |
Double_t AliFMDQAChecker::fELossFkupChi2Nu |
|
protected |
Double_t AliFMDQAChecker::fELossGoodParError |
|
protected |
Double_t AliFMDQAChecker::fELossLowCut |
|
protected |
Int_t AliFMDQAChecker::fELossMaxEntries |
|
protected |
Int_t AliFMDQAChecker::fELossMinEntries |
|
protected |
Double_t AliFMDQAChecker::fELossMinSharing |
|
protected |
Double_t AliFMDQAChecker::fELossNRMS |
|
protected |
Int_t AliFMDQAChecker::fMaxNBad |
|
protected |
Int_t AliFMDQAChecker::fMaxNProblem |
|
protected |
Double_t AliFMDQAChecker::fMaxSigma |
|
protected |
Double_t AliFMDQAChecker::fMaxXi |
|
protected |
Double_t AliFMDQAChecker::fMinMPV |
|
protected |
Bool_t AliFMDQAChecker::fNoFits |
|
protected |
Double_t AliFMDQAChecker::fROErrorsBad |
|
protected |
Double_t AliFMDQAChecker::fROErrorsFkup |
|
protected |
Bool_t AliFMDQAChecker::fShowFitResults |
|
protected |
The documentation for this class was generated from the following files: