AliRoot Core  edcc906 (edcc906)
CosmicPerformance.C File Reference
#include "TTree.h"
#include "TChain.h"
#include "TPad.h"
#include "TCanvas.h"
#include "TCut.h"
#include "TH1.h"
#include "TH2F.h"
#include "AliTPCcalibV0.h"
#include "AliExternalTrackParam.h"
Include dependency graph for CosmicPerformance.C:

Go to the source code of this file.

Functions

TCut cutN ("cutN","min(Orig0.fTPCncls,Orig1.fTPCncls)>80")
 
TCut cutN120 ("cutN120","min(Orig0.fTPCncls,Orig1.fTPCncls)+abs(Tr1.fP[4]*10)>120")
 
TCut cutN130 ("cutN120","min(Orig0.fTPCncls,Orig1.fTPCncls)+abs(Tr1.fP[4]*20)>130")
 
TCut cutS ("cutS","!crossI&&!crossO")
 
TCut cutRun ("run<620600")
 
void MakeCutsParam ()
 
void MakeGeomCuts ()
 
void MakeCuts ()
 
void MakeAlias ()
 
void MakeZPlot ()
 
void Make1PtPlot ()
 
void DrawZ ()
 
void DrawZPull ()
 
void Draw1Pt ()
 
void Draw1PtPull ()
 

Variables

TChain * chainCosmic =0
 
Int_t kmicolors [10] ={1,2,3,4,6,7,8,9,10,11}
 
Int_t kmimarkers [10] ={21,22,23,24,25,26,27,28,29,30}
 
AliTPCcalibV0 v0
 
Bool_t bUseCorrection =kFALSE
 
TCut cutDiff [6]
 
TCut cutPull [6]
 
TCut cutGeomTPC
 
TCut cutAll
 
TCut cutCustom =cutN130+cutS+cutRun
 
TCut cut1Pt = "Tr0.fP[1]>0"
 
TString dP [5]
 
TString sP [5]
 
TString pP [5]
 
TString axisYDP [5]
 
TString axisYPP [5]
 
TString axisYDPm [5]
 
TString axisYPPm [5]
 
Float_t range [5] = {5,3,10,3,0.05}
 
Float_t scale [5] = {10,10,1000,1000,1}
 
TH2F * histoDPZ [5] ={0,0,0,0,0}
 
TH2F * histoSPZ [5] ={0,0,0,0,0}
 
TH2F * histoPPZ [5] ={0,0,0,0,0}
 
TH1F * hmDPZ [5]
 
TH1F * hmSPZ [5]
 
TH1F * hmPPZ [5]
 
TH1F * hsDPZ [5]
 
TH1F * hsSPZ [5]
 
TH1F * hsPPZ [5]
 
TH2F * histoDP1Pt [5] ={0,0,0,0,0}
 
TH2F * histoSP1Pt [5] ={0,0,0,0,0}
 
TH2F * histoPP1Pt [5] ={0,0,0,0,0}
 
TH1F * hmDP1Pt [5]
 
TH1F * hmSP1Pt [5]
 
TH1F * hmPP1Pt [5]
 
TH1F * hsDP1Pt [5]
 
TH1F * hsSP1Pt [5]
 
TH1F * hsPP1Pt [5]
 

Detailed Description

.x ~/UliStyle.C
.x ~/NimStyle.C
.x ~/rootlogon.C
gSystem->Load("libSTAT");
gSystem->Load("libANALYSIS");
gSystem->Load("libTPCcalib");
gSystem->Load("libSTAT");
gSystem->AddIncludePath("-I$ALICE_ROOT/TPC/macros");
gROOT->LoadMacro("$ALICE_ROOT/TPC/macros/AliXRDPROOFtoolkit.cxx+");
TChain * chain = tool.MakeChain("cosmic.txt","Track0",0,1000000);
chain->Lookup();
chain->SetProof(kTRUE);
.L $ALICE_ROOT/TPC/CalibMacros/CosmicPerformance.C+
chainCosmic=chain;
PtResolPt();

Definition in file CosmicPerformance.C.

Function Documentation

TCut cutN ( "cutN"  ,
minOrig0.fTPCncls,Orig1.fTPCncls,
80"   
)
TCut cutN120 ( "cutN120"  ,
minOrig0.fTPCncls,Orig1.fTPCncls)+abs(Tr1.fP[4]*10,
120"   
)
TCut cutN130 ( "cutN120"  ,
minOrig0.fTPCncls,Orig1.fTPCncls)+abs(Tr1.fP[4]*20,
130"   
)
TCut cutS ( "cutS"  ,
"!crossI&&!crossO"   
)

Referenced by Make1PtPlot(), and MakeZPlot().

void Draw1Pt ( )

Definition at line 327 of file CosmicPerformance.C.

void Draw1PtPull ( )

Definition at line 340 of file CosmicPerformance.C.

void DrawZ ( )

Definition at line 297 of file CosmicPerformance.C.

void DrawZPull ( )

Definition at line 311 of file CosmicPerformance.C.

void Make1PtPlot ( )

Definition at line 238 of file CosmicPerformance.C.

void MakeAlias ( )

Definition at line 142 of file CosmicPerformance.C.

void MakeCuts ( )

make cuts all

Definition at line 134 of file CosmicPerformance.C.

void MakeCutsParam ( )

Default selection criteria

Definition at line 103 of file CosmicPerformance.C.

Referenced by MakeCuts().

void MakeGeomCuts ( )

Geometrical cut

Definition at line 121 of file CosmicPerformance.C.

Referenced by MakeCuts().

void MakeZPlot ( )

Definition at line 180 of file CosmicPerformance.C.

Variable Documentation

TString axisYDP[5]

Definition at line 71 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), MakeAlias(), and MakeZPlot().

TString axisYDPm[5]

Definition at line 73 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), MakeAlias(), and MakeZPlot().

TString axisYPP[5]

Definition at line 72 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), MakeAlias(), and MakeZPlot().

TString axisYPPm[5]

Definition at line 74 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), MakeAlias(), and MakeZPlot().

Bool_t bUseCorrection =kFALSE

Definition at line 50 of file CosmicPerformance.C.

TChain* chainCosmic =0

Definition at line 45 of file CosmicPerformance.C.

Referenced by dedxDemo(), Make1PtPlot(), MakeZPlot(), PseudoCode(), and TestChainCosmicDedx().

TCut cut1Pt = "Tr0.fP[1]>0"

Definition at line 64 of file CosmicPerformance.C.

Referenced by Make1PtPlot().

TCut cutAll

Definition at line 62 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), MakeCuts(), and MakeZPlot().

TCut cutCustom =cutN130+cutS+cutRun

Definition at line 63 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), MakeFit(), and MakeZPlot().

TCut cutDiff[6]

Definition at line 54 of file CosmicPerformance.C.

Referenced by MakeCuts(), and MakeCutsParam().

TCut cutGeomTPC

Definition at line 56 of file CosmicPerformance.C.

Referenced by MakeCuts(), and MakeGeomCuts().

TCut cutPull[6]

Definition at line 55 of file CosmicPerformance.C.

Referenced by MakeCuts(), and MakeCutsParam().

TH2F* histoDP1Pt[5] ={0,0,0,0,0}

Definition at line 93 of file CosmicPerformance.C.

Referenced by Make1PtPlot().

TH2F* histoDPZ[5] ={0,0,0,0,0}

Definition at line 82 of file CosmicPerformance.C.

Referenced by MakeZPlot().

TH2F* histoPP1Pt[5] ={0,0,0,0,0}

Definition at line 95 of file CosmicPerformance.C.

Referenced by Make1PtPlot().

TH2F* histoPPZ[5] ={0,0,0,0,0}

Definition at line 84 of file CosmicPerformance.C.

Referenced by MakeZPlot().

TH2F* histoSP1Pt[5] ={0,0,0,0,0}

Definition at line 94 of file CosmicPerformance.C.

Referenced by Make1PtPlot().

TH2F* histoSPZ[5] ={0,0,0,0,0}

Definition at line 83 of file CosmicPerformance.C.

Referenced by MakeZPlot().

TH1F* hmDP1Pt[5]

Definition at line 96 of file CosmicPerformance.C.

Referenced by Draw1Pt(), and Make1PtPlot().

TH1F* hmDPZ[5]

Definition at line 85 of file CosmicPerformance.C.

Referenced by DrawZ(), and MakeZPlot().

TH1F* hmPP1Pt[5]

Definition at line 98 of file CosmicPerformance.C.

Referenced by Draw1PtPull(), and Make1PtPlot().

TH1F* hmPPZ[5]

Definition at line 87 of file CosmicPerformance.C.

Referenced by DrawZPull(), and MakeZPlot().

TH1F* hmSP1Pt[5]

Definition at line 97 of file CosmicPerformance.C.

Referenced by Make1PtPlot().

TH1F* hmSPZ[5]

Definition at line 86 of file CosmicPerformance.C.

Referenced by MakeZPlot().

TH1F* hsDP1Pt[5]

Definition at line 99 of file CosmicPerformance.C.

Referenced by Draw1Pt(), and Make1PtPlot().

TH1F* hsDPZ[5]

Definition at line 88 of file CosmicPerformance.C.

Referenced by DrawZ(), and MakeZPlot().

TH1F* hsPP1Pt[5]

Definition at line 101 of file CosmicPerformance.C.

Referenced by Draw1PtPull(), and Make1PtPlot().

TH1F* hsPPZ[5]

Definition at line 90 of file CosmicPerformance.C.

Referenced by DrawZPull(), and MakeZPlot().

TH1F* hsSP1Pt[5]

Definition at line 100 of file CosmicPerformance.C.

Referenced by Make1PtPlot().

TH1F* hsSPZ[5]

Definition at line 89 of file CosmicPerformance.C.

Referenced by MakeZPlot().

Int_t kmicolors[10] ={1,2,3,4,6,7,8,9,10,11}

Definition at line 46 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), and MakeZPlot().

Int_t kmimarkers[10] ={21,22,23,24,25,26,27,28,29,30}

Definition at line 47 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), and MakeZPlot().

TString pP[5]

Definition at line 70 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), MakeAlias(), and MakeZPlot().

TString sP[5]

Definition at line 69 of file CosmicPerformance.C.

Referenced by Make1PtPlot(), MakeAlias(), and MakeZPlot().