AliRoot Core  a565103 (a565103)

Produces the data needed to calculate the quality assurance. More...

#include <AliTPCQADataMakerRec.h>

## Public Types

enum  HRawsType_t { kRawsOccupancyVsSector =0, kRawsQVsSector, kRawsQmaxVsSector, kRawsOccupancy2dVsSector }

enum  HDigitType_t { kDigitsADC =0 }

enum  HRECPOINTsType_t { kClusters =0, kRatio, kPt }

enum  HESDsType_t {
kQmaxShort =0, kQmaxMedium, kQmaxLong, kQShort,
kQMedium, kQLong, kRow
}

## Public Member Functions

Int_t GetRawFirstTimeBin () const

Int_t GetRawLastTimeBin () const

void SetRawRangeTime (Int_t tMin, Int_t tMax)

## Private Member Functions

virtual void StartOfDetectorCycle ()

virtual void EndOfDetectorCycle (AliQAv1::TASKINDEX_t, TObjArray **list)

virtual void InitESDs ()

virtual void MakeESDs (AliESDEvent *esd)

virtual void InitRaws ()

virtual void InitDigits ()

virtual void MakeDigits ()

virtual void MakeDigits (TTree *digTree)

virtual void InitRecPoints ()

virtual void MakeRecPoints (TTree *recTree)

## Private Attributes

AliTPCAltroMappingfMapping [6]
! Pointers to ALTRO mapping More...

AliTPCdataQAfTPCdataQA
! TPC calibration object for making raw data QA More...

Int_t fRawFirstTimeBin
! First Time bin needed for RAW QA More...

Int_t fRawLastTimeBin
! Last Time bin needed for RAW QA More...

## Detailed Description

Produces the data needed to calculate the quality assurance.

Based on AliPHOSQADataMaker: produces the data needed to calculate the quality assurance.

Based on AliPHOSQADataMaker All data must be mergeable objects.

# Updated July 2011:

Major changes to accomodate updates of general DQM/QA changes to have per trigger histograms (for a given event specie).

1) One instance of AliTPCdataQA only. (This also solves some old wishes by offline team to use less memory because event the 2d arrays for this object is not used). This now has a new flag for only keeping DQM info event by event! For this reason there is no need for a special DQM reset any more between runs!

2) Fill the histogram for each event. The histograms are no longer filled from the AliTPCdataQA but per event.

3) Use profiles for the RAW info. By adding the profiles event by event we get the correct event averages WITHOUT having to normalize in the end! Results should therefore also be directly mergable when that feature will come. (none of the other histograms are merged).

This means that from the DQM/QA point of view the TPC DQM is now fully standard and should ease future developments.

# Updated June 2010:

The "beautification" of the online DQM histograms have been moved to an amore macro.

The per event RAW histograms have been modified in AliTPCdataQA and the copies have therefore also been modified here.

The AliTPCdataQA can now be configured a bit from here: time bin range (extended default range to 1-1000, event range at start: 0-100000, 1000 events per bin). (At least the parameters are not hardcoded:-)

# Implementation:

For the QA of the RAW data we use the class, AliTPCdataQA, from the existing TPC Calibration framework (which is more advanced than the standard QA framework) and extract the histograms at the end. The Analyse method of the AliTPCdataQA class is called in the method, EndOfDetectorCycle, and there also: 1d histogram(s) are projected and added to the QA list.

Date
January 2008

All data must be mergeable objects.

Date
January 2008

Definition at line 24 of file AliTPCQADataMakerRec.h.

## Member Enumeration Documentation

Enumerator

Definition at line 28 of file AliTPCQADataMakerRec.h.

Enumerator
kQmaxShort
kQmaxMedium
kQmaxLong
kQShort
kQMedium
kQLong
kRow

Definition at line 30 of file AliTPCQADataMakerRec.h.

Enumerator
kRawsOccupancyVsSector
kRawsQVsSector
kRawsQmaxVsSector
kRawsOccupancy2dVsSector

Definition at line 27 of file AliTPCQADataMakerRec.h.

Enumerator
kClusters
kRatio
kPt

Definition at line 29 of file AliTPCQADataMakerRec.h.

## Constructor & Destructor Documentation

Definition at line 105 of file AliTPCQADataMakerRec.cxx.

Referenced by operator=().

copy ctor Does not copy the calibration object, instead InitRaws have to be called again

Definition at line 119 of file AliTPCQADataMakerRec.cxx.

virtual

Destructor

Definition at line 147 of file AliTPCQADataMakerRec.cxx.

Referenced by operator=().

## Member Function Documentation

privatevirtual

Detector specific actions at end of cycle

Definition at line 158 of file AliTPCQADataMakerRec.cxx.

inline

Definition at line 37 of file AliTPCQADataMakerRec.h.

inline

Definition at line 38 of file AliTPCQADataMakerRec.h.

privatevirtual

Definition at line 262 of file AliTPCQADataMakerRec.cxx.

privatevirtual

create ESDs histograms in ESDs subdir

Definition at line 169 of file AliTPCQADataMakerRec.cxx.

privatevirtual

Definition at line 198 of file AliTPCQADataMakerRec.cxx.

privatevirtual

Definition at line 276 of file AliTPCQADataMakerRec.cxx.

privatevirtual

Definition at line 489 of file AliTPCQADataMakerRec.cxx.

Referenced by InitRaws().

inlineprivatevirtual

Definition at line 56 of file AliTPCQADataMakerRec.h.

 void AliTPCQADataMakerRec::MakeDigits ( TTree * digTree )
privatevirtual

Definition at line 408 of file AliTPCQADataMakerRec.cxx.

 void AliTPCQADataMakerRec::MakeESDs ( AliESDEvent * esd )
privatevirtual

make QA data from ESDs

Definition at line 327 of file AliTPCQADataMakerRec.cxx.

privatevirtual

To make QA for the RAW data we use the TPC Calibration framework to handle the data and then in the end extract the data

Definition at line 356 of file AliTPCQADataMakerRec.cxx.

 void AliTPCQADataMakerRec::MakeRecPoints ( TTree * recTree )
privatevirtual

Definition at line 435 of file AliTPCQADataMakerRec.cxx.

Equal operator.

Definition at line 137 of file AliTPCQADataMakerRec.cxx.

 void AliTPCQADataMakerRec::SetRawRangeTime ( Int_t tMin, Int_t tMax )
inline

Definition at line 40 of file AliTPCQADataMakerRec.h.

inlineprivatevirtual

Definition at line 43 of file AliTPCQADataMakerRec.h.

## Member Data Documentation

private

! Pointers to ALTRO mapping

Definition at line 65 of file AliTPCQADataMakerRec.h.

private

! First Time bin needed for RAW QA

Definition at line 68 of file AliTPCQADataMakerRec.h.

Referenced by GetRawFirstTimeBin(), InitRaws(), and SetRawRangeTime().

private

! Last Time bin needed for RAW QA

Definition at line 69 of file AliTPCQADataMakerRec.h.

Referenced by GetRawLastTimeBin(), InitRaws(), and SetRawRangeTime().