FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
gStyle | SetTitleOffset (.85,"X") |
gStyle | SetTitleOffset (.85,"Y") |
gStyle | SetTitleSize (.05,"X") |
gStyle | SetTitleSize (.05,"Y") |
gStyle | SetLabelSize (.05,"X") |
gStyle | SetLabelSize (.05,"Y") |
gStyle | SetHistLineWidth (2) |
gStyle | SetOptFit (1) |
c1 | Divide (3, 2) |
c1 | cd (1) |
simtree | Draw ("PidChargedCand.GetEmcRawEnergy()/PidChargedCand.GetMomentum().Mag():PidChargedCand.GetMomentum().Mag()>>emc_pid(100,0,3,100,0,1.2)","PidChargedCand.GetEmcIndex()>-1","colz") |
emc_pid | GetXaxis () -> SetTitle("Momentum [GeV/c]") |
emc_pid | GetYaxis () -> SetTitle("EMC Energy / Momentum [c]") |
c1 | cd (2) |
simtree | Draw ("PidChargedCand.GetTofBeta():PidChargedCand.GetMomentum().Mag()>>tof_pid(100,0,3,100,0,1.2)","PidChargedCand.GetTofIndex()>-1","colz") |
c1 | cd (3) |
simtree | Draw ("PidChargedCand.GetDrcThetaC()*TMath::RadToDeg():PidChargedCand.GetMomentum().Mag()>>drc_pid(100,0,3,100,0,60)","PidChargedCand.GetDrcIndex()>-1","colz") |
c1 | cd (4) |
simtree | Draw ("PidChargedCand.GetMvdDEDX():PidChargedCand.GetMomentum().Mag()>>mvd_pid(100,0,3,100,0,0.1)","PidChargedCand.GetMvdHits()>0","colz") |
c1 | cd (5) |
simtree | Draw ("PidChargedCand.GetMuoNumberOfLayers():PidChargedCand.GetMomentum().Mag()>>muo_pid(100,0,3,17,-0.5,16.5)","","colz") |
c1 | cd (6) |
simtree | Draw ("PidChargedCand.GetMuoNumberOfLayers():PidChargedCand.GetMomentum().Theta()*TMath::RadToDeg()>>muo_pidt(100,0,100,17,-0.5,16.5)","","colz") |
c1 | cd () |
Variables | |
TFile * | inFile = TFile::Open("pid_sttcombi.root") |
TCanvas * | c1 = new TCanvas("PID", "PID", 100, 100, 800, 800) |
c1 cd | ( | 1 | ) |
c1 cd | ( | 2 | ) |
c1 cd | ( | 3 | ) |
c1 cd | ( | 4 | ) |
c1 cd | ( | 5 | ) |
c1 cd | ( | 6 | ) |
c1 cd | ( | ) |
c1 Divide | ( | 3 | , |
2 | |||
) |
simtree Draw | ( | "PidChargedCand.GetEmcRawEnergy()/PidChargedCand.GetMomentum().Mag():PidChargedCand.GetMomentum().Mag()>>emc_pid(100,0,3,100,0,1.2)" | , |
"PidChargedCand. | GetEmcIndex(), | ||
-1" | , | ||
"colz" | |||
) |
simtree Draw | ( | "PidChargedCand.GetTofBeta():PidChargedCand.GetMomentum().Mag()>>tof_pid(100,0,3,100,0,1.2)" | , |
"PidChargedCand. | GetTofIndex(), | ||
-1" | , | ||
"colz" | |||
) |
simtree Draw | ( | "PidChargedCand.GetDrcThetaC()*TMath::RadToDeg():PidChargedCand.GetMomentum().Mag()>>drc_pid(100,0,3,100,0,60)" | , |
"PidChargedCand. | GetDrcIndex(), | ||
-1" | , | ||
"colz" | |||
) |
simtree Draw | ( | "PidChargedCand.GetMvdDEDX():PidChargedCand.GetMomentum().Mag()>>mvd_pid(100,0,3,100,0,0.1)" | , |
"PidChargedCand. | GetMvdHits(), | ||
0" | , | ||
"colz" | |||
) |
simtree Draw | ( | "PidChargedCand.GetMuoNumberOfLayers():PidChargedCand.GetMomentum().Mag()>>muo_pid(100,0,3,17,-0.5,16.5)" | , |
"" | , | ||
"colz" | |||
) |
simtree Draw | ( | "PidChargedCand.GetMuoNumberOfLayers():PidChargedCand.GetMomentum().Theta()*TMath::RadToDeg()>>muo_pidt(100,0,100,17,-0.5,16.5)" | , |
"" | , | ||
"colz" | |||
) |
Definition at line 653 of file anal_hit_digi_cluster_fwendcap.C.
Definition at line 27 of file examples/pid/plot_pid.C.
Referenced by Pic_FEP_DEGASComparison(), Pic_FEP_Eff_lEE_XiManyTargets(), Pic_OmegaQuadrupoleComparison(), PndFtsHoughSpace::setParametersForHsOption(), PndFtsHoughSpace::WriteHistoOfAllPaths(), and PndFtsHoughSpace::WriteHistoOfAllPathsForEachMcTruthTrack().
gStyle SetHistLineWidth | ( | 2 | ) |
gStyle SetLabelSize | ( | . | 05, |
"X" | |||
) |
gStyle SetLabelSize | ( | . | 05, |
"Y" | |||
) |
gStyle SetOptFit | ( | 1 | ) |
gStyle SetTitleOffset | ( | . | 85, |
"Y" | |||
) |
gStyle SetTitleOffset | ( | . | 85, |
"X" | |||
) |
gStyle SetTitleSize | ( | . | 05, |
"Y" | |||
) |
gStyle SetTitleSize | ( | . | 05, |
"X" | |||
) |
TCanvas* c1 = new TCanvas("PID", "PID", 100, 100, 800, 800) |
Definition at line 10 of file examples/pid/plot_pid.C.
TFile* inFile = TFile::Open("pid_sttcombi.root") |
Definition at line 8 of file examples/pid/plot_pid.C.