FairRoot/PandaRoot
checkKalman.C
Go to the documentation of this file.
1 {
2 
3  TFile f("ex2r.root");
4 
5  // ptot
6  TCanvas c8;
7  TH1F *h8 = new TH1F("h8","Ptot distribution",100,1.,2.);
8  h8->SetTitle("PREFIT");
9  simtree->Draw("sqrt((STTTrack.fParamLast.fTx * 0.006 * STTTrack.fParamLast.fTy)**2 + (STTTrack.fParamLast.fTx * 0.006)**2) >> h8", "fFlag >= 3");
10 
11 
12  TFile f2("ex2g.root");
13  TCanvas c9;
14  TH1F *h9 = new TH1F("h9","Ptot distribution",100,1.,2.);
15  h9->SetTitle("KALMAN");
16  simtree->Draw("-1./GeaneTrackPar.fQp >> h9","(1./GeaneTrackPar.fQp) != 0");//,"-1./GeaneTrackParKal.fQp > 1.4");
17 
18 }
TH1F * h9
Definition: runPULL1.C:35
TTree * simtree
Definition: runPULL1.C:21
TH1F * h8
Definition: runPULL1.C:34
TFile * f
Definition: bump_analys.C:12
TFile * f2
TCanvas * c8