AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTPCQADataMakerRec Class Reference

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

#include <AliTPCQADataMakerRec.h>

Inheritance diagram for AliTPCQADataMakerRec:

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

 AliTPCQADataMakerRec ()
 
 AliTPCQADataMakerRec (const AliTPCQADataMakerRec &qadm)
 
AliTPCQADataMakerRecoperator= (const AliTPCQADataMakerRec &qadm)
 
virtual ~AliTPCQADataMakerRec ()
 
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 MakeRaws (AliRawReader *rawReader)
 
virtual void InitDigits ()
 
virtual void MakeDigits ()
 
virtual void MakeDigits (TTree *digTree)
 
virtual void InitRecPoints ()
 
virtual void MakeRecPoints (TTree *recTree)
 
virtual void LoadMaps ()
 

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.

Author
P. Christiansen, Lund
Date
January 2008

All data must be mergeable objects.

Author
P. Christiansen, Lund,
Date
January 2008

Definition at line 24 of file AliTPCQADataMakerRec.h.

Member Enumeration Documentation

Enumerator
kDigitsADC 

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

AliTPCQADataMakerRec::AliTPCQADataMakerRec ( )

Definition at line 105 of file AliTPCQADataMakerRec.cxx.

Referenced by operator=().

AliTPCQADataMakerRec::AliTPCQADataMakerRec ( const AliTPCQADataMakerRec qadm)

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

Definition at line 119 of file AliTPCQADataMakerRec.cxx.

AliTPCQADataMakerRec::~AliTPCQADataMakerRec ( )
virtual

Destructor

Definition at line 147 of file AliTPCQADataMakerRec.cxx.

Referenced by operator=().

Member Function Documentation

void AliTPCQADataMakerRec::EndOfDetectorCycle ( AliQAv1::TASKINDEX_t  task,
TObjArray **  list 
)
privatevirtual

Detector specific actions at end of cycle

Definition at line 158 of file AliTPCQADataMakerRec.cxx.

Int_t AliTPCQADataMakerRec::GetRawFirstTimeBin ( ) const
inline

Definition at line 37 of file AliTPCQADataMakerRec.h.

Int_t AliTPCQADataMakerRec::GetRawLastTimeBin ( ) const
inline

Definition at line 38 of file AliTPCQADataMakerRec.h.

void AliTPCQADataMakerRec::InitDigits ( )
privatevirtual

Definition at line 262 of file AliTPCQADataMakerRec.cxx.

void AliTPCQADataMakerRec::InitESDs ( )
privatevirtual

create ESDs histograms in ESDs subdir

Definition at line 169 of file AliTPCQADataMakerRec.cxx.

void AliTPCQADataMakerRec::InitRaws ( )
privatevirtual

Adding the raw

Definition at line 198 of file AliTPCQADataMakerRec.cxx.

void AliTPCQADataMakerRec::InitRecPoints ( )
privatevirtual

Definition at line 276 of file AliTPCQADataMakerRec.cxx.

void AliTPCQADataMakerRec::LoadMaps ( )
privatevirtual

Definition at line 489 of file AliTPCQADataMakerRec.cxx.

Referenced by InitRaws().

virtual void AliTPCQADataMakerRec::MakeDigits ( )
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.

void AliTPCQADataMakerRec::MakeRaws ( AliRawReader *  rawReader)
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.

AliTPCQADataMakerRec & AliTPCQADataMakerRec::operator= ( const AliTPCQADataMakerRec qadm)

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.

virtual void AliTPCQADataMakerRec::StartOfDetectorCycle ( )
inlineprivatevirtual

Definition at line 43 of file AliTPCQADataMakerRec.h.

Member Data Documentation

AliTPCAltroMapping* AliTPCQADataMakerRec::fMapping[6]
private

! Pointers to ALTRO mapping

Definition at line 65 of file AliTPCQADataMakerRec.h.

Referenced by AliTPCQADataMakerRec(), InitRaws(), LoadMaps(), and ~AliTPCQADataMakerRec().

Int_t AliTPCQADataMakerRec::fRawFirstTimeBin
private

! First Time bin needed for RAW QA

Definition at line 68 of file AliTPCQADataMakerRec.h.

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

Int_t AliTPCQADataMakerRec::fRawLastTimeBin
private

! Last Time bin needed for RAW QA

Definition at line 69 of file AliTPCQADataMakerRec.h.

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

AliTPCdataQA* AliTPCQADataMakerRec::fTPCdataQA
private

! TPC calibration object for making raw data QA

Definition at line 66 of file AliTPCQADataMakerRec.h.

Referenced by InitRaws(), MakeRaws(), and ~AliTPCQADataMakerRec().


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