FairRoot/PandaRoot
Functions | Variables
hist-t7.C File Reference

Go to the source code of this file.

Functions

 basiclibs ()
 
gSystem Load ("libGeoBase")
 
gSystem Load ("libParBase")
 
gSystem Load ("libBase")
 
gSystem Load ("libPndData")
 
gSystem Load ("libField")
 
gSystem Load ("libGen")
 
gSystem Load ("libPassive")
 
gSystem Load ("libMvd")
 
timer Start ()
 
gStyle SetHistFillColor (9)
 
gStyle SetCanvasColor (0)
 
gStyle SetLabelSize (0.025,"X")
 
gStyle SetLabelSize (0.025,"Y")
 
gStyle SetTitleSize (0.03,"Y")
 
gStyle SetBarOffset (10)
 
gStyle SetTitleOffset (1,"X")
 
gStyle SetTitleOffset (1.55,"Y")
 
gStyle SetTitleSize (0.03,"X")
 
gStyle SetPalette (1, 0)
 
gStyle SetOptFit (1111)
 
dEBBk SetFillColor (3)
 
dEBBk SetFillColor (30)
 
hist1 SetFillColor (2)
 
hist3 SetFillColor (4)
 
tree SetBranchAddress ("MVDPoint",&pointlist)
 
tree SetBranchAddress ("MCTrack",&mc_array)
 
can1 cd ()
 
p1 Draw ()
 
hist4 SetYTitle ("dE/GeV")
 
hist4 SetXTitle ("p/(GeV/c)")
 
hist7 SetYTitle ("(dE/dx)/(GeV/cm)")
 
 for (int w=0;w< 25;w++)
 
tree GetEntry (j)
 
cout<<"dx= "<< dx<< endl;cout
<<"P= "<< vecPBack.Mag()
<< endl;{cout<< pdcid<< endl;t0++;dE0=dE0+(point->
GetEnergyLoss());pF0=pF0+vecPFront.Mag();if(dx!=0){cout
<<"0 "<< pdcid<< endl;cout
<<"Eloss "<<(point->
GetEnergyLoss())<< endl;hist7-> 
Fill (vecPBack.Mag(), point->GetEnergyLoss()/dx)
 
 if (dx!=0)
 
hist10 Fill (pF3, dEX3)
 
 if (pF3< pnull)
 
hist7 Add (hist8)
 
hist7 Add (hist9)
 
hist7 Add (hist10)
 
hist7 Draw ("col")
 
dEBBpiu Draw ("same C")
 
timer Stop ()
 

Variables

TStopwatch timer
 
TCanvas * can1 = new TCanvas("test","Energy in MVD",200,200,1100,800)
 
TCanvas * can2 = new TCanvas("test2","Energy in MVD",200,200,1100,800)
 
TH2D * hist4 = new TH2D("EnergyLossVsP","dE(p) gemittelt ueber alle Hits pro Track",200,0.02,3,200,0,0.0005)
 
TH2D * hist5 = new TH2D("EnergyLossVsP1","dE(p)",200,0.02,3,200,0,0.0005)
 
TH2D * hist6 = new TH2D("EnergyLossVsP2","dE(p)",200,0.02,3,200,0,0.0005)
 
TH2D * hist7 = new TH2D("specEnergyLossVsP1","dE/dx(p) gemittelt ueber alle Hits pro Track",200,0.02,1,200,0,0.0005)
 
TH2D * hist8 = new TH2D("specEnergyLossVsP2","dE/dx(p)",200,0.02,1,200,0,0.0005)
 
TH2D * hist9 = new TH2D("specEnergyLossVsP3","dE/dx(p)",200,0.02,1,200,0,0.0005)
 
TH2D * hist10 = new TH2D("specEnergyLossVsP4","dE/dx(p)",200,0.0,1,200,0,0.0005)
 
TF1 * bk = new TF1("bk","((x-0.05)*1000)/(sqrt(sq(439.71)+(sq((x-0.05)*1000))))",0,1)
 
TF1 * bk2 = new TF1("bk1","((x-0.08)*1000)/(sqrt(sq(439.71)+(sq((x-0.08)*1000))))",0,1)
 
TF1 * bk3 = new TF1("bk2","((x+0.0)*1000)/(sqrt(sq(439.71)+(sq((x+0.0)*1000))))",0,1)
 
TF1 * dEBBk = new TF1("dEBBk","((11*sq(14)*1.5)/(sq(bk)*10000000))*(log((2*1000000*0.511*sq(bk))/(13.5*14))-log(1-sq(bk))-sq(bk))",0,1)
 
TF1 * dEBBku = new TF1("dEBBku",".0008+((11*sq(14)*1.5)/(sq(bk1)*10000000))*(log((2*1000000*0.511*sq(bk1))/(13.5*14))-log(1-sq(bk1))-sq(bk1))",0,1)
 
TF1 * dEBBkl = new TF1("dEBBkl","-.00125+((11*sq(14)*1.5)/(sq(bk2)*10000000))*(log((2*1000000*0.511*sq(bk2))/(13.5*14))-log(1-sq(bk2))-sq(bk2))",0,1)
 
TF1 * bpi = new TF1("bpi","(x*1000)/(sqrt(sq(139.57)+(sq(x*1000))))",0,1)
 
TF1 * dEBBpi = new TF1("dEBBpi","((2.5*sq(14)*1.5)/(sq(bpi)*0.313*10000000))*(log((2*1000000*0.511*sq(bpi))/(13.5*14))-log(1-sq(bpi))-sq(bpi))",0,1)
 
TF1 * dEBBpiu = new TF1("dEBBpiu",".0012+((2.5*sq(14)*1.5)/(sq(bpiu)*0.313*10000000))*(log((2*1000000*0.511*sq(bpiu))/(13.5*14))-log(1-sq(bpiu))-sq(bpiu))",0.03,1)
 
TF1 * dEBBpil = new TF1("dEBBpil","-.0005+((2.5*sq(14)*1.5)/(sq(bpil)*0.313*10000000))*(log((2*1000000*0.511*sq(bpil))/(13.5*14))-log(1-sq(bpil))-sq(bpil))",0,1)
 
TF1 * bp = new TF1("bp","((x-0.05)*1000)/(sqrt(sq(938.26)+(sq(0.05*1000))))",0,1)
 
TF1 * dEBBp = new TF1("dEBBp","((23*sq(14)*1.5)/(sq(bp)*2.133*10000000))*(log((2*1000000*0.511*sq(bp))/(13.5*14))-log(1-sq(bp))-sq(bp))",0,1)
 
TF1 * dEBBpu = new TF1("dEBBpu",".0005+((23*sq(14)*1.5)/(sq(bpu)*2.133*10000000))*(log((2*1000000*0.511*sq(bpu))/(13.5*14))-log(1-sq(bpu))-sq(bpu))",0.014,1)
 
TF1 * dEBBpl = new TF1("dEBBpl","-.0010+((22*sq(14)*1.5)/(sq(bpl)*2.133*10000000))*(log((2*1000000*0.511*sq(bpl))/(13.5*14))-log(1-sq(bpl))-sq(bpl))",0,3)
 
TH1D * hist1 = new TH1D("specEnergyLoss","dE",100,0,0.0004)
 
TH1D * hist2 = new TH1D("specEnergyLoss","dE1",100,0,0.0004)
 
TH1D * hist3 = new TH1D("specEnergyLoss","dE2",100,0,0.00040)
 
TFile * inFile = new TFile("/data_hilbert/PandaData/tbaldauf/MvdMC_PiKP2_50k.root","READ")
 
TTree * tree = (TTree *)inFile->Get("pndsim")
 
TClonesArray * pointlist =new TClonesArray("PndSdsMCPoint")
 
TClonesArray * mc_array =new TClonesArray("PndMCTrack")
 
TVector3 vecFront =(point->GetX(),point->GetY(),point->GetZ())
 
TVector3 vecBack =(point->GetXOut(),point->GetYOut(),point->GetZOut())
 
TVector3 vecPFront
 
TVector3 vecPBack =(point->GetPxOut(),point->GetPyOut(),point->GetPzOut())
 
Int_t nEvents = 10000
 
Int_t sEcur =0
 
Int_t t0
 
Int_t t1 =0
 
Int_t t2 =0
 
Int_t t3
 
Int_t cnt
 
Int_t a [25]
 
Double_t dE0 =0
 
Double_t dE1 =0
 
Double_t dE2 =0
 
Double_t dE3 =point->GetEnergyLoss()
 
Double_t pF0 =0
 
Double_t pF1 =0
 
Double_t pF2 =0
 
Double_t pF3 =vecPFront.Mag()
 
Double_t dEX0 =0
 
Double_t dEX1 =0
 
Double_t dEX2 =0
 
Double_t dEX3
 
Double_t dx =(vecBack-vecFront).Mag()
 
Double_t pnull =0.8
 
Double_t pkt [2]
 
TString ltext =""
 
Double_t pos
 
Double_t abst
 
TPad * p1 =new TPad("1","1",0,0,0.7,1)
 
TPad * p2 =new TPad("2","2",0.7,0,1,1)
 
PndMCTrackmct =(PndMCTrack*) mc_array->At(point->GetTrackID())
 
 pdcid =mct->GetPdgCode()
 
Double_t rtime = timer.RealTime()
 
Double_t ctime = timer.CpuTime()
 

Function Documentation

hist7 Add ( hist8  )
hist7 Add ( hist9  )
hist7 Add ( hist10  )
basiclibs ( )
can1 cd ( )
p1 Draw ( )

Definition at line 64 of file NHitsPerEvent.C.

64  {
65 
66  std::cout << "mvdHitArray: " << mvdHitArray->GetEntries() << " projectedHitArray " << mvdProjectedArray->GetEntries() << std::endl;
67 
68 // gHitPoints->Clear();
71  //if (gHitPoints->GetN() != x.size()) gHitPoints->Expand(x.size());
72 
73  std::cout << "NHits: " << gHitPoints->GetN() << std::endl;
74  gHitPoints->Draw("apl");
75  gProjections->Draw("pl");
76 }
void ExtractData(TClonesArray *array, TGraph *g)
Definition: NHitsPerEvent.C:78
TGraph * gHitPoints
Definition: NHitsPerEvent.C:15
TClonesArray * mvdHitArray
Definition: NHitsPerEvent.C:12
TClonesArray * mvdProjectedArray
Definition: NHitsPerEvent.C:13
TGraph * gProjections
Definition: NHitsPerEvent.C:16
hist7 Draw ( "col"  )
dEBBpil Draw ( "same C )
cout<<"dx= "<<dx<<endl; cout<<"P= "<<vecPBack.Mag()<<endl; { cout<<pdcid<<endl; t0++; dE0=dE0+(point->GetEnergyLoss()); pF0=pF0+vecPFront.Mag(); if(dx!=0) { cout<<"0 "<<pdcid<<endl; cout<<"Eloss "<<(point->GetEnergyLoss())<<endl; hist7-> Fill ( vecPBack.  Mag(),
point->GetEnergyLoss()/  dx 
)
hist10 Fill ( pF3  ,
dEX3   
)
for ( )

Definition at line 130 of file hist-t7.C.

131  {
132  a[w]=0;
133  }
Int_t a
Definition: anaLmdDigi.C:126
tree GetEntry ( )
if ( dx!  = 0)

Definition at line 172 of file hist-t7.C.

References pdcid.

173  {
174  cout<<"1 "<<pdcid<<endl;
175  cout<<"Eloss "<<(point->GetEnergyLoss())<<endl;
176  dEX1=dEX1+((point->GetEnergyLoss())/dx);
177  }
Double_t dEX1
Definition: hist-t7.C:108
double dx
pdcid
Definition: hist-t7.C:148
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72
if ( )

Definition at line 200 of file hist-t7.C.

References dEX3.

201  {
202  a[21]++;
203  if((pF3>0.11)&&((dEX3)<(dEBBku->Eval(pF3,0,0)))&&((dEX3)>(dEBBkl->Eval(pF3,0,0)))) //K Schlauch
204  {
205  a[18]++;
206 
207  }
208  if((pF3>0.2)&&((dEX3)<(dEBBpu->Eval(pF3,0,0)))&&((dEX3>(dEBBpl->Eval(pF3,0,0))))) //P Schlauch
209  {
210  a[19]++;
211  hist10->Fill(pF3,dEX3);
212 
213  }
214  if((pF3>0.03)&&((dEX3)<(dEBBpiu->Eval(pF3,0,0)))&&((dEX3)>(dEBBpil->Eval(pF3,0,0)))) //PI Schlauch
215  {
216  a[20]++;
217  hist10->Fill(pF3,dEX3);
218  }
219  }
TF1 * dEBBkl
Definition: hist-t7.C:57
TF1 * dEBBku
Definition: hist-t7.C:55
Double_t dEX3
Definition: hist-t7.C:108
Int_t a
Definition: anaLmdDigi.C:126
TF1 * dEBBpil
Definition: hist-t7.C:66
TF1 * dEBBpiu
Definition: hist-t7.C:64
Double_t pF3
Definition: hist-t7.C:108
TH2D * hist10
Definition: hist-t7.C:47
TF1 * dEBBpl
Definition: hist-t7.C:74
TF1 * dEBBpu
Definition: hist-t7.C:72
gSystem Load ( "libGeoBase"  )
gSystem Load ( "libParBase"  )
gSystem Load ( "libBase"  )
gSystem Load ( "libPndData"  )
gSystem Load ( "libField"  )
gSystem Load ( "libGen"  )
gSystem Load ( "libPassive"  )
gSystem Load ( "libMvd"  )
gStyle SetBarOffset ( 10  )
tree SetBranchAddress ( "MVDPoint"  ,
pointlist 
)
tree SetBranchAddress ( "MCTrack"  ,
mc_array 
)
gStyle SetCanvasColor ( )
hist2 SetFillColor ( )
dEBBk SetFillColor ( 30  )
hist1 SetFillColor ( )
hist3 SetFillColor ( )
gStyle SetHistFillColor ( )
gStyle SetLabelSize ( 0.  025,
"X"   
)
gStyle SetLabelSize ( 0.  025,
"Y"   
)
gStyle SetOptFit ( 1111  )
gStyle SetPalette ( ,
 
)
gStyle SetTitleOffset ( ,
"X"   
)
gStyle SetTitleOffset ( 1.  55,
"Y"   
)
gStyle SetTitleSize ( 0.  03,
"Y"   
)
gStyle SetTitleSize ( 0.  03,
"X"   
)
hist10 SetXTitle ( "p/(GeV/c)"  )

Referenced by compareDalitzPlot().

hist4 SetYTitle ( "dE/GeV"  )

Referenced by compareDalitzPlot().

hist10 SetYTitle ( "(dE/dx)/(GeV/cm)"  )
timer Start ( )
timer Stop ( )

Variable Documentation

Int_t a[25]

Definition at line 107 of file hist-t7.C.

Double_t abst

Definition at line 113 of file hist-t7.C.

TF1* bk = new TF1("bk","((x-0.05)*1000)/(sqrt(sq(439.71)+(sq((x-0.05)*1000))))",0,1)

Definition at line 50 of file hist-t7.C.

TF1* bk2 = new TF1("bk1","((x-0.08)*1000)/(sqrt(sq(439.71)+(sq((x-0.08)*1000))))",0,1)

Definition at line 51 of file hist-t7.C.

TF1* bk3 = new TF1("bk2","((x+0.0)*1000)/(sqrt(sq(439.71)+(sq((x+0.0)*1000))))",0,1)

Definition at line 52 of file hist-t7.C.

TF1 * bp = new TF1("bp","((x-0.05)*1000)/(sqrt(sq(938.26)+(sq(0.05*1000))))",0,1)
TF1 * bpi = new TF1("bpi","(x*1000)/(sqrt(sq(139.57)+(sq(x*1000))))",0,1)

Definition at line 61 of file hist-t7.C.

TCanvas* can1 = new TCanvas("test","Energy in MVD",200,200,1100,800)

Definition at line 30 of file hist-t7.C.

TCanvas* can2 = new TCanvas("test2","Energy in MVD",200,200,1100,800)

Definition at line 31 of file hist-t7.C.

Int_t cnt

Definition at line 106 of file hist-t7.C.

Referenced by ana_dsdsj2_EvtLoop(), autocutx(), checkphsp2_2(), cntEvt(), countVars(), createHistoGraph(), cutfinder(), cutfinder_fullev(), cutfinder_toyev(), cutfinderx(), evaltrig(), fillHisto(), findcuts(), PndFilteredPrimaryGenerator::GenerateEvent(), hadd(), init(), massCrit(), EventShape::MultChrgPmaxCms(), PndEventShape::MultChrgPmaxCms(), EventShape::MultChrgPmaxLab(), PndEventShape::MultChrgPmaxLab(), EventShape::MultChrgPminCms(), PndEventShape::MultChrgPminCms(), EventShape::MultChrgPminLab(), PndEventShape::MultChrgPminLab(), PndEventShape::MultElectronPminCms(), PndEventShape::MultElectronPminLab(), PndEventShape::MultKaonPminCms(), PndEventShape::MultKaonPminLab(), PndEventShape::MultMuonPminCms(), PndEventShape::MultMuonPminLab(), EventShape::MultNeutEmaxCms(), PndEventShape::MultNeutEmaxCms(), EventShape::MultNeutEmaxLab(), PndEventShape::MultNeutEmaxLab(), EventShape::MultNeutEminCms(), PndEventShape::MultNeutEminCms(), EventShape::MultNeutEminLab(), PndEventShape::MultNeutEminLab(), PndEventShape::MultPionPminCms(), PndEventShape::MultPionPminLab(), EventShape::MultPmaxCms(), PndEventShape::MultPmaxCms(), RhoEventShapes::MultPmaxCms(), EventShape::MultPmaxLab(), PndEventShape::MultPmaxLab(), RhoEventShapes::MultPmaxLab(), EventShape::MultPminCms(), PndEventShape::MultPminCms(), RhoEventShapes::MultPminCms(), EventShape::MultPminLab(), PndEventShape::MultPminLab(), RhoEventShapes::MultPminLab(), PndEventShape::MultProtonPminCms(), PndEventShape::MultProtonPminLab(), EventShape::MultPtmaxCms(), PndEventShape::MultPtmaxCms(), EventShape::MultPtmaxLab(), PndEventShape::MultPtmaxLab(), EventShape::MultPtminCms(), PndEventShape::MultPtminCms(), EventShape::MultPtminLab(), PndEventShape::MultPtminLab(), PndFtfDirect::ProcessEvent(), readmodes(), PndHyp::SetHypStatDecay(), PndSciTAnaIdeal::SetSciTEventCorr(), PndSimpleNtuple::ShowBranches(), and sizetree().

Double_t ctime = timer.CpuTime()

Definition at line 537 of file hist-t7.C.

dE0 =0

Definition at line 108 of file hist-t7.C.

dE1 =0

Definition at line 108 of file hist-t7.C.

dE2 =0

Definition at line 108 of file hist-t7.C.

dE3 =point->GetEnergyLoss()

Definition at line 108 of file hist-t7.C.

TF1* dEBBk = new TF1("dEBBk","((11*sq(14)*1.5)/(sq(bk)*10000000))*(log((2*1000000*0.511*sq(bk))/(13.5*14))-log(1-sq(bk))-sq(bk))",0,1)

Definition at line 53 of file hist-t7.C.

TF1* dEBBkl = new TF1("dEBBkl","-.00125+((11*sq(14)*1.5)/(sq(bk2)*10000000))*(log((2*1000000*0.511*sq(bk2))/(13.5*14))-log(1-sq(bk2))-sq(bk2))",0,1)

Definition at line 57 of file hist-t7.C.

TF1* dEBBku = new TF1("dEBBku",".0008+((11*sq(14)*1.5)/(sq(bk1)*10000000))*(log((2*1000000*0.511*sq(bk1))/(13.5*14))-log(1-sq(bk1))-sq(bk1))",0,1)

Definition at line 55 of file hist-t7.C.

TF1* dEBBp = new TF1("dEBBp","((23*sq(14)*1.5)/(sq(bp)*2.133*10000000))*(log((2*1000000*0.511*sq(bp))/(13.5*14))-log(1-sq(bp))-sq(bp))",0,1)

Definition at line 70 of file hist-t7.C.

TF1* dEBBpi = new TF1("dEBBpi","((2.5*sq(14)*1.5)/(sq(bpi)*0.313*10000000))*(log((2*1000000*0.511*sq(bpi))/(13.5*14))-log(1-sq(bpi))-sq(bpi))",0,1)

Definition at line 62 of file hist-t7.C.

TF1* dEBBpil = new TF1("dEBBpil","-.0005+((2.5*sq(14)*1.5)/(sq(bpil)*0.313*10000000))*(log((2*1000000*0.511*sq(bpil))/(13.5*14))-log(1-sq(bpil))-sq(bpil))",0,1)

Definition at line 66 of file hist-t7.C.

TF1* dEBBpiu = new TF1("dEBBpiu",".0012+((2.5*sq(14)*1.5)/(sq(bpiu)*0.313*10000000))*(log((2*1000000*0.511*sq(bpiu))/(13.5*14))-log(1-sq(bpiu))-sq(bpiu))",0.03,1)

Definition at line 64 of file hist-t7.C.

TF1* dEBBpl = new TF1("dEBBpl","-.0010+((22*sq(14)*1.5)/(sq(bpl)*2.133*10000000))*(log((2*1000000*0.511*sq(bpl))/(13.5*14))-log(1-sq(bpl))-sq(bpl))",0,3)

Definition at line 74 of file hist-t7.C.

TF1* dEBBpu = new TF1("dEBBpu",".0005+((23*sq(14)*1.5)/(sq(bpu)*2.133*10000000))*(log((2*1000000*0.511*sq(bpu))/(13.5*14))-log(1-sq(bpu))-sq(bpu))",0.014,1)

Definition at line 72 of file hist-t7.C.

dEX0 =0

Definition at line 108 of file hist-t7.C.

dEX1 =0

Definition at line 108 of file hist-t7.C.

dEX2 =0

Definition at line 108 of file hist-t7.C.

Double_t dEX3

Definition at line 108 of file hist-t7.C.

Referenced by if().

dx =(vecBack-vecFront).Mag()

Definition at line 109 of file hist-t7.C.

TH1D* hist1 = new TH1D("specEnergyLoss","dE",100,0,0.0004)

Definition at line 80 of file hist-t7.C.

Referenced by main(), ZeeAnalysis(), ZmumuAnalysis(), and ZtautauAnalysis().

TH2D* hist10 = new TH2D("specEnergyLossVsP4","dE/dx(p)",200,0.0,1,200,0,0.0005)

Definition at line 47 of file hist-t7.C.

TH1D* hist2 = new TH1D("specEnergyLoss","dE1",100,0,0.0004)

Definition at line 82 of file hist-t7.C.

Referenced by main(), ZeeAnalysis(), ZmumuAnalysis(), and ZtautauAnalysis().

TH1D* hist3 = new TH1D("specEnergyLoss","dE2",100,0,0.00040)

Definition at line 84 of file hist-t7.C.

Referenced by ZeeAnalysis(), ZmumuAnalysis(), and ZtautauAnalysis().

TH2D* hist4 = new TH2D("EnergyLossVsP","dE(p) gemittelt ueber alle Hits pro Track",200,0.02,3,200,0,0.0005)

Definition at line 35 of file hist-t7.C.

TH2D* hist5 = new TH2D("EnergyLossVsP1","dE(p)",200,0.02,3,200,0,0.0005)

Definition at line 37 of file hist-t7.C.

TH2D* hist6 = new TH2D("EnergyLossVsP2","dE(p)",200,0.02,3,200,0,0.0005)

Definition at line 39 of file hist-t7.C.

TH2D* hist7 = new TH2D("specEnergyLossVsP1","dE/dx(p) gemittelt ueber alle Hits pro Track",200,0.02,1,200,0,0.0005)

Definition at line 41 of file hist-t7.C.

TH2D* hist8 = new TH2D("specEnergyLossVsP2","dE/dx(p)",200,0.02,1,200,0,0.0005)

Definition at line 43 of file hist-t7.C.

TH2D* hist9 = new TH2D("specEnergyLossVsP3","dE/dx(p)",200,0.02,1,200,0,0.0005)

Definition at line 45 of file hist-t7.C.

TFile* inFile = new TFile("/data_hilbert/PandaData/tbaldauf/MvdMC_PiKP2_50k.root","READ")

Definition at line 94 of file hist-t7.C.

TString ltext =""

Definition at line 112 of file hist-t7.C.

TClonesArray* mc_array =new TClonesArray("PndMCTrack")

Definition at line 98 of file hist-t7.C.

Int_t nEvents = 10000

Definition at line 104 of file hist-t7.C.

TPad* p1 =new TPad("1","1",0,0,0.7,1)

Definition at line 116 of file hist-t7.C.

Referenced by ana_check(), ana_check_psi(), anaDMesonsCharged(), PndSttGeometryMap::CalculateStrawPoca(), PndTrackCombiner::combine(), compFoxWolfMoms(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), PndDrcRecoLookupMap::DrawDetectorLayout(), PndFTSCADisplay::DrawGBHits(), DrawHits::DrawHisto(), emc_correction_parametrization(), PndEmcClusterSimpleCalibrator::Energy(), PndEvtFilterOnInvMassCounts::EventMatches(), PndMvdEventAnaTask::Exec(), PndEmcAnalysis::Exec(), PndMvdRiemannVertexFinderTask::FindVertex(), RhoEventShapes::FoxWolfMomH(), EventShape::FoxWolfMomH(), PndEventShape::FoxWolfMomH(), Photospp::PH_HEPEVT_Interface::get(), PndWayFollower::getBestSkewedApproxTo(), PndFtsLineComparator::getDist(), PndTrackCollection::getDistTo(), KFParticleBase::GetDSIter(), PndMdtParamDigi::GetElectronDriftTime(), PndEmcCluster::GetEnergyCorrected(), PndSttMvdGemTracking::GetInitialParams(), Photospp::PhotosHEPEVTParticle::getMothers(), PndMdtParamDigi::GetMPVofPrimaryIonization(), PndFtsCellTrackletGenerator::getNeighbors(), PndMdtParamDigi::GetShiftTime(), DecayTreeFitter::InternalParticle::initPar1(), PndLineApproximation::linearRegression(), PndLineApproximation::linearRegressionXZ(), PndLineApproximation::linearRegressionYZ(), PndLineApproximation::linearRegressionZX(), PndLineApproximation::linearRegressionZY(), PndCAGBTracker::Merge(), newana_check_eta(), PndLinTrack::PndLinTrack(), PndSttMvdGemTracking::Prefit(), PndDisc::ProcessHits(), RhoKinFitter::Read4MomKinMatrix(), RhoKinHyperonFitter::Read4MomKinMatrix(), RhoKinVtxFitter::ReadMassKinMatrix(), RhoKinFitter::ReadMassKinMatrix(), RhoKinHyperonVtxFitter::ReadMassKinMatrix(), RhoKinVtxFitter::ReadMatrix(), RhoKinFitter::ReadMatrix(), RhoKinHyperonFitter::ReadMatrix(), RhoKinHyperonVtxFitter::ReadMatrix(), RhoKinFitter::ReadTotEKinMatrix(), RhoKinHyperonFitter::ReadTotEKinMatrix(), RhoEventShape::RhoEventShape(), run_ana_eta_c_stt(), run_ana_eta_c_stt_v2(), run_ana_eta_c_tpc(), run_ana_sttcombi(), run_ana_tpccombi(), run_sim(), run_sim_sttcombi_pgun(), run_sim_tpccombi_pgun(), PndMdtContFact::setAllContainers(), PndFtsContFact::setAllContainers(), PndTutContFact::setAllContainers(), PndEmcContFact::setAllContainers(), PndPidContFact::setAllContainers(), RhoEventSelectorBase::SetMomentum(), RhoKinVtxFitter::SetOutput(), RhoKinFitter::SetOutput(), RhoKinHyperonFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoEventSelectorBase::SetPhi(), RhoEventSelectorBase::SetPt(), RhoEventSelectorBase::SetTotalMomentum(), sim_muo(), sim_muo_dub(), sim_muo_test(), sim_sttcombi_pgun(), PndRichPhoton::TrackCalc(), KFParticleBase::TransportCBM(), KFParticleBaseSIMD::TransportCBM(), PndSttSingleStraw::TrueDist(), and PndFtsSingleStraw::TrueDist().

TPad* p2 =new TPad("2","2",0.7,0,1,1)

Definition at line 117 of file hist-t7.C.

Referenced by ana_check(), ana_check_psi(), anaDMesonsCharged(), PndCATrackParam::CalculateFitParameters(), PndCATrackParamVector::CalculateFitParameters(), PndFTSCATrackParamVector::CalculateFitParameters(), PndSttGeometryMap::CalculateStrawPoca(), PndTrackCombiner::combine(), compFoxWolfMoms(), PndFastSim::cutAndSmear(), PndDrcRecoLookupMap::DrawDetectorLayout(), PndFTSCADisplay::DrawGBHits(), DrawHits::DrawHisto(), emc_correction_parametrization(), PndEmcClusterSimpleCalibrator::Energy(), PndEvtFilterOnInvMassCounts::EventMatches(), PndMvdEventAnaTask::Exec(), PndEmcAnalysis::Exec(), PndMvdRiemannVertexFinderTask::FindVertex(), RhoEventShapes::FoxWolfMomH(), EventShape::FoxWolfMomH(), PndEventShape::FoxWolfMomH(), Photospp::PH_HEPEVT_Interface::get(), PndWayFollower::getBestSkewedApproxTo(), KFParticleBase::GetDecayLength(), KFParticleBaseSIMD::GetDecayLength(), PndFtsLineComparator::getDist(), PndTrackCollection::getDistTo(), KFParticleBase::GetDSIter(), KFParticleBase::GetDStoParticleBy(), KFParticleBaseSIMD::GetDStoParticleBy(), KFParticleBase::GetDStoParticleBz(), KFParticleBaseSIMD::GetDStoParticleBz(), KFParticleBaseSIMD::GetDStoPointCBM(), KFParticleBase::GetDStoPointLine(), PndMdtParamDigi::GetElectronDriftTime(), PndEmcCluster::GetEnergyCorrected(), KFParticleBase::GetEta(), KFParticleBaseSIMD::GetEta(), PndSttMvdGemTracking::GetInitialParams(), KFParticleBase::GetMomentum(), KFParticleBaseSIMD::GetMomentum(), Photospp::PhotosHEPEVTParticle::getMothers(), PndMdtParamDigi::GetMPVofPrimaryIonization(), PndFtsCellTrackletGenerator::getNeighbors(), KFParticleBase::GetSCorrection(), KFParticleBaseSIMD::GetSCorrection(), PndMdtParamDigi::GetShiftTime(), DecayTreeFitter::InternalParticle::initPar1(), PndLineApproximation::linearRegression(), PndLineApproximation::linearRegressionXZ(), PndLineApproximation::linearRegressionYZ(), PndLineApproximation::linearRegressionZX(), PndLineApproximation::linearRegressionZY(), PndCAGBTracker::Merge(), newana_check_eta(), RhoCalculationTools::P7toPRG(), PndLinTrack::PndLinTrack(), PndSttMvdGemTracking::Prefit(), PndDisc::ProcessHits(), DecayTreeFitter::ParticleBase::projectGeoConstraint(), RhoKinVtxFitter::ReadMatrix(), RhoKinFitter::ReadMatrix(), RhoKinHyperonFitter::ReadMatrix(), RhoKinHyperonVtxFitter::ReadMatrix(), PndTrackCollection::refitAllTracks(), run_ana_eta_c_stt(), run_ana_eta_c_stt_v2(), run_ana_eta_c_tpc(), run_ana_sttcombi(), run_ana_tpccombi(), run_sim(), run_sim_sttcombi_pgun(), run_sim_tpccombi_pgun(), PndMdtContFact::setAllContainers(), PndSttContFact::setAllContainers(), PndGemContFact::setAllContainers(), PndTutContFact::setAllContainers(), PndAnaContFact::setAllContainers(), PndEmcContFact::setAllContainers(), PndHypContFact::setAllContainers(), PndMvdContFact::setAllContainers(), PndLmdContFact::setAllContainers(), KFParticleBase::SetMassConstraint(), KFParticleBaseSIMD::SetMassConstraint(), RhoEventSelectorBase::SetMomentum(), RhoEventSelectorBase::SetPhi(), RhoEventSelectorBase::SetPt(), RhoEventSelectorBase::SetTotalMomentum(), sim_muo(), sim_muo_dub(), sim_muo_test(), sim_sttcombi_pgun(), RhoCalculationTools::StateFromTrajectory(), switch_history_entries_status(), PndRichPhoton::TrackCalc(), KFParticleBase::TransportCBM(), KFParticleBaseSIMD::TransportCBM(), PndSttSingleStraw::TrueDist(), and PndFtsSingleStraw::TrueDist().

pdcid =mct->GetPdgCode()

Definition at line 148 of file hist-t7.C.

Referenced by if().

pF0 =0

Definition at line 108 of file hist-t7.C.

pF1 =0

Definition at line 108 of file hist-t7.C.

pF2 =0

Definition at line 108 of file hist-t7.C.

pF3 =vecPFront.Mag()

Definition at line 108 of file hist-t7.C.

Double_t pkt[2]

Definition at line 111 of file hist-t7.C.

Referenced by PndFtfDirect::Setup().

Double_t pnull =0.8

Definition at line 110 of file hist-t7.C.

TClonesArray* pointlist =new TClonesArray("PndSdsMCPoint")

Definition at line 96 of file hist-t7.C.

Double_t pos

Definition at line 113 of file hist-t7.C.

Double_t rtime = timer.RealTime()

Definition at line 536 of file hist-t7.C.

Int_t sEcur =0

Definition at line 105 of file hist-t7.C.

Int_t t0
t1 =0
t2 =0
Int_t t3
TStopwatch timer

Definition at line 14 of file hist-t7.C.

TTree* tree = (TTree *)inFile->Get("pndsim")

Definition at line 95 of file hist-t7.C.

vecBack =(point->GetXOut(),point->GetYOut(),point->GetZOut())

Definition at line 103 of file hist-t7.C.

vecFront =(point->GetX(),point->GetY(),point->GetZ())

Definition at line 103 of file hist-t7.C.

vecPBack =(point->GetPxOut(),point->GetPyOut(),point->GetPzOut())

Definition at line 103 of file hist-t7.C.

TVector3 vecPFront

Definition at line 103 of file hist-t7.C.