AliRoot Core  3dc7879 (3dc7879)
UnitTest.C File Reference
#include "TF1.h"
#include "TMath.h"
#include "TLinearFitter.h"
#include "TFile.h"
#include "AliSysInfo.h"
#include "TTree.h"
#include "AliLog.h"
#include "THn.h"
#include "TRandom.h"
#include "AliTPCCalPad.h"
#include "AliTPCCalibViewer.h"
#include "AliTPCcalibDButil.h"
#include "AliTPCCorrection.h"
#include "AliTPCComposedCorrection.h"
#include "AliTPCExBTwist.h"
#include "AliTPCFCVoltError3D.h"
#include "AliTPCROCVoltError3D.h"
#include "AliTPCBoundaryVoltError.h"
#include "AliTPCCalibGlobalMisalignment.h"
#include "AliCDBEntry.h"
#include "TStopwatch.h"
#include "TGeoMatrix.h"
#include "TGeoGlobalMagField.h"
#include "AliMagF.h"
Include dependency graph for UnitTest.C:

Go to the source code of this file.

Functions

Bool_t TestCorrection_AliTPCCorrection_AddCorrectionCompact ()
 
Bool_t TestCorrection_AliTPCExBTwistAddCorrectionCompact ()
 
Bool_t TestCorrection_AliTPCFCVoltError3DAddCorrectionCompact ()
 
Bool_t TestCorrection_AliTPCRocVoltError3DAddCorrectionCompact ()
 
Bool_t TestCorrection_AliTPCBoundaryVoltErrorAddCorrectionCompact ()
 
Bool_t TestCorrection_AliTPCCalibGlobalMisalignmentAddCorrectionCompact ()
 
Bool_t TestCorrection_AliTPCComposedCorrectionAddCorrectionCompact ()
 
Bool_t TestCorrection_AliTPCComposedCorrectionAddCorrectionCompact_TPCCalibCorrection (Bool_t fast=kFALSE)
 
void UnitTestAliTPCCalPadTree ()
 

Variables

TString baseDir ="/hera/alice/wiechula/calib/guiTrees"
 

Detailed Description

Unit test for some functions classes used in the $ALICE_ROOT/TPC/Base directory:

gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/ -I$ALICE_ROOT/install/include -I$ALICE_ROOT/STEER -I$ALICE_ROOT/ITS -I$ALICE_ROOT/TRD -I$ALICE_ROOT/TOF -I$ALICE_ROOT/RAW -I$ALICE_ROOT/STAT -I$ALICE_ROOT/TPC/TPCbase -I$ALICE_ROOT/TPCcalib");
.L $ALICE_ROOT/TPC/Base/test/UnitTest.C+

Definition in file UnitTest.C.

Function Documentation

Bool_t TestCorrection_AliTPCBoundaryVoltErrorAddCorrectionCompact ( )

AliTPCBoundaryVoltErrorAddCorrectionCompact

Definition at line 305 of file UnitTest.C.

Referenced by TestCorrection_AliTPCCorrection_AddCorrectionCompact().

Bool_t TestCorrection_AliTPCCalibGlobalMisalignmentAddCorrectionCompact ( )

AliTPCCalibGlobalMisalignmentAddCorrectionCompact Invariant used in test is not exact it is only approximate - as matrix multiplication is not comulative !!!! BUG FOUND ???? hmatrix1->GetTranslation()[idelta]=xxx; // does not work as expected Translation is set, visible in Print but not used later

Definition at line 371 of file UnitTest.C.

Referenced by TestCorrection_AliTPCCorrection_AddCorrectionCompact().

Bool_t TestCorrection_AliTPCComposedCorrectionAddCorrectionCompact ( )

Tests of AliTPCComposedCorrection 1.) Make linear combination correction example using weights. Test correction checking invariant inverse x orig (there are simpler way to do inversion using AliTPCInverseCorrection)

2.) Make compact for of the Composed correction. Test correction checking invariant inverse x orig

Definition at line 540 of file UnitTest.C.

Bool_t TestCorrection_AliTPCComposedCorrectionAddCorrectionCompact_TPCCalibCorrection ( Bool_t  fast = kFALSE)

Test the

Definition at line 470 of file UnitTest.C.

Bool_t TestCorrection_AliTPCCorrection_AddCorrectionCompact ( )

Definition at line 460 of file UnitTest.C.

Bool_t TestCorrection_AliTPCExBTwistAddCorrectionCompact ( )

1.) Test ExB twist AddCorrectionCompact

Definition at line 115 of file UnitTest.C.

Referenced by TestCorrection_AliTPCCorrection_AddCorrectionCompact().

Bool_t TestCorrection_AliTPCFCVoltError3DAddCorrectionCompact ( )

TestCorrection_AliTPCFCVoltError3DAddCorrectionCompact

Definition at line 171 of file UnitTest.C.

Referenced by TestCorrection_AliTPCCorrection_AddCorrectionCompact().

Bool_t TestCorrection_AliTPCRocVoltError3DAddCorrectionCompact ( )

AliTPCRocVoltError3DAddCorrectionCompact

Definition at line 239 of file UnitTest.C.

Referenced by TestCorrection_AliTPCCorrection_AddCorrectionCompact().

void UnitTestAliTPCCalPadTree ( )

Make a UnitTest of the AliTPCCalPad a.) TTree functionaility b.) MedianFilterFunctionality c.) LTMFilterFunctionality

Definition at line 51 of file UnitTest.C.

Variable Documentation