From: dberzano Date: Wed, 4 Feb 2015 16:15:46 +0000 (+0100) Subject: doxy: TPC/macros/scripts converted X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=1db00cb505f0751eb8962acec149703d669e1bdb doxy: TPC/macros/scripts converted --- diff --git a/TPC/scripts/OCDBscan/CalibSummary.C b/TPC/scripts/OCDBscan/CalibSummary.C index 97061487451..28df088dc67 100644 --- a/TPC/scripts/OCDBscan/CalibSummary.C +++ b/TPC/scripts/OCDBscan/CalibSummary.C @@ -1,10 +1,10 @@ -// Macro to extract calibration summary information -// ConfigOCDB.C macro has to be present in working directory -// +/// \file CalibSummary.C +/// \brief Macro to extract calibration summary information +/// ConfigOCDB.C macro has to be present in working directory + void CalibSummary(Int_t irun){ - // - // - // + /// + gSystem->Load("libANALYSIS"); gSystem->Load("libTPCcalib"); gROOT->LoadMacro("ConfigOCDB.C"); diff --git a/TPC/scripts/OCDBscan/ConfigOCDB.C b/TPC/scripts/OCDBscan/ConfigOCDB.C index 8795439b319..60ddc210066 100644 --- a/TPC/scripts/OCDBscan/ConfigOCDB.C +++ b/TPC/scripts/OCDBscan/ConfigOCDB.C @@ -1,13 +1,15 @@ -// -// Macro to Setup OCDB for calibration scan -// By default - all entries taken from the AliEn OCDB storage -// This is just example macro -// Responsible: marian.ivanov@cern.ch +/// \file ConfigOCDB.C +/// \brief Macro to Setup OCDB for calibration scan +/// +/// By default - all entries taken from the AliEn OCDB storage +/// This is just example macro +/// \author marian.ivanov@cern.ch void ConfigOCDB(Int_t crun=-1){ - // + /// + printf("SETUP OCBD for TPC\n"); // AliCDBManager::Instance()->SetDefaultStorage("raw://"); diff --git a/TPC/scripts/OCDBscan/NimStyle.C b/TPC/scripts/OCDBscan/NimStyle.C index bbef977ecbc..c426058818f 100644 --- a/TPC/scripts/OCDBscan/NimStyle.C +++ b/TPC/scripts/OCDBscan/NimStyle.C @@ -1,3 +1,5 @@ +/// \file NimStyle.C + 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}; diff --git a/TPC/scripts/OCDBscan/guiAlias.C b/TPC/scripts/OCDBscan/guiAlias.C index 884c08591cf..3966bdbf837 100644 --- a/TPC/scripts/OCDBscan/guiAlias.C +++ b/TPC/scripts/OCDBscan/guiAlias.C @@ -1,22 +1,30 @@ -/* - //Make default Aliases for guiTime: - // 1. Run the guiTime - // guiTime - // 2. Define aliases - .L $ALICE_ROOT/TPC/CalibMacros/guiAlias.C - guiAlias(); - // 3. Use aliases inside the guiTime - // You can use them as custom cuts - // - // browse special streamers - gSystem->AddIncludePath("-I$ALICE_ROOT/TPC/macros"); - gROOT->LoadMacro("$ALICE_ROOT/TPC/macros/AliXRDPROOFtoolkit.cxx+") - AliXRDPROOFtoolkit tool; - TChain * chainDCS = tool.MakeChainRandom("time.txt","dcs",0,10000); - TChain * chainCTP = tool.MakeChainRandom("time.txt","ctp",0,10000); - TChain * chainAlign = tool.MakeChainRandom("time.txt","align",0,10000); - -*/ +/// \file guiAlias.C + +/// Make default Aliases for guiTime: +/// +/// 1. Run the guiTime +/// ~~~ +/// guiTime +/// ~~~ +/// +/// 2. Define aliases +/// ~~~{.cpp} +/// .L $ALICE_ROOT/TPC/CalibMacros/guiAlias.C +/// guiAlias(); +/// ~~~ +/// +/// 3. Use aliases inside the guiTime +/// You can use them as custom cuts +/// +/// ~~~{.cpp} +/// // browse special streamers +/// gSystem->AddIncludePath("-I$ALICE_ROOT/TPC/macros"); +/// gROOT->LoadMacro("$ALICE_ROOT/TPC/macros/AliXRDPROOFtoolkit.cxx+") +/// AliXRDPROOFtoolkit tool; +/// TChain * chainDCS = tool.MakeChainRandom("time.txt","dcs",0,10000); +/// TChain * chainCTP = tool.MakeChainRandom("time.txt","ctp",0,10000); +/// TChain * chainAlign = tool.MakeChainRandom("time.txt","align",0,10000); +/// ~~~ TObjArray *picArray = new TObjArray; @@ -42,9 +50,8 @@ void SetStyle(){ } void MakeAliasCE(Double_t deltaT){ - // - // Aliases cuts for CE - // + /// Aliases cuts for CE + guiTree->SetAlias("ceCut0", "tdriftCE.fElements[72]>100 && tdriftCE.fElements[73]>100"); guiTree->SetAlias("dceCutTime", Form("sqrt(dcea^2+dcec^2)<%f",deltaT*3600)); guiTree->SetAlias("ceCut","dceCutTime&&ceCut0"); @@ -61,9 +68,8 @@ void MakeAliasCosmic(Double_t deltaT){ void SetGoofieAlias(){ - // - // goofie aliases - // + /// goofie aliases + guiTree->SetAlias("ptrelG","(goofie.fElements[17]/0.3426-1)"); guiTree->SetAlias("vdriftGN","goofie.fElements[3]/(1+ptrelG)"); guiTree->SetAlias("goCut","goofie.fElements[3]>0"); @@ -75,9 +81,8 @@ void SetGoofieAlias(){ void DrawLaserDrift(){ - // - // laser calibration default picture - // Data are filtered + /// laser calibration default picture + /// Data are filtered // // draw laser residuals A side -C side - when it is defined @@ -142,9 +147,8 @@ void DrawLaserDrift(){ void DrawITSVD(){ - // - // ITS/TPC drift velocity correction - // + /// ITS/TPC drift velocity correction + guiTree->Draw("100*(ALIGN_ITSP_TPC_DRIFTVD-ALIGN_ITSM_TPC_DRIFTVD)","abs(dits)<3000&&ALIGN_ITSM_TPC_DRIFTVD!=0"); his=(TH1*)htemp->Clone(); his->SetDirectory(0); @@ -187,9 +191,8 @@ void DrawITSVD(){ void CEdrift(){ - // - // - // + /// + guiTree->SetAlias("vdriftCE0","250/CEgrDriftA"); guiTree->SetAlias("vdriftCE1","vdriftCE0/(1+ptrel0)"); } diff --git a/TPC/scripts/OCDBscan/jdl/ConfigOCDB.C b/TPC/scripts/OCDBscan/jdl/ConfigOCDB.C index a88fe07a395..c81dd097c5c 100644 --- a/TPC/scripts/OCDBscan/jdl/ConfigOCDB.C +++ b/TPC/scripts/OCDBscan/jdl/ConfigOCDB.C @@ -1,14 +1,15 @@ -// -// -// Macro to Setup OCDB for calibration scan -// By default - all entries taken from the AliEn OCDB storage -// This is just example macro -// Responsible: marian.ivanov@cern.ch +/// \file ConfigOCDB.C +/// \brief Macro to Setup OCDB for calibration scan +/// +/// By default - all entries taken from the AliEn OCDB storage +/// This is just example macro +/// \author marian.ivanov@cern.ch void ConfigOCDB(Int_t run=-1){ - // + /// + printf("SETUP OCBD for TPC\n"); // AliCDBManager::Instance()->SetDefaultStorage("raw://"); diff --git a/TPC/scripts/OCDBscan/jdl/runCalibSummary.C b/TPC/scripts/OCDBscan/jdl/runCalibSummary.C index 5e4a06a5b66..448904cf479 100644 --- a/TPC/scripts/OCDBscan/jdl/runCalibSummary.C +++ b/TPC/scripts/OCDBscan/jdl/runCalibSummary.C @@ -1,14 +1,11 @@ -/* - - - runCalibSummary.C - Macro to extract TPC calibration summary information - - Example: - .L runCalibSummary.C - runCalibSummary(119037); - -*/ +/// \file runCalibSummary.C +/// \brief Macro to extract TPC calibration summary information +/// +/// Example: +/// ~~~{.cpp} +/// .L runCalibSummary.C +/// runCalibSummary(119037); +/// ~~~ void runCalibSummary(TString runNumberString ="0") { @@ -21,12 +18,12 @@ void runCalibSummary(TString runNumberString ="0") // Configure OCDB gROOT->LoadMacro("ConfigOCDB.C"); - ConfigOCDB(irun); - + ConfigOCDB(irun); + // run extraction of the calibration summary ... AliTPCcalibSummary *calibSummary = new AliTPCcalibSummary; calibSummary->ProcessRun(irun); delete calibSummary; - + return; } diff --git a/TPC/scripts/OCDBscan/loadlibsREC.C b/TPC/scripts/OCDBscan/loadlibsREC.C index d735dcd4eea..fba1ad32888 100644 --- a/TPC/scripts/OCDBscan/loadlibsREC.C +++ b/TPC/scripts/OCDBscan/loadlibsREC.C @@ -1,3 +1,5 @@ +/// \file loadlibsREC.C + void loadlibsREC () { gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/ -I$ALICE_ROOT/include -I$ALICE_ROOT/STEER -I$ALICE_ROOT/TPC -I$ALICE_ROOT/TPC/CalibMacros -I$ALICE_ROOT/ITS -I$ALICE_ROOT/TRD "); diff --git a/TPC/scripts/OCDBscan/makeChain.C b/TPC/scripts/OCDBscan/makeChain.C index 79028ed08bc..6f659851de1 100644 --- a/TPC/scripts/OCDBscan/makeChain.C +++ b/TPC/scripts/OCDBscan/makeChain.C @@ -1,7 +1,10 @@ -// Make a summary tree -// Use guiTime with summary file - it is faster as with chain -// guiTime calibTimeSummary.root - +/// \file makeChain.C +/// \brief Make a summary tree +/// +/// Use guiTime with summary file - it is faster as with chain +/// ~~~ +/// guiTime calibTimeSummary.root +/// ~~~ void MakeChain(const char *prefix){ gSystem->Exec(Form("find %s |grep calibTree | grep root > calib.list",prefix)); diff --git a/TPC/scripts/OCDBscan/makeDefaultPlots.C b/TPC/scripts/OCDBscan/makeDefaultPlots.C index 309017a99ab..aa346b911da 100644 --- a/TPC/scripts/OCDBscan/makeDefaultPlots.C +++ b/TPC/scripts/OCDBscan/makeDefaultPlots.C @@ -1,20 +1,18 @@ -/* - // .L $ALICE_ROOT/TPC/scripts/OCDBscan/makeDefaultPlots.C - Init(); - MakeAliases(); - -*/ - - +/// \file makeDefaultPlots.C +/// +/// ~~~{.cpp} +/// .L $ALICE_ROOT/TPC/scripts/OCDBscan/makeDefaultPlots.C +/// Init(); +/// MakeAliases(); +/// ~~~ TTree * guiTree=0; TObjArray * picArray = new TObjArray; TCut cutUser="run>114500"; void makeDefaultPlots(){ - // - // make default trend plots - // + /// make default trend plots + Init(); MakeAliases(); MakePlotDrift(); @@ -25,10 +23,9 @@ void makeDefaultPlots(){ } void Init(){ - // - // Init trees and style - // summary tree supposed to be in the given file - // + /// Init trees and style + /// summary tree supposed to be in the given file + TFile *f = new TFile("calibTimeSummary.root"); guiTree=(TTree*)f->Get("dcs"); guiTree->SetMarkerStyle(25); @@ -36,19 +33,19 @@ void Init(){ } void MakeAliases(){ - // - // Make "reasonable" alaiase for variables - // Define te cut variables for visualization - // - // Drift velocity - guiTree->SetAlias("vitsOK","abs(dits)<3600*0.5"); + /// Make "reasonable" alaiase for variables + /// Define te cut variables for visualization + /// + /// Drift velocity + + guiTree->SetAlias("vitsOK","abs(dits)<3600*0.5"); //TOF alaieases - guiTree->SetAlias("vtofOK","abs(ALIGN_TOF_TPC_DELTATHETA-ALIGN_TOF_TPC_DELTATHETA)<0.0003&&abs(ALIGN_TOF_TPC_DELTAPSI-ALIGN_TOF_TPC_DELTAPSI)<0.0003&&abs(ALIGN_TOF_TPC_DELTATHETA)<0.003&&abs(ALIGN_TOF_TPC_DELTAPSI)<0.003"); + guiTree->SetAlias("vtofOK","abs(ALIGN_TOF_TPC_DELTATHETA-ALIGN_TOF_TPC_DELTATHETA)<0.0003&&abs(ALIGN_TOF_TPC_DELTAPSI-ALIGN_TOF_TPC_DELTAPSI)<0.0003&&abs(ALIGN_TOF_TPC_DELTATHETA)<0.003&&abs(ALIGN_TOF_TPC_DELTAPSI)<0.003"); guiTree->SetAlias("vdriftTOF","ALIGN_TOFB_TPC_DRIFTVD"); - // angular alignent within limits - // + // angular alignent within limits // - // distance to measurement 1/2 hour + // + // distance to measurement 1/2 hour // Goofie // guiTree->SetAlias("vgoofieOK","abs(goofie.fElements[3]-2.7)<0.15&&abs(goofie.fElements[5]/goofie.fElements[6]-0.8)<0.05&&abs(goofie.fElements[2]-9.)<4&&abs(goofie.fElements[9]/goofieMedian.fElements[9]-1)<0.05&&abs(goofie.fElements[3]-goofieMean.fElements[3])<0.02"); @@ -80,23 +77,21 @@ void MakeAliases(){ Double_t goofieITSNorm = guiTree->GetHistogram()->GetMean(); guiTree->SetAlias("vdriftGoofie",Form("(goofieVd*goofieP-1)-%f",goofieITSNorm)); // - + } void MakePlotDrift(){ - // - // Compare drift velocity calibration - // with Goofie calibration - // - // + /// Compare drift velocity calibration + /// with Goofie calibration + Int_t entries =0; TGraph *graphITS =0; TGraph *graphTOF =0; TGraph *graphGoofie =0; entries = guiTree->Draw("100*vdriftITS:time","vitsOK"+cutUser,""); - graphITS = new TGraph(entries,guiTree->GetV2(), guiTree->GetV1()); + graphITS = new TGraph(entries,guiTree->GetV2(), guiTree->GetV1()); entries = guiTree->Draw("100*vdriftTOF:time","vitsOK&&vtofOK"+cutUser,""); - graphTOF = new TGraph(entries,guiTree->GetV2(), guiTree->GetV1()); + graphTOF = new TGraph(entries,guiTree->GetV2(), guiTree->GetV1()); guiTree->Draw("100*vdriftGoofie:time","vitsOK&&vgoofieOK"+cutUser,"same"); graphGoofie = new TGraph(entries,guiTree->GetV2(), guiTree->GetV1()); // @@ -127,5 +122,5 @@ void MakePlotDrift(){ picArray->AddLast(cDrift->Clone()); // // - + } diff --git a/TPC/scripts/OCDBscan/makeTPCTrendPlots.C b/TPC/scripts/OCDBscan/makeTPCTrendPlots.C index 1a0a3951edd..5f571b798b8 100644 --- a/TPC/scripts/OCDBscan/makeTPCTrendPlots.C +++ b/TPC/scripts/OCDBscan/makeTPCTrendPlots.C @@ -1,16 +1,16 @@ -/* - Make a TPC basic calibration trend plots: - Input - calibTime.root tree with summary info per run expected to be in the local directory - - optional parameters run range can be specified - startRun -endRun - Output - default plots are saved in the pwd/pic/ - macro to define the picture style (NimStyle.C) expected to be in the current directory +/// \file makeTPCTrendPlots.C +/// \brief Make a TPC basic calibration trend plots +/// +/// * Input - calibTime.root tree with summary info per run expected to be in the local directory +/// optional parameters run range can be specified - startRun -endRun +/// * Output - default plots are saved in the pwd/pic/ +/// macro to define the picture style (NimStyle.C) expected to be in the current directory +/// +/// Example usage: +/// ~~~ +/// aliroot -b -q /u/miranov/AliRoot/trunk/TPC/scripts/OCDBscan/makeTPCTrendPlots.C +/// ~~~ - - Example usage: - - aliroot -b -q /u/miranov/AliRoot/trunk/TPC/scripts/OCDBscan/makeTPCTrendPlots.C - -*/ TTree * tree=0; const Double_t kmin=0.01; @@ -20,9 +20,8 @@ Int_t run0=0; // value to set from outside Int_t run1=10000000; // vaue to set from outside void makeTPCTrendPlots(Int_t startRun=0, Int_t endRun=1000000){ - // - // make trend plots of the basic TPC calibration parameters - // + /// make trend plots of the basic TPC calibration parameters + run0=startRun; run1=endRun; gROOT->Macro("NimStyle.C"); @@ -46,9 +45,8 @@ void makeTPCTrendPlots(Int_t startRun=0, Int_t endRun=1000000){ void DrawDriftTime(){ - // - // Draw drift velocity trend grapsh - as function of time - // + /// Draw drift velocity trend grapsh - as function of time + TCut cutRun=Form("run>%d&&run<%d",run0,run1); TCut cutCE="(tdriftCE.fElements[72]>100||tdriftCE.fElements[72]>100)&&min(abs(dcea),abs(dcec))<3600"; TCut cutITS="abs(dits)<3600"; @@ -112,14 +110,14 @@ void DrawDriftTime(){ graphITSTPCA->GetXaxis()->SetRangeUser(minT,maxT); // // - canvasDrift->cd(1); + canvasDrift->cd(1); graphPTA->GetXaxis()->SetTimeDisplay(kTRUE); graphPTA->GetYaxis()->SetTitle("#Delta P/T (%)"); graphPTA->SetMarkerColor(2);graphPTA->SetMarkerStyle(25); graphPTC->SetMarkerColor(4);graphPTC->SetMarkerStyle(27); graphPTA->Draw("alp"); graphPTC->Draw("lp"); - graphPTAMC->SetMarkerColor(3);graphPTAMC->SetMarkerStyle(25); + graphPTAMC->SetMarkerColor(3);graphPTAMC->SetMarkerStyle(25); graphPTAMC->Draw("lp"); TLegend *legend = new TLegend(0.11,0.11,0.4,0.35,"P/T correction"); legend->AddEntry(graphPTA,"A side (%)"); @@ -127,11 +125,11 @@ void DrawDriftTime(){ legend->AddEntry(graphPTAMC,"A-C side (0.1%)"); legend->Draw(); // - canvasDrift->cd(2); + canvasDrift->cd(2); graphITSTPCA->GetXaxis()->SetTimeDisplay(kTRUE); graphITSTPCA->GetYaxis()->SetTitle("v_{dcorr} (%)"); graphITSTPCA->SetMarkerColor(2);graphITSTPCA->SetMarkerStyle(25); - graphITSTPCC->SetMarkerColor(4);graphITSTPCC->SetMarkerStyle(27); + graphITSTPCC->SetMarkerColor(4);graphITSTPCC->SetMarkerStyle(27); graphITSTPCA->Draw("ap"); graphITSTPCC->Draw("p"); TLegend *legend = new TLegend(0.11,0.11,0.4,0.35,"Drift correction (TPC-ITS)"); @@ -139,14 +137,14 @@ void DrawDriftTime(){ legend->AddEntry(graphITSTPCC,"C side (%)"); legend->Draw(); // - canvasDrift->cd(3); + canvasDrift->cd(3); graphCEA->GetXaxis()->SetTimeDisplay(kTRUE); graphCEA->GetYaxis()->SetTitle("(T_{CE0}-T_{CE})/T_{CE0}"); graphCEA->SetMarkerColor(2);graphCEA->SetMarkerStyle(25); graphCEC->SetMarkerColor(4);graphCEC->SetMarkerStyle(27); graphCEA->Draw("ap"); graphCEC->Draw("p"); - graphCEAMC->SetMarkerColor(3);graphCEAMC->SetMarkerStyle(25); + graphCEAMC->SetMarkerColor(3);graphCEAMC->SetMarkerStyle(25); graphCEAMC->Draw("p"); TLegend *legend = new TLegend(0.11,0.11,0.4,0.35,"CE laser time (T_{CE0}=990)"); legend->AddEntry(graphCEA,"A side (%)"); @@ -159,8 +157,8 @@ void DrawDriftTime(){ void DrawDriftRun(){ - // - // + /// + TCut cutRun=Form("run>%d&&run<%d",run0,run1); TCut cutCE="(tdriftCE.fElements[72]>100||tdriftCE.fElements[72]>100)&&min(abs(dcea),abs(dcec))<3600"; TCut cutITS="abs(dits)<3600"; @@ -213,14 +211,14 @@ void DrawDriftRun(){ graphITSTPCA->SetMaximum(max); // // - canvasDrift->cd(1); + canvasDrift->cd(1); graphPTA->GetXaxis()->SetTimeDisplay(kTRUE); graphPTA->GetYaxis()->SetTitle("#Delta P/T (%)"); graphPTA->SetMarkerColor(2);graphPTA->SetMarkerStyle(25); graphPTC->SetMarkerColor(4);graphPTC->SetMarkerStyle(27); graphPTA->Draw("alp"); graphPTC->Draw("lp"); - graphPTAMC->SetMarkerColor(3);graphPTAMC->SetMarkerStyle(25); + graphPTAMC->SetMarkerColor(3);graphPTAMC->SetMarkerStyle(25); graphPTAMC->Draw("lp"); TLegend *legend = new TLegend(0.11,0.11,0.4,0.35,"P/T correction"); legend->AddEntry(graphPTA,"A side (%)"); @@ -228,11 +226,11 @@ void DrawDriftRun(){ legend->AddEntry(graphPTAMC,"A-C side (0.1%)"); legend->Draw(); // - canvasDrift->cd(2); + canvasDrift->cd(2); graphITSTPCA->GetXaxis()->SetTimeDisplay(kTRUE); graphITSTPCA->GetYaxis()->SetTitle("v_{dcorr} (%)"); graphITSTPCA->SetMarkerColor(2);graphITSTPCA->SetMarkerStyle(25); - graphITSTPCC->SetMarkerColor(4);graphITSTPCC->SetMarkerStyle(27); + graphITSTPCC->SetMarkerColor(4);graphITSTPCC->SetMarkerStyle(27); graphITSTPCA->Draw("ap"); graphITSTPCC->Draw("p"); TLegend *legend = new TLegend(0.11,0.11,0.4,0.35,"Drift correction (TPC-ITS)"); @@ -240,14 +238,14 @@ void DrawDriftRun(){ legend->AddEntry(graphITSTPCC,"C side (%)"); legend->Draw(); // - canvasDrift->cd(3); + canvasDrift->cd(3); graphCEA->GetXaxis()->SetTimeDisplay(kTRUE); graphCEA->GetYaxis()->SetTitle("(T_{CE0}-T_{CE})/T_{CE0}"); graphCEA->SetMarkerColor(2);graphCEA->SetMarkerStyle(25); graphCEC->SetMarkerColor(4);graphCEC->SetMarkerStyle(27); graphCEA->Draw("ap"); graphCEC->Draw("p"); - graphCEAMC->SetMarkerColor(3);graphCEAMC->SetMarkerStyle(25); + graphCEAMC->SetMarkerColor(3);graphCEAMC->SetMarkerStyle(25); graphCEAMC->Draw("p"); TLegend *legend = new TLegend(0.11,0.11,0.4,0.35,"CE laser time (T_{CE0}=990)"); legend->AddEntry(graphCEA,"A side (%)"); @@ -259,9 +257,8 @@ void DrawDriftRun(){ } void DrawDriftCorel(){ - // - // - // + /// + TStatToolkit toolkit; Double_t chi2=0; Int_t npoints=0; @@ -273,16 +270,16 @@ void DrawDriftCorel(){ tree->SetAlias("tCEB","(tdriftCE.fElements[72]+tdriftCE.fElements[73]-2000)/2000"); tree->SetAlias("tCEA","(tdriftCE.fElements[72]-1000)/1000"); tree->SetAlias("tCEC","(tdriftCE.fElements[73]-1000)/1000"); - + tree->SetAlias("tCEE","1-((1+(ptrel0+ptrel1)*0.5)*(1+vdriftITS))"); strDelta= TStatToolkit::FitPlaneConstrain(tree,"tCEB", "tCEE","isValidCEB&&isValidITS", chi2,npoints,param,covar,-1,0, npointsMax, 20); // strDelta->Tokenize("++")->Print(); tree->SetAlias("tCEF",strDelta->Data()); - TGraph * graphLT = TStatToolkit::MakeGraphSparse(tree,"2.64*1000*(tCEB-tCEF):run","isValidCEB&&isValidITS"); - TGraph * graphLTA = TStatToolkit::MakeGraphSparse(tree,"2.64*1000*(tCEA-tCEF):run","isValidCEB&&isValidITS"); - TGraph * graphLTC = TStatToolkit::MakeGraphSparse(tree,"2.64*1000*(tCEC-tCEF):run","isValidCEB&&isValidITS"); + TGraph * graphLT = TStatToolkit::MakeGraphSparse(tree,"2.64*1000*(tCEB-tCEF):run","isValidCEB&&isValidITS"); + TGraph * graphLTA = TStatToolkit::MakeGraphSparse(tree,"2.64*1000*(tCEA-tCEF):run","isValidCEB&&isValidITS"); + TGraph * graphLTC = TStatToolkit::MakeGraphSparse(tree,"2.64*1000*(tCEC-tCEF):run","isValidCEB&&isValidITS"); graphLT->GetYaxis()->SetTitle("#Delta (mm)"); graphLT->SetMarkerStyle(25); graphLTA->SetMarkerStyle(26); graphLTA->SetMarkerColor(2); diff --git a/TPC/scripts/RunAltroEmulOnRAW.C b/TPC/scripts/RunAltroEmulOnRAW.C index 4fefd19554b..bf9b32fa9fa 100644 --- a/TPC/scripts/RunAltroEmulOnRAW.C +++ b/TPC/scripts/RunAltroEmulOnRAW.C @@ -1,3 +1,4 @@ +/// \file RunAltroEmulOnRAW.C diff --git a/TPC/scripts/loadTPCcalib.C b/TPC/scripts/loadTPCcalib.C index 329b7db6cd6..31aab062989 100644 --- a/TPC/scripts/loadTPCcalib.C +++ b/TPC/scripts/loadTPCcalib.C @@ -1,7 +1,8 @@ +/// \file loadTPCcalib.C + void loadTPCcalib(){ - // - // - // + /// + gROOT->Macro("~/NimStyle.C"); gSystem->Load("libANALYSIS"); gSystem->Load("libTPCcalib"); diff --git a/TPC/scripts/loadlibsREC.C b/TPC/scripts/loadlibsREC.C index d735dcd4eea..fba1ad32888 100644 --- a/TPC/scripts/loadlibsREC.C +++ b/TPC/scripts/loadlibsREC.C @@ -1,3 +1,5 @@ +/// \file loadlibsREC.C + void loadlibsREC () { gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/ -I$ALICE_ROOT/include -I$ALICE_ROOT/STEER -I$ALICE_ROOT/TPC -I$ALICE_ROOT/TPC/CalibMacros -I$ALICE_ROOT/ITS -I$ALICE_ROOT/TRD "); diff --git a/TPC/scripts/startGUI.C b/TPC/scripts/startGUI.C index dda4cc2031e..35deab0eb1c 100644 --- a/TPC/scripts/startGUI.C +++ b/TPC/scripts/startGUI.C @@ -1,3 +1,5 @@ +/// \file startGUI.C + TObjArray *arrGUI=0x0; TTree *calPads=0x0; TTree *calPads2=0x0; diff --git a/TPC/scripts/startGUItime.C b/TPC/scripts/startGUItime.C index 68c5579dc22..b8bdc9e8b5c 100644 --- a/TPC/scripts/startGUItime.C +++ b/TPC/scripts/startGUItime.C @@ -1,4 +1,6 @@ -//global variables to access the gui components +/// \file startGUItime.C +/// \brief Global variables to access the gui components + AliTPCCalibViewerGUItime *guiTime=0x0; TObjArray *arrGUI=0x0; AliTPCCalibViewerGUI *gui=0x0; diff --git a/doxygen/Doxyfile.in b/doxygen/Doxyfile.in index 78780095342..a534a352ad6 100644 --- a/doxygen/Doxyfile.in +++ b/doxygen/Doxyfile.in @@ -768,7 +768,10 @@ INPUT = @CMAKE_SOURCE_DIR@/doxygen \ @CMAKE_SOURCE_DIR@/TPC/fastSimul \ @CMAKE_SOURCE_DIR@/TPC/macros \ @CMAKE_SOURCE_DIR@/TPC/macros/clusterMacros \ - @CMAKE_SOURCE_DIR@/TPC/macros/data2011 + @CMAKE_SOURCE_DIR@/TPC/macros/data2011 \ + @CMAKE_SOURCE_DIR@/TPC/scripts \ + @CMAKE_SOURCE_DIR@/TPC/scripts/OCDBscan \ + @CMAKE_SOURCE_DIR@/TPC/scripts/OCDBscan/jdl # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses