![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
#include <fstream>
#include "TString.h"
#include "TSystem.h"
#include "TTree.h"
#include "TEntryList.h"
#include "TCut.h"
#include "TStatToolkit.h"
#include "AliTPCCalibViewer.h"
#include "AliTPCCalibViewerGUI.h"
#include "AliTPCPreprocessorOnline.h"
#include "AliTPCCalibCE.h"
#include "AliTPCCalibPulser.h"
#include "TStopwatch.h"
Go to the source code of this file.
Functions | |
TString | qaside ("CE_Q") |
TString | taside ("CE_T") |
TString | raside ("CE_RMS") |
TString | qcside ("CE_Q") |
TString | tcside ("CE_T") |
TString | rcside ("CE_RMS") |
TString | tcor ("-pulCorr") |
void | LoadViewer () |
void | RebuildData () |
void | MakeFit () |
void | MakeFitPulser () |
void | MakeAliases0 () |
void | MakeAliases1 () |
void | LoadData () |
void | StoreData () |
void | StoreTree () |
void | AnalyzeLaser () |
void | MakeRes () |
void | RebuildCE (char *finname, char *pulname) |
void | AnalyzeLaserCE () |
void | AddFiles (char *list) |
Variables | |
char * | inname = "treeCE.root" |
char * | fname = "treefitCE.root" |
char * | oname = "fitCE.root" |
AliTPCCalPad * | calPadIn = 0 |
AliTPCCalPad * | calPadF1 = 0 |
AliTPCCalPad * | calPadF2 = 0 |
AliTPCCalPad * | calPadQIn = 0 |
AliTPCCalPad * | calPadQF1 = 0 |
AliTPCCalPad * | calPadQF2 = 0 |
AliTPCCalPad * | calPadCor = 0 |
AliTPCCalPad * | calPadOut = 0 |
const Float_t | tThr =0.3 |
const Float_t | qThr0 =0.5 |
const Float_t | qThr1 =2 |
AliTPCCalPad * | calPad0 = 0 |
AliTPCCalPad * | calPad1 = 0 |
AliTPCCalPad * | calPad2 = 0 |
AliTPCCalPad * | calPadInOut = 0 |
AliTPCCalPad * | calPadLX = 0 |
AliTPCCalPad * | calPadTL = 0 |
AliTPCCalPad * | calPadQ = 0 |
AliTPCCalPad * | calPadGXY = 0 |
AliTPCCalPad * | calPadOff = 0 |
AliTPCCalPad * | calPadRes = 0 |
TObjString | strFit0 ="" |
TObjString | strFit1 ="" |
TObjString | strFit2 ="" |
TVectorD | vecFit0 |
TVectorD | vecFit1 |
TVectorD | vecFit2 |
TEntryList * | elist =0 |
AliTPCCalibViewerGUI * | viewer =0 |
AliTPCCalibViewer * | makePad =0 |
TTree * | tree =0 |
Macro to perform fits of the Laser Central electrode data Several fit methods implemented
0. RebuildCE("ce.root","pul.root"); - rebuild data from the scratch
RebuildData() - transform arbitrary layout of the Input data to the internal format StoreData(); - The data tree expected in file inname (see variable bellow) StoreTree(); - Modify inname and xxside and tcor in order to transform data
Calibration viewer variables:
Result - resulting correction out - outlyers not used for fit tcor - offset specified by user before fitting timeF1 - sector local fit - plane timeF2 - sector local fit - parabola timeIn - input times qIn - input charge out - outlyers not used for fit tcor - offset specified by user before fitting timeF1 - sector time local fit - plane timeF2 - sector time local fit - parabola qF1 - sector q local fit - plane qF2 - sector q local fit - parabola
fitted values ffit0 - base fit ffit1 - adding common shifts - alpha dependendent ffit2 - adding opposite shifts - alpha dependent
fGXY - global fit parameter - XY fInOut - global fit parameter - inner-outer sector matching fLX - global LX dependence
Gloabl fit o consist of -fGXY~-fLX~-fTL~-fOff~:ffit0~
Control variable - check results
ffit2~-(timeIn~):lx~ - fit value minus input time
result cosntruction: (timeF2~-ffit2~+fTL~+fInOut~):Result~
timeF2~-Result~:ffit2~-fTL~-fInOut~
Definition in file AnalyzeLaserCE.C.
void AddFiles | ( | char * | list | ) |
prepare viewer for data sets
Definition at line 693 of file AnalyzeLaserCE.C.
void AnalyzeLaser | ( | ) |
Definition at line 177 of file AnalyzeLaserCE.C.
void AnalyzeLaserCE | ( | ) |
Definition at line 678 of file AnalyzeLaserCE.C.
void LoadData | ( | ) |
void LoadViewer | ( | ) |
void MakeAliases0 | ( | ) |
Define variables and selection of outliers - for user defined tree
Definition at line 560 of file AnalyzeLaserCE.C.
Referenced by RebuildData().
void MakeAliases1 | ( | ) |
Define variables and selection of outliers -for default usage
Definition at line 588 of file AnalyzeLaserCE.C.
Referenced by AnalyzeLaser(), LoadViewer(), and MakeFit().
void MakeFit | ( | ) |
Definition at line 210 of file AnalyzeLaserCE.C.
Referenced by AnalyzeLaserCE().
void MakeFitPulser | ( | ) |
Definition at line 184 of file AnalyzeLaserCE.C.
Referenced by RebuildData().
void MakeRes | ( | ) |
make final calibration
Definition at line 612 of file AnalyzeLaserCE.C.
Referenced by AnalyzeLaserCE().
TString qaside | ( | "CE_Q" | ) |
Referenced by MakeAliases0().
TString qcside | ( | "CE_Q" | ) |
Referenced by MakeAliases0().
TString raside | ( | "CE_RMS" | ) |
Referenced by MakeAliases0().
TString rcside | ( | "CE_RMS" | ) |
Referenced by MakeAliases0().
void RebuildCE | ( | char * | finname, |
char * | pulname | ||
) |
Transformation from the CE to the visualization-analisys output
finname = CE_Vscan_Run_61684-50_170.root;
Definition at line 642 of file AnalyzeLaserCE.C.
Referenced by AnalyzeLaserCE().
void RebuildData | ( | ) |
transform the input data to the fit format
Definition at line 396 of file AnalyzeLaserCE.C.
Referenced by AnalyzeLaserCE().
void StoreData | ( | ) |
void StoreTree | ( | ) |
Definition at line 529 of file AnalyzeLaserCE.C.
Referenced by AnalyzeLaserCE().
TString taside | ( | "CE_T" | ) |
Referenced by MakeAliases0().
TString tcor | ( | "-pulCorr" | ) |
Referenced by MakeAliases0().
TString tcside | ( | "CE_T" | ) |
Referenced by MakeAliases0().
AliTPCCalPad* calPad0 = 0 |
Definition at line 136 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPad1 = 0 |
Definition at line 137 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPad2 = 0 |
Definition at line 138 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadCor = 0 |
Definition at line 124 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadF1 = 0 |
Definition at line 118 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadF2 = 0 |
Definition at line 119 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadGXY = 0 |
Definition at line 144 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadIn = 0 |
Definition at line 117 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadInOut = 0 |
Definition at line 140 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadLX = 0 |
Definition at line 141 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadOff = 0 |
Definition at line 145 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadOut = 0 |
Definition at line 125 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadQ = 0 |
Definition at line 143 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadQF1 = 0 |
Definition at line 121 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadQF2 = 0 |
Definition at line 122 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadQIn = 0 |
Definition at line 120 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadRes = 0 |
Definition at line 146 of file AnalyzeLaserCE.C.
AliTPCCalPad* calPadTL = 0 |
Definition at line 142 of file AnalyzeLaserCE.C.
TEntryList* elist =0 |
Definition at line 154 of file AnalyzeLaserCE.C.
Referenced by AddFiles(), InitCutsAlign(), MakeAliasesBoth(), and MakeFit().
char* fname = "treefitCE.root" |
Definition at line 110 of file AnalyzeLaserCE.C.
Referenced by AliTPCComparison(), AliXRDPROOFtoolkit::CacheFileList(), AliEventsCollectorThread::CollectorHandle(), AliXRDPROOFtoolkit::FilterList(), AliXRDPROOFtoolkit::FilterListZip(), GetTree(), GoodTracksTPC(), LoadTrack(), LoadTree(), LoadViewer(), MakeChainCL(), MakeFit(), ReadRecoCocktail(), AliTPCROCVoltError3D::SetROCDataFileName(), AliTPCSpaceCharge2D2D::SetSCDataFileName(), and StoreTree().
char* inname = "treeCE.root" |
Definition at line 93 of file AnalyzeLaserCE.C.
Referenced by RebuildCE(), and RebuildData().
AliTPCCalibViewer* makePad =0 |
Definition at line 159 of file AnalyzeLaserCE.C.
Referenced by LoadViewer().
char* oname = "fitCE.root" |
Definition at line 111 of file AnalyzeLaserCE.C.
Referenced by LoadData(), and StoreData().
const Float_t qThr0 =0.5 |
Definition at line 130 of file AnalyzeLaserCE.C.
Referenced by RebuildData().
const Float_t qThr1 =2 |
Definition at line 131 of file AnalyzeLaserCE.C.
Referenced by RebuildData().
TObjString strFit0 ="" |
Definition at line 148 of file AnalyzeLaserCE.C.
Referenced by MakeFit().
TObjString strFit1 ="" |
Definition at line 149 of file AnalyzeLaserCE.C.
Referenced by MakeFit().
TObjString strFit2 ="" |
Definition at line 150 of file AnalyzeLaserCE.C.
Referenced by MakeFit().
TTree* tree =0 |
Definition at line 160 of file AnalyzeLaserCE.C.
Referenced by AddChains(), AddFiles(), AliTPCCalPad::AddFriend(), AliTPCCalibViewer::AddReferenceTree(), AliTPCCalibViewer::AliTPCCalibViewer(), AliTPCSensorTempArray::AliTPCSensorTempArray(), AnalyzeESDtracks(), AliMUONCheck::CheckESD(), AliXRDPROOFtoolkit::CheckTreeInFile(), AliMUONChamberCalibrationTask::ConnectInputData(), AliSegmentArray::ConnectTree(), AliTPCCorrection::CreateDistortionTree(), drawd(), DrawDistortionMaps(), drawmerged(), DrawOccupancy(), FillVar(), Fit1(), Fit2(), Fit2I(), AliTPCEfield::FitField(), FitI1(), for(), GenerLandau(), AliMUONTreeManager::GetClassName(), GetESDTree(), GetTree(), Init(), AliXRDPROOFtoolkit::JoinTreesIndex(), LoadViewer(), MakeAliases0(), MakeAliases1(), MakeChain(), AliTPCGenDBTemp::MakeConfig(), AliMUONPedestal::MakeControlHistos(), MakeFit(), MakeFitPulser(), MakeFits(), MakeFitTree(), MakeLaserTree(), MakePicDy(), MakePickDy(), MakeStat(), AliSegmentArray::MakeTree(), AliTPCCalibViewer::MakeTree(), AliXRDPROOFtoolkit::MakeTreeFromList(), MergeMuonLight(), MUONefficiency(), MUONmassPlot(), MUONTriggerEfficiency(), MUONTriggerEfficiencyPt(), AliTPCGenDBTemp::ReadList(), AliTPCSensorTemp::ReadList(), AliTPCGenDBTemp::ReadListTree(), ReadRecoCocktail(), AliTPCSensorTempArray::ReadSensors(), RebuildData(), AliTPCCalibQAChecker::SetTreeChecker(), Store(), test1(), test3(), test5(), testMerge(), testRead(), testSparse(), AliMUONDataInterface::TriggerStore(), and UnitTestAliTPCCalPadTree().
const Float_t tThr =0.3 |
Definition at line 129 of file AnalyzeLaserCE.C.
Referenced by RebuildData().
TVectorD vecFit0 |
Definition at line 151 of file AnalyzeLaserCE.C.
Referenced by MakeFit().
TVectorD vecFit1 |
Definition at line 152 of file AnalyzeLaserCE.C.
Referenced by MakeFit().
TVectorD vecFit2 |
Definition at line 153 of file AnalyzeLaserCE.C.
Referenced by MakeFit().
AliTPCCalibViewerGUI* viewer =0 |
Definition at line 158 of file AnalyzeLaserCE.C.
Referenced by AliTPCCalibViewerGUI::Initialize().