AliRoot Core  3dc7879 (3dc7879)
AliTPCCalibQAChecker Class Reference

#include <AliTPCCalibQAChecker.h>

Inheritance diagram for AliTPCCalibQAChecker:

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 AliTPCCalibQACheckerGetSubChecker (const char *name, Bool_t recursive=kTRUE) const
 
AliTPCCalibQACheckerNextSubChecker ()
 
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)
 
AliTPCCalibQACheckeroperator= (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...
 
TObjArrayfArrSubCheckers
 iterator over sub checkers More...
 
TObjArrayfArrAlarmDescriptions
 
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]
 

Detailed Description

Definition at line 22 of file AliTPCCalibQAChecker.h.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

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.

AliTPCCalibQAChecker::~AliTPCCalibQAChecker ( )
virtual

Definition at line 99 of file AliTPCCalibQAChecker.cxx.

AliTPCCalibQAChecker::AliTPCCalibQAChecker ( const AliTPCCalibQAChecker cfg)
private

Member Function Documentation

void AliTPCCalibQAChecker::AddQualityLines ( TH1 *  hist)
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().

void AliTPCCalibQAChecker::CreateAlarmHist ( )
private

Definition at line 360 of file AliTPCCalibQAChecker.cxx.

Referenced by ProcessTree(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::CreateRepresentationHist ( )
private

Definition at line 327 of file AliTPCCalibQAChecker.cxx.

Referenced by ProcessTree().

void AliTPCCalibQAChecker::Draw ( Option_t *  option = "")
virtual
Int_t AliTPCCalibQAChecker::DrawInPad ( TVirtualPad *  pad,
Int_t  sub = 1 
)
private

Definition at line 603 of file AliTPCCalibQAChecker.cxx.

Referenced by DrawInPad(), DrawSubNodes(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::DrawRepresentationHist ( const Option_t *  option)
private

Definition at line 654 of file AliTPCCalibQAChecker.cxx.

Referenced by Draw(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::DrawSubNodes ( Option_t *  option)
private

Definition at line 626 of file AliTPCCalibQAChecker.cxx.

Referenced by Draw(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::GetAlarmThreshold ( Double_t &  min,
Double_t &  max,
QualityFlag_t  quality = kERROR 
) const
inline

Definition at line 48 of file AliTPCCalibQAChecker.h.

const char* AliTPCCalibQAChecker::GetCutsString ( )
inline

Definition at line 51 of file AliTPCCalibQAChecker.h.

const char* AliTPCCalibQAChecker::GetDrawOptString ( )
inline

Definition at line 52 of file AliTPCCalibQAChecker.h.

const char* AliTPCCalibQAChecker::GetDrawString ( )
inline

Definition at line 50 of file AliTPCCalibQAChecker.h.

Int_t AliTPCCalibQAChecker::GetNumberOfSubCheckers ( Bool_t  recursive = kTRUE) const
QualityFlag_t AliTPCCalibQAChecker::GetQuality ( ) const
inline
AliTPCCalibQAChecker::QualityFlag_t AliTPCCalibQAChecker::GetQuality ( Double_t  value) const
inlineprivate

Definition at line 147 of file AliTPCCalibQAChecker.h.

AliTPCCalibQAChecker::QualityFlag_t AliTPCCalibQAChecker::GetQuality ( Int_t  n,
const Double_t *  arr 
) const
inlineprivate

Definition at line 162 of file AliTPCCalibQAChecker.h.

Color_t AliTPCCalibQAChecker::GetQualityColor ( ) const
inline
const char* AliTPCCalibQAChecker::GetQualityDescription ( ) const
inline

Definition at line 74 of file AliTPCCalibQAChecker.h.

Referenced by AliTPCCalibViewerGUIAlarms::OnClick().

const char* AliTPCCalibQAChecker::GetQualityName ( ) const
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().

Bool_t AliTPCCalibQAChecker::HasSubCheckers ( ) const
inline

Definition at line 43 of file AliTPCCalibQAChecker.h.

Referenced by AliTPCCalibViewerGUIAlarms::AddSubItems(), and Draw().

AliTPCCalibQAChecker * AliTPCCalibQAChecker::NextSubChecker ( )
AliTPCCalibQAChecker& AliTPCCalibQAChecker::operator= ( const AliTPCCalibQAChecker cfg)
private

Referenced by ResetRepresentationHist().

void AliTPCCalibQAChecker::Print ( Option_t *  option = "") const
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().

void AliTPCCalibQAChecker::ProcessBin ( )
private

Definition at line 289 of file AliTPCCalibQAChecker.cxx.

Referenced by ProcessHist(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::ProcessEntries ( )
private

Definition at line 259 of file AliTPCCalibQAChecker.cxx.

Referenced by ProcessTree(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::ProcessGraph ( )
private

Definition at line 224 of file AliTPCCalibQAChecker.cxx.

Referenced by Process(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::ProcessHist ( )
private

Definition at line 190 of file AliTPCCalibQAChecker.cxx.

Referenced by Process(), ProcessTree(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::ProcessMean ( )
private

Definition at line 277 of file AliTPCCalibQAChecker.cxx.

Referenced by ProcessHist(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::ProcessNumber ( )
private

Definition at line 234 of file AliTPCCalibQAChecker.cxx.

Referenced by Process(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::ProcessSub ( )
private

Definition at line 144 of file AliTPCCalibQAChecker.cxx.

Referenced by Process(), and ResetRepresentationHist().

void AliTPCCalibQAChecker::ProcessTree ( )
private

Definition at line 163 of file AliTPCCalibQAChecker.cxx.

Referenced by Process(), and ResetRepresentationHist().

Color_t AliTPCCalibQAChecker::QualityColor ( AliTPCCalibQAChecker::QualityFlag_t  quality)
static
const char * AliTPCCalibQAChecker::QualityDescription ( QualityFlag_t  quality) const

Definition at line 588 of file AliTPCCalibQAChecker.cxx.

Referenced by GetQualityDescription().

const char * AliTPCCalibQAChecker::QualityName ( AliTPCCalibQAChecker::QualityFlag_t  quality)
static

Definition at line 534 of file AliTPCCalibQAChecker.cxx.

Referenced by GetQualityDescription(), and GetQualityName().

void AliTPCCalibQAChecker::ResetAlarmHist ( )
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().

void AliTPCCalibQAChecker::ResetRepresentationHist ( )
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().

void AliTPCCalibQAChecker::SetAlarmType ( AlarmType_t  type)
inline

Definition at line 68 of file AliTPCCalibQAChecker.h.

void AliTPCCalibQAChecker::SetCutString ( const char *  cutString)
inline

Definition at line 57 of file AliTPCCalibQAChecker.h.

void AliTPCCalibQAChecker::SetDrawAlarm ( const char *  draw,
const char *  drawOpt = "" 
)
inline

Definition at line 56 of file AliTPCCalibQAChecker.h.

void AliTPCCalibQAChecker::SetDrawRepresentation ( const char *  draw,
const char *  drawOpt = "" 
)
inline

Definition at line 55 of file AliTPCCalibQAChecker.h.

void AliTPCCalibQAChecker::SetGraphChecker ( TGraph *&  graph)
inline

Definition at line 37 of file AliTPCCalibQAChecker.h.

void AliTPCCalibQAChecker::SetHistChecker ( TH1 *&  hist)
inline

Definition at line 36 of file AliTPCCalibQAChecker.h.

void AliTPCCalibQAChecker::SetNumberChecker ( Double_t &  number)
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().

void AliTPCCalibQAChecker::SetTreeChecker ( TTree *&  tree)
inline

Definition at line 35 of file AliTPCCalibQAChecker.h.

Member Data Documentation

AlarmType_t AliTPCCalibQAChecker::fAlarmType
private
TObjArray* AliTPCCalibQAChecker::fArrAlarmDescriptions
private
TObjArray* AliTPCCalibQAChecker::fArrSubCheckers
private
TGraph** AliTPCCalibQAChecker::fGraphPtr
private

Pointer to the hist pointer.

Definition at line 87 of file AliTPCCalibQAChecker.h.

Referenced by Process(), ProcessGraph(), and SetGraphChecker().

TH1* AliTPCCalibQAChecker::fHist
private

Pointer to number.

Definition at line 89 of file AliTPCCalibQAChecker.h.

Referenced by CreateAlarmHist().

TH1** AliTPCCalibQAChecker::fHistPtr
private

Pointer to the Tree pointer.

Definition at line 86 of file AliTPCCalibQAChecker.h.

Referenced by CreateAlarmHist(), Process(), ProcessHist(), ResetAlarmHist(), and SetHistChecker().

TObject* AliTPCCalibQAChecker::fHistRep
private
TIterator* AliTPCCalibQAChecker::fIterSubCheckers
private

Hist pointer for tree processing.

Definition at line 91 of file AliTPCCalibQAChecker.h.

Referenced by NextSubChecker(), and ~AliTPCCalibQAChecker().

Double_t* AliTPCCalibQAChecker::fNumberPtr
private

Pointer to the graph pointer.

Definition at line 88 of file AliTPCCalibQAChecker.h.

Referenced by Process(), ProcessNumber(), and SetNumberChecker().

TString AliTPCCalibQAChecker::fStrCuts
private
TString AliTPCCalibQAChecker::fStrDraw
private
TString AliTPCCalibQAChecker::fStrDrawOpt
private
TString AliTPCCalibQAChecker::fStrDrawRep
private

Definition at line 96 of file AliTPCCalibQAChecker.h.

Referenced by CreateRepresentationHist(), and SetDrawRepresentation().

TString AliTPCCalibQAChecker::fStrDrawRepOpt
private
Double_t AliTPCCalibQAChecker::fThresMax[kNQualityFlags]
private
Double_t AliTPCCalibQAChecker::fThresMin[kNQualityFlags]
private
TTree** AliTPCCalibQAChecker::fTreePtr
private

Definition at line 85 of file AliTPCCalibQAChecker.h.

Referenced by Process(), ProcessHist(), and SetTreeChecker().


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