AliRoot Core  v5-06-30 (35d6c57)
AliTPCQAChecker Class Reference

Checks implemented a la AliMUONQAChecker. More...

#include <AliTPCQAChecker.h>

Inheritance diagram for AliTPCQAChecker:

## Public Member Functions

AliTPCQAChecker ()

AliTPCQAChecker (const AliTPCQAChecker &qac)

AliTPCQACheckeroperator= (const AliTPCQAChecker &checker)

virtual ~AliTPCQAChecker ()

virtual void Check (Double_t *test, AliQAv1::ALITASK_t, TObjArray **, const AliDetectorRecoParam *recoParam)

void Init (const AliQAv1::DETECTORINDEX_t det)

void SetQA (AliQAv1::ALITASK_t index, Double_t *value) const

Int_t GetDebugLevel () const

void SetDebugLevel (Int_t value)

## Private Member Functions

Double_t CheckRAW (Int_t specie, TObjArray *list)

Double_t CheckSIM (Int_t specie, TObjArray *list)

Double_t CheckREC (Int_t specie, TObjArray *list)

Double_t CheckESD (Int_t specie, TObjArray *list)

Int_t fDebug

## Detailed Description

Checks implemented a la AliMUONQAChecker.

Checks the quality assurance by realzed checks on histogram content.

Based on AliPHOSQAChecker. Checks the quality assurance by comparing with reference data.

Date
January 2008 - September 2009.

Checks the quality assurance by very simple checks on histogram content.

Date
September 2009.

Definition at line 21 of file AliTPCQAChecker.h.

## Constructor & Destructor Documentation

 AliTPCQAChecker::AliTPCQAChecker ( )
inline

Definition at line 24 of file AliTPCQAChecker.h.

 AliTPCQAChecker::AliTPCQAChecker ( const AliTPCQAChecker & qac )
inline

Definition at line 25 of file AliTPCQAChecker.h.

 virtual AliTPCQAChecker::~AliTPCQAChecker ( )
inlinevirtual

Definition at line 27 of file AliTPCQAChecker.h.

## Member Function Documentation

 void AliTPCQAChecker::Check ( Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam )
virtual

It is important to understand the destinction between indexed tasks (AliQAv1::TASKINDEX_t) which are used in the DataMaker classes and indexed tasks (AliQAv1::ALITASK_t) whihc are used in the checker class.

From the AliQAChecker::Run() methods we have:
AliQAv1::kRAW
- AliQAv1::kRAWS

AliQAv1::kSIM
- AliQAv1::kHITS
- AliQAv1::kSDIGITS
- AliQAv1::kDIGITS

AliQAv1::kREC
- AliQAv1::kDIGITSR
- AliQAv1::kRECPOINTS
- AliQAv1::kTRACKSEGMENTS
- AliQAv1::kRECPARTICLES

AliQAv1::kESD ;
-AliQAv1::kESDS

This means that for each group of tasks the Check will be called
one or more times.  This also mean that we cannot know what
histograms will be or not be there in a single call... And we
also do not know the position in the list of the histogram.  

Check objects in list

Definition at line 52 of file AliTPCQAChecker.cxx.

 Double_t AliTPCQAChecker::CheckESD ( Int_t specie, TObjArray * list )
private

This method checks the QA histograms associated with ESDs (Note that there is aslo a globalQA which is running on all the ESD information so for now this is just a few basic histograms)

The check methods are simple: If there are no histogram at all (set fatal)

Definition at line 268 of file AliTPCQAChecker.cxx.

Referenced by Check().

 Double_t AliTPCQAChecker::CheckRAW ( Int_t specie, TObjArray * list )
private

Check ESD

Definition at line 116 of file AliTPCQAChecker.cxx.

Referenced by Check().

 Double_t AliTPCQAChecker::CheckREC ( Int_t specie, TObjArray * list )
private

This method checks the QA histograms associated with reconstruction

For TPC this is: DigitsR : The digit histogram gives the ADC distribution for all sigbnals above threshold. The check is just that there are digits. RecPoints : The cluster histograms are meant to give an idea about the gain from the cluster charge and to indicate iof there are rows with noise clusters, i.e., they are very visual.

The check methods are simple: If there are no histogram at all (set fatal) If digit histogram is there, but there are no digits (set error) If cluster histogram is there but there are less than 1000 clusters (set warning) If there are more than 1000 clusters but no clusters for either short, medium, or long pads (set error)

Definition at line 209 of file AliTPCQAChecker.cxx.

Referenced by Check().

 Double_t AliTPCQAChecker::CheckSIM ( Int_t specie, TObjArray * list )
private

This method checks the QA histograms associated with simulation

For TPC this is: Digits : The digit histogram gives the ADC distribution for all sigbnals above threshold. The check is just that there are digits. Hits : The hit histograms are checked to see that they are not empty. They contain a lot of detailed information on the energyloss model (they were used to debug the AliRoot TPC use of FLUKA).

The check methods are simple: We do not know if it is bad that histograms are missing because this will always be the case for summable digits. So this check is not possible here. If digit histogram is empty (set error) If one of the hit histograms are empty (set error)

Definition at line 149 of file AliTPCQAChecker.cxx.

Referenced by Check().

 Int_t AliTPCQAChecker::GetDebugLevel ( ) const
inline

Definition at line 33 of file AliTPCQAChecker.h.

 void AliTPCQAChecker::Init ( const AliQAv1::DETECTORINDEX_t det )

intialises QA and QA checker settings

Definition at line 298 of file AliTPCQAChecker.cxx.

 AliTPCQAChecker & AliTPCQAChecker::operator= ( const AliTPCQAChecker & checker )

Equal operator.

Definition at line 41 of file AliTPCQAChecker.cxx.

 void AliTPCQAChecker::SetDebugLevel ( Int_t value )
inline

Definition at line 34 of file AliTPCQAChecker.h.

 void AliTPCQAChecker::SetQA ( AliQAv1::ALITASK_t index, Double_t * value ) const

sets the QA according the return value of the Check

Definition at line 321 of file AliTPCQAChecker.cxx.

## Member Data Documentation

 Int_t AliTPCQAChecker::fDebug
private

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