![]() |
AliRoot Core
3dc7879 (3dc7879)
|
#include <AliTPCCalibQAChecker.h>
Public Types | |
enum | { kNQualityFlags =5 } |
enum | QualityFlag_t { kNULLFLAG =-1, kINFO, kWARNING, kERROR, kFATAL, kNFLAG } |
enum | AlarmType_t { kMean =0, kBinAny, kBinAll, kNentries } |
Public Member Functions | |
AliTPCCalibQAChecker () | |
AliTPCCalibQAChecker (const char *name, const char *title) | |
virtual | ~AliTPCCalibQAChecker () |
void | Process () |
void | SetTreeChecker (TTree *&tree) |
void | SetHistChecker (TH1 *&hist) |
void | SetGraphChecker (TGraph *&graph) |
void | SetNumberChecker (Double_t &number) |
const AliTPCCalibQAChecker * | GetSubChecker (const char *name, Bool_t recursive=kTRUE) const |
AliTPCCalibQAChecker * | NextSubChecker () |
Int_t | GetNumberOfSubCheckers (Bool_t recursive=kTRUE) const |
Bool_t | HasSubCheckers () const |
void | AddSubChecker (AliTPCCalibQAChecker *alarm) |
void | GetAlarmThreshold (Double_t &min, Double_t &max, QualityFlag_t quality=kERROR) const |
const char * | GetDrawString () |
const char * | GetCutsString () |
const char * | GetDrawOptString () |
void | SetDrawRepresentation (const char *draw, const char *drawOpt="") |
void | SetDrawAlarm (const char *draw, const char *drawOpt="") |
void | SetCutString (const char *cutString) |
void | SetAlarmThreshold (Double_t min, Double_t max, QualityFlag_t quality=kERROR) |
void | ResetAlarmThreshold (QualityFlag_t quality) |
void | ResetAlarmThresholds () |
void | SetQualityDescription (const char *text, QualityFlag_t quality=kERROR) |
void | SetAlarmType (AlarmType_t type) |
QualityFlag_t | GetQuality () const |
Color_t | GetQualityColor () const |
const char * | GetQualityName () const |
const char * | GetQualityDescription () const |
const char * | QualityDescription (QualityFlag_t quality) const |
virtual void | Draw (Option_t *option="") |
virtual void | Print (Option_t *option="") const |
Static Public Member Functions | |
static const char * | QualityName (AliTPCCalibQAChecker::QualityFlag_t quality) |
static Color_t | QualityColor (AliTPCCalibQAChecker::QualityFlag_t quality) |
Private Member Functions | |
void | CreateRepresentationHist () |
void | ResetRepresentationHist () |
void | ProcessTree () |
void | ProcessHist () |
void | ProcessGraph () |
void | ProcessNumber () |
void | ProcessSub () |
void | ProcessEntries () |
void | ProcessMean () |
void | ProcessBin () |
void | CreateAlarmHist () |
void | ResetAlarmHist () |
Int_t | DrawInPad (TVirtualPad *pad, Int_t sub=1) |
void | DrawSubNodes (Option_t *option) |
void | DrawRepresentationHist (const Option_t *option) |
void | AddQualityLines (TH1 *hist) |
AliTPCCalibQAChecker (const AliTPCCalibQAChecker &cfg) | |
AliTPCCalibQAChecker & | operator= (const AliTPCCalibQAChecker &cfg) |
QualityFlag_t | GetQuality (Double_t value) const |
QualityFlag_t | GetQuality (Int_t n, const Double_t *arr) const |
Private Attributes | |
TTree ** | fTreePtr |
TH1 ** | fHistPtr |
Pointer to the Tree pointer. More... | |
TGraph ** | fGraphPtr |
Pointer to the hist pointer. More... | |
Double_t * | fNumberPtr |
Pointer to the graph pointer. More... | |
TH1 * | fHist |
Pointer to number. More... | |
TIterator * | fIterSubCheckers |
Hist pointer for tree processing. More... | |
TObjArray * | fArrSubCheckers |
iterator over sub checkers More... | |
TObjArray * | fArrAlarmDescriptions |
TString | fStrDrawRep |
TString | fStrDrawRepOpt |
TString | fStrDraw |
TString | fStrDrawOpt |
TString | fStrCuts |
AlarmType_t | fAlarmType |
QualityFlag_t | fQualityLevel |
TObject * | fHistRep |
Double_t | fThresMin [kNQualityFlags] |
Double_t | fThresMax [kNQualityFlags] |
Definition at line 22 of file AliTPCCalibQAChecker.h.
anonymous enum |
Enumerator | |
---|---|
kNQualityFlags |
Definition at line 24 of file AliTPCCalibQAChecker.h.
Enumerator | |
---|---|
kMean | |
kBinAny | |
kBinAll | |
kNentries |
Definition at line 26 of file AliTPCCalibQAChecker.h.
Enumerator | |
---|---|
kNULLFLAG | |
kINFO | |
kWARNING | |
kERROR | |
kFATAL | |
kNFLAG |
Definition at line 25 of file AliTPCCalibQAChecker.h.
AliTPCCalibQAChecker::AliTPCCalibQAChecker | ( | ) |
Definition at line 49 of file AliTPCCalibQAChecker.cxx.
Referenced by ResetRepresentationHist().
AliTPCCalibQAChecker::AliTPCCalibQAChecker | ( | const char * | name, |
const char * | title | ||
) |
Definition at line 74 of file AliTPCCalibQAChecker.cxx.
|
virtual |
Definition at line 99 of file AliTPCCalibQAChecker.cxx.
|
private |
|
private |
Definition at line 682 of file AliTPCCalibQAChecker.cxx.
Referenced by ProcessHist(), ProcessNumber(), and ResetRepresentationHist().
void AliTPCCalibQAChecker::AddSubChecker | ( | AliTPCCalibQAChecker * | alarm | ) |
Definition at line 110 of file AliTPCCalibQAChecker.cxx.
Referenced by HasSubCheckers().
|
private |
Definition at line 360 of file AliTPCCalibQAChecker.cxx.
Referenced by ProcessTree(), and ResetRepresentationHist().
|
private |
Definition at line 327 of file AliTPCCalibQAChecker.cxx.
Referenced by ProcessTree().
|
virtual |
Definition at line 396 of file AliTPCCalibQAChecker.cxx.
Referenced by DrawInPad(), GetQualityDescription(), and AliTPCCalibViewerGUIAlarms::OnClick().
|
private |
Definition at line 603 of file AliTPCCalibQAChecker.cxx.
Referenced by DrawInPad(), DrawSubNodes(), and ResetRepresentationHist().
|
private |
Definition at line 654 of file AliTPCCalibQAChecker.cxx.
Referenced by Draw(), and ResetRepresentationHist().
|
private |
Definition at line 626 of file AliTPCCalibQAChecker.cxx.
Referenced by Draw(), and ResetRepresentationHist().
|
inline |
Definition at line 48 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 51 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 52 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 50 of file AliTPCCalibQAChecker.h.
Int_t AliTPCCalibQAChecker::GetNumberOfSubCheckers | ( | Bool_t | recursive = kTRUE | ) | const |
Definition at line 495 of file AliTPCCalibQAChecker.cxx.
Referenced by DrawSubNodes(), GetNumberOfSubCheckers(), HasSubCheckers(), and SetNumberChecker().
|
inline |
Definition at line 71 of file AliTPCCalibQAChecker.h.
Referenced by ProcessBin(), ProcessEntries(), ProcessGraph(), ProcessMean(), ProcessNumber(), ProcessSub(), and ResetRepresentationHist().
|
inlineprivate |
Definition at line 147 of file AliTPCCalibQAChecker.h.
|
inlineprivate |
Definition at line 162 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 72 of file AliTPCCalibQAChecker.h.
Referenced by AliTPCCalibViewerGUIAlarms::AddSubItems(), DrawRepresentationHist(), ProcessNumber(), and AliTPCCalibViewerGUIAlarms::UpdateSubItem().
|
inline |
Definition at line 74 of file AliTPCCalibQAChecker.h.
Referenced by AliTPCCalibViewerGUIAlarms::OnClick().
|
inline |
Definition at line 73 of file AliTPCCalibQAChecker.h.
Referenced by Print().
const AliTPCCalibQAChecker * AliTPCCalibQAChecker::GetSubChecker | ( | const char * | name, |
Bool_t | recursive = kTRUE |
||
) | const |
Definition at line 472 of file AliTPCCalibQAChecker.cxx.
Referenced by GetSubChecker(), and SetNumberChecker().
|
inline |
Definition at line 43 of file AliTPCCalibQAChecker.h.
Referenced by AliTPCCalibViewerGUIAlarms::AddSubItems(), and Draw().
AliTPCCalibQAChecker * AliTPCCalibQAChecker::NextSubChecker | ( | ) |
Definition at line 517 of file AliTPCCalibQAChecker.cxx.
Referenced by AliTPCCalibViewerGUIAlarms::AddSubItems(), and SetNumberChecker().
|
private |
Referenced by ResetRepresentationHist().
|
virtual |
Definition at line 409 of file AliTPCCalibQAChecker.cxx.
Referenced by GetQualityDescription().
void AliTPCCalibQAChecker::Process | ( | ) |
Definition at line 123 of file AliTPCCalibQAChecker.cxx.
Referenced by ProcessSub().
|
private |
Definition at line 289 of file AliTPCCalibQAChecker.cxx.
Referenced by ProcessHist(), and ResetRepresentationHist().
|
private |
Definition at line 259 of file AliTPCCalibQAChecker.cxx.
Referenced by ProcessTree(), and ResetRepresentationHist().
|
private |
Definition at line 224 of file AliTPCCalibQAChecker.cxx.
Referenced by Process(), and ResetRepresentationHist().
|
private |
Definition at line 190 of file AliTPCCalibQAChecker.cxx.
Referenced by Process(), ProcessTree(), and ResetRepresentationHist().
|
private |
Definition at line 277 of file AliTPCCalibQAChecker.cxx.
Referenced by ProcessHist(), and ResetRepresentationHist().
|
private |
Definition at line 234 of file AliTPCCalibQAChecker.cxx.
Referenced by Process(), and ResetRepresentationHist().
|
private |
Definition at line 144 of file AliTPCCalibQAChecker.cxx.
Referenced by Process(), and ResetRepresentationHist().
|
private |
Definition at line 163 of file AliTPCCalibQAChecker.cxx.
Referenced by Process(), and ResetRepresentationHist().
|
static |
Definition at line 557 of file AliTPCCalibQAChecker.cxx.
Referenced by AddQualityLines(), GetQualityColor(), and GetQualityDescription().
const char * AliTPCCalibQAChecker::QualityDescription | ( | QualityFlag_t | quality | ) | const |
Definition at line 588 of file AliTPCCalibQAChecker.cxx.
Referenced by GetQualityDescription().
|
static |
Definition at line 534 of file AliTPCCalibQAChecker.cxx.
Referenced by GetQualityDescription(), and GetQualityName().
|
private |
Definition at line 385 of file AliTPCCalibQAChecker.cxx.
Referenced by ProcessTree(), and ResetRepresentationHist().
void AliTPCCalibQAChecker::ResetAlarmThreshold | ( | QualityFlag_t | quality | ) |
Definition at line 435 of file AliTPCCalibQAChecker.cxx.
Referenced by SetCutString().
void AliTPCCalibQAChecker::ResetAlarmThresholds | ( | ) |
Definition at line 445 of file AliTPCCalibQAChecker.cxx.
Referenced by AliTPCCalibQAChecker(), and SetCutString().
|
inlineprivate |
Definition at line 113 of file AliTPCCalibQAChecker.h.
Referenced by CreateRepresentationHist().
void AliTPCCalibQAChecker::SetAlarmThreshold | ( | Double_t | min, |
Double_t | max, | ||
QualityFlag_t | quality = kERROR |
||
) |
Definition at line 425 of file AliTPCCalibQAChecker.cxx.
Referenced by SetCutString().
|
inline |
Definition at line 68 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 57 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 56 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 55 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 37 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 36 of file AliTPCCalibQAChecker.h.
|
inline |
Definition at line 38 of file AliTPCCalibQAChecker.h.
void AliTPCCalibQAChecker::SetQualityDescription | ( | const char * | text, |
QualityFlag_t | quality = kERROR |
||
) |
Definition at line 456 of file AliTPCCalibQAChecker.cxx.
Referenced by SetCutString().
|
inline |
Definition at line 35 of file AliTPCCalibQAChecker.h.
|
private |
Definition at line 104 of file AliTPCCalibQAChecker.h.
Referenced by ProcessBin(), ProcessHist(), ProcessMean(), ProcessTree(), and SetAlarmType().
|
private |
Definition at line 94 of file AliTPCCalibQAChecker.h.
Referenced by QualityDescription(), SetQualityDescription(), and ~AliTPCCalibQAChecker().
|
private |
iterator over sub checkers
Definition at line 93 of file AliTPCCalibQAChecker.h.
Referenced by AddSubChecker(), DrawInPad(), GetNumberOfSubCheckers(), GetSubChecker(), NextSubChecker(), Print(), Process(), ProcessSub(), and ~AliTPCCalibQAChecker().
|
private |
Pointer to the hist pointer.
Definition at line 87 of file AliTPCCalibQAChecker.h.
Referenced by Process(), ProcessGraph(), and SetGraphChecker().
|
private |
Pointer to number.
Definition at line 89 of file AliTPCCalibQAChecker.h.
Referenced by CreateAlarmHist().
|
private |
Pointer to the Tree pointer.
Definition at line 86 of file AliTPCCalibQAChecker.h.
Referenced by CreateAlarmHist(), Process(), ProcessHist(), ResetAlarmHist(), and SetHistChecker().
|
private |
Definition at line 107 of file AliTPCCalibQAChecker.h.
Referenced by CreateRepresentationHist(), Draw(), DrawRepresentationHist(), ProcessHist(), ProcessNumber(), ResetRepresentationHist(), and ~AliTPCCalibQAChecker().
|
private |
Hist pointer for tree processing.
Definition at line 91 of file AliTPCCalibQAChecker.h.
Referenced by NextSubChecker(), and ~AliTPCCalibQAChecker().
|
private |
Pointer to the graph pointer.
Definition at line 88 of file AliTPCCalibQAChecker.h.
Referenced by Process(), ProcessNumber(), and SetNumberChecker().
|
private |
Definition at line 105 of file AliTPCCalibQAChecker.h.
Referenced by GetQuality(), GetQualityColor(), GetQualityDescription(), GetQualityName(), Process(), ProcessBin(), ProcessEntries(), ProcessGraph(), ProcessMean(), ProcessNumber(), and ProcessSub().
|
private |
Definition at line 102 of file AliTPCCalibQAChecker.h.
Referenced by CreateAlarmHist(), CreateRepresentationHist(), GetCutsString(), ProcessEntries(), and SetCutString().
|
private |
Definition at line 99 of file AliTPCCalibQAChecker.h.
Referenced by CreateAlarmHist(), CreateRepresentationHist(), GetDrawString(), ProcessEntries(), and SetDrawAlarm().
|
private |
Definition at line 100 of file AliTPCCalibQAChecker.h.
Referenced by CreateAlarmHist(), CreateRepresentationHist(), GetDrawOptString(), ProcessEntries(), and SetDrawAlarm().
|
private |
Definition at line 96 of file AliTPCCalibQAChecker.h.
Referenced by CreateRepresentationHist(), and SetDrawRepresentation().
|
private |
Definition at line 97 of file AliTPCCalibQAChecker.h.
Referenced by CreateRepresentationHist(), DrawRepresentationHist(), and SetDrawRepresentation().
|
private |
Definition at line 110 of file AliTPCCalibQAChecker.h.
Referenced by AddQualityLines(), GetAlarmThreshold(), GetQuality(), QualityDescription(), ResetAlarmThreshold(), ResetAlarmThresholds(), and SetAlarmThreshold().
|
private |
Definition at line 109 of file AliTPCCalibQAChecker.h.
Referenced by AddQualityLines(), GetAlarmThreshold(), GetQuality(), QualityDescription(), ResetAlarmThreshold(), ResetAlarmThresholds(), and SetAlarmThreshold().
|
private |
Definition at line 85 of file AliTPCCalibQAChecker.h.
Referenced by Process(), ProcessHist(), and SetTreeChecker().