AliRoot Core  3dc7879 (3dc7879)
CalibCosmic.C File Reference
#include "THnSparse.h"
#include "TLatex.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TSystem.h"
#include "TFile.h"
#include "TChain.h"
#include "TCut.h"
#include "TH3.h"
#include "TH2F.h"
#include "TProfile3D.h"
#include "TMath.h"
#include "TVectorD.h"
#include "TMatrixD.h"
#include "TTreeStream.h"
#include "AliExternalTrackParam.h"
#include "AliESDfriend.h"
#include "AliTPCcalibCosmic.h"
#include "TROOT.h"
#include "TPostScript.h"
#include "TStyle.h"
#include "AliTrackerBase.h"
#include "AliTPCExBEffective.h"
#include "TEntryList.h"
Include dependency graph for CalibCosmic.C:

Go to the source code of this file.

Functions

void Init ()
 
void SetRangeAll (Int_t axis, Float_t xmin, Float_t xmax)
 
void SetDefaultCut ()
 
void MakeDefaultPlots ()
 
void CalibCosmic ()
 
TH2 * GetDelta2D (Int_t type, Int_t var)
 
TH1 * GetFit2D (Int_t type, Int_t var, Bool_t resol)
 
TH1 * GetDelta (Int_t type)
 
TH2 * GetPull2D (Int_t type, Int_t var)
 
TH1 * GetPull2DSigma (Int_t type, Int_t var)
 
TH1 * GetPull (Int_t type)
 
void DrawResoldEdx ()
 
void DrawStat (Int_t coord, TObjArray *array=0)
 
void SetStylePad (TVirtualPad *pad)
 
void MakePlotPt (TObjArray *array)
 
void MakePlotP4 (TObjArray *array)
 
void MakePlotPosY (TObjArray *array)
 
void MakePlotSnp (TObjArray *array)
 
void MakePlotTgl (TObjArray *array)
 
void MakePlotPosZ (TObjArray *array)
 

Variables

AliTPCcalibCosmic * cosmicScan =0
 
TObjArray fitArr
 
Int_t colors [3] ={1,2,4}
 
TObjArraypicArray = new TObjArray()
 
const char * chsign [3] ={"all", "Positive","Negative"}
 

Detailed Description

Draw result of perfomance test:

aliroot -b -q $ALICE_ROOT/TPC/scripts/loadTPCcalib.C $ALICE_ROOT/TPC/CalibMacros/CalibCosmic.C
// gROOT->Macro("~/NimStyle.C");
gSystem->AddIncludePath("-I$ALICE_ROOT/STAT")
gSystem->AddIncludePath("-I$ALICE_ROOT/TPC")
gSystem->AddIncludePath("-I$ALICE_ROOT/TPC/macros")
gSystem->Load("libANALYSIS");
gSystem->Load("libTPCcalib");
.L $ALICE_ROOT/TPC/CalibMacros/CalibCosmic.C
// init
Init();
SetDefaultCut(); // check defualt cut
//
gROOT->Macro("~/NimStyle.C");
TFile f("cosmicPlots.root");
TBrowser b
b.Add(CosmicPlots,"CosmicPlot");

Definition in file CalibCosmic.C.

Function Documentation

void CalibCosmic ( )

init

Definition at line 72 of file CalibCosmic.C.

void DrawResoldEdx ( )

Definition at line 191 of file CalibCosmic.C.

void DrawStat ( Int_t  coord,
TObjArray array = 0 
)

Definition at line 253 of file CalibCosmic.C.

Referenced by MakeDefaultPlots().

TH1* GetDelta ( Int_t  type)

Definition at line 159 of file CalibCosmic.C.

TH2* GetDelta2D ( Int_t  type,
Int_t  var 
)

Definition at line 134 of file CalibCosmic.C.

TH1* GetFit2D ( Int_t  type,
Int_t  var,
Bool_t  resol 
)
TH1* GetPull ( Int_t  type)

Definition at line 184 of file CalibCosmic.C.

TH2* GetPull2D ( Int_t  type,
Int_t  var 
)

Definition at line 165 of file CalibCosmic.C.

TH1* GetPull2DSigma ( Int_t  type,
Int_t  var 
)

Definition at line 172 of file CalibCosmic.C.

void Init ( )

Definition at line 81 of file CalibCosmic.C.

Referenced by CalibCosmic().

void MakeDefaultPlots ( )

Definition at line 587 of file CalibCosmic.C.

Referenced by CalibCosmic().

void MakePlotP4 ( TObjArray array)

Definition at line 326 of file CalibCosmic.C.

Referenced by MakeDefaultPlots().

void MakePlotPosY ( TObjArray array)

Definition at line 382 of file CalibCosmic.C.

Referenced by MakeDefaultPlots().

void MakePlotPosZ ( TObjArray array)

Definition at line 533 of file CalibCosmic.C.

Referenced by MakeDefaultPlots().

void MakePlotPt ( TObjArray array)

Definition at line 275 of file CalibCosmic.C.

Referenced by MakeDefaultPlots().

void MakePlotSnp ( TObjArray array)

Definition at line 434 of file CalibCosmic.C.

Referenced by MakeDefaultPlots().

void MakePlotTgl ( TObjArray array)

Definition at line 483 of file CalibCosmic.C.

Referenced by MakeDefaultPlots().

void SetDefaultCut ( )

Definition at line 116 of file CalibCosmic.C.

Referenced by CalibCosmic().

void SetRangeAll ( Int_t  axis,
Float_t  xmin,
Float_t  xmax 
)

Definition at line 106 of file CalibCosmic.C.

void SetStylePad ( TVirtualPad *  pad)

Variable Documentation

const char* chsign[3] ={"all", "Positive","Negative"}
TObjArray fitArr

Definition at line 61 of file CalibCosmic.C.

Referenced by GetFit2D(), and GetPull2DSigma().

TObjArray* picArray = new TObjArray()

Definition at line 63 of file CalibCosmic.C.

Referenced by MakeDefaultPlots(), and MakeFits().