Bool_t useEff0=kFALSE;
Bool_t useEffD=kFALSE;
Bool_t useEffR=kFALSE;
-//
+/// \file MakeGlobalFit.C
+
TChain *chain = 0;
TChain *chainRef = 0;
Bool_t printMatrix=kFALSE;
void MakeGlobalFit(){
- //
- //
- //
+ ///
+
gROOT->Macro("~/rootlogon.C");
//gROOT->Macro("NimStyle.C");
gSystem->AddIncludePath("-I$ALICE_ROOT/STAT");
}
void MakeChain(){
- //
- //
+ ///
+
TH1::AddDirectory(0);
TFile * f0 =0; // file 0 field
TFile * fp =0; // file plus
void MakeCuts(){
- //
- //
- //
+ ///
+
TCut cutS="((rms>0&&R.rms>0&&entries>0&&R.entries>0))"; // statistic cuts
TCut cutType="((dtype==R.dtype)&&(ptype==R.ptype))"; // corresponding types
TCut cutOut="(ptype==0)*abs(mdelta)<(0.3+rms)||(ptype==0&&abs(mdelta*85)<(0.3+rms*85))"; // corresponding types
TMatrixD * MakeCorrelation(TMatrixD &matrix){
- //
- //
- //
+ ///
+
Int_t nrows = matrix.GetNrows();
TMatrixD * mat = new TMatrixD(nrows,nrows);
for (Int_t irow=0; irow<nrows; irow++)
void PrintMatch(){
- //
- // Print detector matching info
- //
+ /// Print detector matching info
+
for (Int_t ipar=0; ipar<5; ipar++){
for (Int_t idet=0; idet<5; idet++){
Double_t mean0,rms0,mean1,rms1;
TCanvas* DrawFitITS(const char *name){
- //
- //
- //
+ ///
+
TLegend *legend=0;
TCanvas *canvas = new TCanvas(name,name,800,800);
canvas->Divide(1,2);
TCanvas* DrawFitLaser(const char *cname){
- //
- //
- //
+ ///
+
TH1::AddDirectory(0);
TCut cutLaser=cut+"isLaser&&bz<0";
TCanvas *canvas= new TCanvas(cname, cname,800,800);
TCanvas* DrawFitVertex(const char *name){
- //
- //
- //
+ ///
+
TLegend *legend=0;
TCanvas *canvas = new TCanvas(name,name,800,800);
canvas->Divide(1,2);
TCanvas * DrawFitdY(const char *name){
- //
- //
- //
+ ///
+
TH1::AddDirectory(0);
TCanvas *canvas = new TCanvas(name,name,800,800);
canvas->Divide(3,5);
}
TCanvas * DrawFitdSnp(const char *name){
- //
- //
- //
+ ///
+
TH1::AddDirectory(0);
TCanvas *canvas = new TCanvas(name,name,800,800);
canvas->Divide(3,5);
void MakeOCDBEntry(Int_t refRun){
- //
- // make a Correction OCDB entry
- // take the fit values writen in config file
- //
- //
- // 1. Read previous value used in calibration
- // OCDB has to be initialized before
-
+ /// make a Correction OCDB entry
+ /// take the fit values writen in config file
+ ///
+ /// 1. Read previous value used in calibration
+ /// OCDB has to be initialized before
+
gROOT->Macro(Form("ConfigCalibTrain.C(%d)",refRun)); // configuring calib db
gROOT->LoadMacro("AddTaskTPCCalib.C");
gROOT->ProcessLine(Form("ConfigOCDB(%d);",refRun));