Go to the source code of this file.
|
Double_t | simin (Int_t i, Double_t m0, Double_t m1, Double_t m2, Double_t m3) |
|
Double_t | simax (Int_t i, Double_t m0, Double_t m1, Double_t m2, Double_t m3) |
|
Double_t | lambda (Double_t x, Double_t y, Double_t z) |
|
Double_t | s2min (Double_t s1, Double_t m0, Double_t m1, Double_t m2, Double_t m3) |
|
Double_t | s2max (Double_t s1, Double_t m0, Double_t m1, Double_t m2, Double_t m3) |
|
void | CreateGraph (TGraph *g, Int_t n, Double_t m, Double_t m1, Double_t m2, Double_t m3) |
|
| drawdal (double m0, double m1, double m2, double m3, TString opt="Lsame", int n=200) |
|
Definition at line 74 of file drawdal.C.
References Double_t, i, n, s2max(), s2min(), simax(), simin(), and x.
Referenced by drawdal().
88 if (x<=s1minl) x=s1minl+binw/20;
89 if (x>=s1maxl) x=s1maxl-binw/20;
94 g->SetPoint(i,x,ymin);
95 g->SetPoint(n*2-i,x,ymax);
98 g->SetPoint(n,s1maxl,
s2min(s1maxl-binw/20,
m,m1,
m2,m3));
99 g->GetPoint(0,x,ymin);
100 g->SetPoint(n*2,x,ymin);
Double_t s2min(Double_t s1, Double_t m0, Double_t m1, Double_t m2, Double_t m3)
Double_t s2max(Double_t s1, Double_t m0, Double_t m1, Double_t m2, Double_t m3)
TString m2(TString pts, TString exts="e px py pz")
Double_t simax(Int_t i, Double_t m0, Double_t m1, Double_t m2, Double_t m3)
Double_t simin(Int_t i, Double_t m0, Double_t m1, Double_t m2, Double_t m3)
drawdal |
( |
double |
m0, |
|
|
double |
m1, |
|
|
double |
m2, |
|
|
double |
m3, |
|
|
TString |
opt = "Lsame" , |
|
|
int |
n = 200 |
|
) |
| |
Definition at line 104 of file drawdal.C.
References CreateGraph(), g, and n.
106 TGraph *
g=
new TGraph(
n);
void CreateGraph(TGraph *g, Int_t n, Double_t m, Double_t m1, Double_t m2, Double_t m3)
TString m2(TString pts, TString exts="e px py pz")
Definition at line 48 of file drawdal.C.
References x.
Referenced by PndDiscTaskReconstruction::Exec(), PndDrc::Initialize(), PndDrc::ProcessHits(), DrawHits::ProcessPhotonMC(), PndDrcHitProducerReal::ProcessPhotonPoint(), DecayTreeFitter::InternalParticle::projectKineConstraint(), propagate(), s2max(), s2min(), KFParticleBase::SetMassConstraint(), and KFParticleBaseSIMD::SetMassConstraint().
Definition at line 63 of file drawdal.C.
References Double_t, lambda(), s, and sqrt().
Referenced by CreateGraph().
68 Double_t result = m1*m1 + m3*m3 + ( (s-s1-m1*m1)*(s1-
m2*
m2+m3*m3) + lamterm )/(2.*s1);
Double_t lambda(Double_t x, Double_t y, Double_t z)
friend F32vec4 sqrt(const F32vec4 &a)
TString m2(TString pts, TString exts="e px py pz")
Definition at line 53 of file drawdal.C.
References Double_t, lambda(), s, and sqrt().
Referenced by CreateGraph().
58 Double_t result = m1*m1 + m3*m3 + ( (s-s1-m1*m1)*(s1-
m2*
m2+m3*m3) - lamterm )/(2.*s1);
Double_t lambda(Double_t x, Double_t y, Double_t z)
friend F32vec4 sqrt(const F32vec4 &a)
TString m2(TString pts, TString exts="e px py pz")
Definition at line 32 of file drawdal.C.
References Double_t, and m2().
Referenced by CreateGraph().
38 case 1: result = (m0-m1)*(m0-m1);
40 case 2: result = (m0-
m2)*(m0-
m2);
42 case 3: result = (m0-m3)*(m0-m3);
TString m2(TString pts, TString exts="e px py pz")
Definition at line 16 of file drawdal.C.
References Double_t, and m2().
Referenced by CreateGraph().
22 case 1: result = (
m2+m3)*(
m2+m3);
24 case 2: result = (m1+m3)*(m1+m3);
26 case 3: result = (m1+
m2)*(m1+
m2);
TString m2(TString pts, TString exts="e px py pz")