4 gSystem->Load(
"libSTAT");
15 TFile
fp(
"/data/calib/CalibTreePulser_run33834_Cside.root");
16 tree->AddFriend(treePulser,
"P.");
19 tree->SetAlias(
"dt",
"(sector%36>30)*2+(sector<36)*0.3");
20 tree->SetAlias(
"T",
"T0_100_220.fElements-P..StandardTime0.fElements");
21 tree->SetAlias(
"Tm",
"T0_100_220_Median.fElements");
22 tree->SetAlias(
"Q",
"Q_100_220.fElements");
23 tree->SetAlias(
"Qm",
"Q_100_220_Median.fElements");
25 tree->SetAlias(
"Qcut",
"abs(Q/Qm-2)<1.4&&Q>6&&Q<200");
26 tree->SetAlias(
"Tcut",
"abs(T-Tm)<2");
32 for (Int_t isec=54;isec<71;isec+=1){
34 strSector+=
"(sector==";
37 strSector+=
"(lx.fElements-195.)*(sector==";
40 strSector+=
"((lx.fElements-195)^2)*(sector==";
48 TCut
cutA=
"Tcut&&Qcut&§or%36>17";
50 TString *
strFitG =stat.FitPlane(tree,
"T+dt",
"gx.fElements++gy.fElements",cutA,chi2,npoints,vec,mat);
52 TString *
strFitGL =stat.FitPlane(tree,
"T+dt",
"lx.fElements++ly.fElements++gx.fElements++gy.fElements",cutA,chi2,npoints,vec,mat);
54 TString *
strFitGL2 =stat.FitPlane(tree,
"T+dt",
"lx.fElements++ly.fElements++gx.fElements++gy.fElements++lx.fElements^2++ly.fElements^2",cutA,chi2,npoints,vec,mat);
56 TString *
strFitGLA =stat.FitPlane(tree,
"T+dt",strSector+
"lx.fElements++ly.fElements++gx.fElements++gy.fElements++lx.fElements^2++ly.fElements^2",cutA,chi2,npoints,vec,mat);
59 tree->SetAlias(
"tfitG",strFitG->Data())
60 tree->SetAlias(
"tfitGL",strFitGL->Data())
61 tree->SetAlias(
"tfitGL2",strFitGL2->Data())
62 tree->SetAlias(
"tfitGLA",strFitGLA->Data())
GUI for the AliTPCCalibViewer used for the calibration monitor All functionalities of the AliTPCCalib...
TFile fp("/data/calib/CalibTreePulser_run33834_Cside.root")
AliTPCCalibViewer * GetViewer()
AliTPCCalibViewerGUI * viewer
static TObjArray * ShowGUI(const char *fileName=0)