Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pawian
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PWA
Pawian
Commits
be169551
Commit
be169551
authored
12 years ago
by
Pascal Scheffels
Browse files
Options
Downloads
Patches
Plain Diff
QA for omegaphi
parent
ffc75905
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Examples/JpsiToOmegaPhiGam/JpsiToOmegaPhiGamHist.cc
+53
-226
53 additions, 226 deletions
Examples/JpsiToOmegaPhiGam/JpsiToOmegaPhiGamHist.cc
with
53 additions
and
226 deletions
Examples/JpsiToOmegaPhiGam/JpsiToOmegaPhiGamHist.cc
+
53
−
226
View file @
be169551
...
@@ -24,21 +24,21 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
...
@@ -24,21 +24,21 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
_dalitzDataHist
(
0
),
_dalitzDataHist
(
0
),
_dalitzMcHist
(
0
),
_dalitzMcHist
(
0
),
_dalitzFittedHist
(
0
),
_dalitzFittedHist
(
0
),
_
Phi
PhiMassDataHist
(
0
),
_
Omega
PhiMassDataHist
(
0
),
_
Phi
PhiMassMcHist
(
0
),
_
Omega
PhiMassMcHist
(
0
),
_
Phi
PhiMassFittedHist
(
0
),
_
Omega
PhiMassFittedHist
(
0
),
_KpKmMassDataHist
(
0
),
_KpKmMassDataHist
(
0
),
_KpKmMassMcHist
(
0
),
_KpKmMassMcHist
(
0
),
_KpKmMassFittedHist
(
0
),
_KpKmMassFittedHist
(
0
),
_PipPimPi0MassDataHist
(
0
),
_PipPimPi0MassDataHist
(
0
),
_PipPimPi0MassMcHist
(
0
),
_PipPimPi0MassMcHist
(
0
),
_PipPimPi0MassFittedHist
(
0
),
_PipPimPi0MassFittedHist
(
0
),
_costPhi_
KpKm
DataHist
(
0
),
_costPhi_
OmegaPhiHeli
DataHist
(
0
),
_costPhi_
KpKm
McHist
(
0
),
_costPhi_
OmegaPhiHeli
McHist
(
0
),
_costPhi_
KpKm
FittedHist
(
0
),
_costPhi_
OmegaPhiHeli
FittedHist
(
0
),
_phiPhi_
KpKm
DataHist
(
0
),
_phiPhi_
OmegaPhiHeli
DataHist
(
0
),
_phiPhi_
KpKm
McHist
(
0
),
_phiPhi_
OmegaPhiHeli
McHist
(
0
),
_phiPhi_
KpKm
FittedHist
(
0
),
_phiPhi_
OmegaPhiHeli
FittedHist
(
0
),
_chiDataHist
(
0
),
_chiDataHist
(
0
),
_chiMcHist
(
0
),
_chiMcHist
(
0
),
_chiFittedHist
(
0
),
_chiFittedHist
(
0
),
...
@@ -61,13 +61,13 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
...
@@ -61,13 +61,13 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
{
{
const
double
evtWeight
=
(
*
it
)
->
evtWeight
;
const
double
evtWeight
=
(
*
it
)
->
evtWeight
;
plotDalitz
(
_dalitzDataHist
,
(
*
it
),
evtWeight
);
plotDalitz
(
_dalitzDataHist
,
(
*
it
),
evtWeight
);
plot
PhiPhi
(
_Phi
PhiMassDataHist
,
(
*
it
),
evtWeight
);
plot
OmegaPhi
(
_Omega
PhiMassDataHist
,
(
*
it
),
evtWeight
);
plotPipPimPi0
(
_PipPimPi0MassDataHist
,
(
*
it
),
evtWeight
);
plotPipPimPi0
(
_PipPimPi0MassDataHist
,
(
*
it
),
evtWeight
);
plotKpKm
(
_KpKmMassDataHist
,
(
*
it
),
evtWeight
);
plotKpKm
(
_KpKmMassDataHist
,
(
*
it
),
evtWeight
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliDataHist
,
_phiPip_PipPimPi0HeliDataHist
,
(
*
it
),
evtWeight
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliDataHist
,
_phiPip_PipPimPi0HeliDataHist
,
(
*
it
),
evtWeight
);
plotCostPhiKp
(
_costKp_KpKmHeliDataHist
,
_phiKp_KpKmHeliDataHist
,
(
*
it
),
evtWeight
);
plotCostPhiKp
(
_costKp_KpKmHeliDataHist
,
_phiKp_KpKmHeliDataHist
,
(
*
it
),
evtWeight
);
plotCostGam
(
_costGamCmDataHist
,
(
*
it
),
evtWeight
);
plotCostGam
(
_costGamCmDataHist
,
(
*
it
),
evtWeight
);
plotCostPhi_
Phi
PhiHeli
(
_costPhi_
KpKm
DataHist
,
_phiPhi_
KpKm
DataHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
evtWeight
);
plotCostPhi_
Omega
PhiHeli
(
_costPhi_
OmegaPhiHeli
DataHist
,
_phiPhi_
OmegaPhiHeli
DataHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
evtWeight
);
plotChi
(
_chiDataHist
,
(
*
it
),
evtWeight
);
plotChi
(
_chiDataHist
,
(
*
it
),
evtWeight
);
fillTuple
(
_dataTuple
,
(
*
it
),
evtWeight
);
fillTuple
(
_dataTuple
,
(
*
it
),
evtWeight
);
...
@@ -79,25 +79,25 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
...
@@ -79,25 +79,25 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
while
(
it
!=
mcList
.
end
())
while
(
it
!=
mcList
.
end
())
{
{
plotDalitz
(
_dalitzMcHist
,
(
*
it
),
1.
);
plotDalitz
(
_dalitzMcHist
,
(
*
it
),
1.
);
plot
PhiPhi
(
_Phi
PhiMassMcHist
,
(
*
it
),
1.
);
plot
OmegaPhi
(
_Omega
PhiMassMcHist
,
(
*
it
),
1.
);
plotPipPimPi0
(
_PipPimPi0MassMcHist
,
(
*
it
),
1.
);
plotPipPimPi0
(
_PipPimPi0MassMcHist
,
(
*
it
),
1.
);
plotKpKm
(
_KpKmMassMcHist
,
(
*
it
),
1.
);
plotKpKm
(
_KpKmMassMcHist
,
(
*
it
),
1.
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliMcHist
,
_phiPip_PipPimPi0HeliMcHist
,
(
*
it
),
1.
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliMcHist
,
_phiPip_PipPimPi0HeliMcHist
,
(
*
it
),
1.
);
plotCostPhiKp
(
_costKp_KpKmHeliMcHist
,
_phiKp_KpKmHeliMcHist
,(
*
it
),
1.
);
plotCostPhiKp
(
_costKp_KpKmHeliMcHist
,
_phiKp_KpKmHeliMcHist
,(
*
it
),
1.
);
plotCostGam
(
_costGamCmMcHist
,(
*
it
),
1.
);
plotCostGam
(
_costGamCmMcHist
,(
*
it
),
1.
);
plotCostPhi_
Phi
PhiHeli
(
_costPhi_
KpKm
McHist
,
_phiPhi_
KpKm
McHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
1.
);
plotCostPhi_
Omega
PhiHeli
(
_costPhi_
OmegaPhiHeli
McHist
,
_phiPhi_
OmegaPhiHeli
McHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
1.
);
plotChi
(
_chiMcHist
,
(
*
it
),
1.
);
plotChi
(
_chiMcHist
,
(
*
it
),
1.
);
// double evtWeight= _theJpsiGamPipPimPi0KKLh->calcEvtIntensity((*it), _fitParam);
// double evtWeight= _theJpsiGamPipPimPi0KKLh->calcEvtIntensity((*it), _fitParam);
double
evtWeight
=
1.
;
double
evtWeight
=
1.
;
plotDalitz
(
_dalitzFittedHist
,
(
*
it
),
evtWeight
);
plotDalitz
(
_dalitzFittedHist
,
(
*
it
),
evtWeight
);
plot
PhiPhi
(
_Phi
PhiMassFittedHist
,
(
*
it
),
evtWeight
);
plot
OmegaPhi
(
_Omega
PhiMassFittedHist
,
(
*
it
),
evtWeight
);
plotPipPimPi0
(
_PipPimPi0MassFittedHist
,
(
*
it
),
evtWeight
);
plotPipPimPi0
(
_PipPimPi0MassFittedHist
,
(
*
it
),
evtWeight
);
plotKpKm
(
_KpKmMassFittedHist
,
(
*
it
),
evtWeight
);
plotKpKm
(
_KpKmMassFittedHist
,
(
*
it
),
evtWeight
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliFittedHist
,
_phiPip_PipPimPi0HeliFittedHist
,(
*
it
),
evtWeight
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliFittedHist
,
_phiPip_PipPimPi0HeliFittedHist
,(
*
it
),
evtWeight
);
plotCostPhiKp
(
_costKp_KpKmHeliFittedHist
,
_phiKp_KpKmHeliFittedHist
,(
*
it
),
evtWeight
);
plotCostPhiKp
(
_costKp_KpKmHeliFittedHist
,
_phiKp_KpKmHeliFittedHist
,(
*
it
),
evtWeight
);
plotCostGam
(
_costGamCmFittedHist
,(
*
it
),
evtWeight
);
plotCostGam
(
_costGamCmFittedHist
,(
*
it
),
evtWeight
);
plotCostPhi_
Phi
PhiHeli
(
_costPhi_
KpKm
FittedHist
,
_phiPhi_
KpKm
FittedHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
evtWeight
);
plotCostPhi_
Omega
PhiHeli
(
_costPhi_
OmegaPhiHeli
FittedHist
,
_phiPhi_
OmegaPhiHeli
FittedHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
evtWeight
);
plotChi
(
_chiFittedHist
,
(
*
it
),
evtWeight
);
plotChi
(
_chiFittedHist
,
(
*
it
),
evtWeight
);
fillTuple
(
_mcTuple
,
(
*
it
),
evtWeight
);
fillTuple
(
_mcTuple
,
(
*
it
),
evtWeight
);
...
@@ -118,7 +118,7 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
...
@@ -118,7 +118,7 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
double
scaleFactor
=
integralDataWWeight
/
integralMC
;
double
scaleFactor
=
integralDataWWeight
/
integralMC
;
_dalitzFittedHist
->
Scale
(
scaleFactor
);
_dalitzFittedHist
->
Scale
(
scaleFactor
);
_
Phi
PhiMassFittedHist
->
Scale
(
scaleFactor
);
_
Omega
PhiMassFittedHist
->
Scale
(
scaleFactor
);
_PipPimPi0MassFittedHist
->
Scale
(
scaleFactor
);
_PipPimPi0MassFittedHist
->
Scale
(
scaleFactor
);
_KpKmMassFittedHist
->
Scale
(
scaleFactor
);
_KpKmMassFittedHist
->
Scale
(
scaleFactor
);
_costPip_PipPimPi0HeliFittedHist
->
Scale
(
scaleFactor
);
_costPip_PipPimPi0HeliFittedHist
->
Scale
(
scaleFactor
);
...
@@ -126,8 +126,8 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
...
@@ -126,8 +126,8 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<const EvtDataBase
_costKp_KpKmHeliFittedHist
->
Scale
(
scaleFactor
);
_costKp_KpKmHeliFittedHist
->
Scale
(
scaleFactor
);
_phiKp_KpKmHeliFittedHist
->
Scale
(
scaleFactor
);
_phiKp_KpKmHeliFittedHist
->
Scale
(
scaleFactor
);
_costGamCmFittedHist
->
Scale
(
scaleFactor
);
_costGamCmFittedHist
->
Scale
(
scaleFactor
);
_costPhi_
KpKm
FittedHist
->
Scale
(
scaleFactor
);
_costPhi_
OmegaPhiHeli
FittedHist
->
Scale
(
scaleFactor
);
_phiPhi_
KpKm
FittedHist
->
Scale
(
scaleFactor
);
_phiPhi_
OmegaPhiHeli
FittedHist
->
Scale
(
scaleFactor
);
_chiFittedHist
->
Scale
(
scaleFactor
);
_chiFittedHist
->
Scale
(
scaleFactor
);
...
@@ -138,21 +138,21 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
...
@@ -138,21 +138,21 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
_dalitzDataHist
(
0
),
_dalitzDataHist
(
0
),
_dalitzMcHist
(
0
),
_dalitzMcHist
(
0
),
_dalitzFittedHist
(
0
),
_dalitzFittedHist
(
0
),
_
Phi
PhiMassDataHist
(
0
),
_
Omega
PhiMassDataHist
(
0
),
_
Phi
PhiMassMcHist
(
0
),
_
Omega
PhiMassMcHist
(
0
),
_
Phi
PhiMassFittedHist
(
0
),
_
Omega
PhiMassFittedHist
(
0
),
_KpKmMassDataHist
(
0
),
_KpKmMassDataHist
(
0
),
_KpKmMassMcHist
(
0
),
_KpKmMassMcHist
(
0
),
_KpKmMassFittedHist
(
0
),
_KpKmMassFittedHist
(
0
),
_PipPimPi0MassDataHist
(
0
),
_PipPimPi0MassDataHist
(
0
),
_PipPimPi0MassMcHist
(
0
),
_PipPimPi0MassMcHist
(
0
),
_PipPimPi0MassFittedHist
(
0
),
_PipPimPi0MassFittedHist
(
0
),
_costPhi_
KpKm
DataHist
(
0
),
_costPhi_
OmegaPhiHeli
DataHist
(
0
),
_costPhi_
KpKm
McHist
(
0
),
_costPhi_
OmegaPhiHeli
McHist
(
0
),
_costPhi_
KpKm
FittedHist
(
0
),
_costPhi_
OmegaPhiHeli
FittedHist
(
0
),
_phiPhi_
KpKm
DataHist
(
0
),
_phiPhi_
OmegaPhiHeli
DataHist
(
0
),
_phiPhi_
KpKm
McHist
(
0
),
_phiPhi_
OmegaPhiHeli
McHist
(
0
),
_phiPhi_
KpKm
FittedHist
(
0
),
_phiPhi_
OmegaPhiHeli
FittedHist
(
0
),
_chiDataHist
(
0
),
_chiDataHist
(
0
),
_chiMcHist
(
0
),
_chiMcHist
(
0
),
_chiFittedHist
(
0
),
_chiFittedHist
(
0
),
...
@@ -175,14 +175,14 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
...
@@ -175,14 +175,14 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
{
{
const
double
evtWeight
=
(
*
it
)
->
evtWeight
;
const
double
evtWeight
=
(
*
it
)
->
evtWeight
;
plotDalitz
(
_dalitzDataHist
,
(
*
it
),
evtWeight
);
plotDalitz
(
_dalitzDataHist
,
(
*
it
),
evtWeight
);
plot
PhiPhi
(
_Phi
PhiMassDataHist
,
(
*
it
),
evtWeight
);
plot
OmegaPhi
(
_Omega
PhiMassDataHist
,
(
*
it
),
evtWeight
);
plotPipPimPi0
(
_PipPimPi0MassDataHist
,
(
*
it
),
evtWeight
);
plotPipPimPi0
(
_PipPimPi0MassDataHist
,
(
*
it
),
evtWeight
);
plotKpKm
(
_KpKmMassDataHist
,
(
*
it
),
evtWeight
);
plotKpKm
(
_KpKmMassDataHist
,
(
*
it
),
evtWeight
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliDataHist
,
_phiPip_PipPimPi0HeliDataHist
,
(
*
it
),
evtWeight
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliDataHist
,
_phiPip_PipPimPi0HeliDataHist
,
(
*
it
),
evtWeight
);
plotCostPhiKp
(
_costKp_KpKmHeliDataHist
,
_phiKp_KpKmHeliDataHist
,
(
*
it
),
evtWeight
);
plotCostPhiKp
(
_costKp_KpKmHeliDataHist
,
_phiKp_KpKmHeliDataHist
,
(
*
it
),
evtWeight
);
plotCostGam
(
_costGamCmDataHist
,
(
*
it
),
evtWeight
);
plotCostGam
(
_costGamCmDataHist
,
(
*
it
),
evtWeight
);
plotCostPhi_
Phi
PhiHeli
(
_costPhi_
KpKm
DataHist
,
_phiPhi_
KpKm
DataHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
evtWeight
);
plotCostPhi_
Omega
PhiHeli
(
_costPhi_
OmegaPhiHeli
DataHist
,
_phiPhi_
OmegaPhiHeli
DataHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
evtWeight
);
plotChi
(
_chiDataHist
,
(
*
it
),
evtWeight
);
plotChi
(
_chiDataHist
,
(
*
it
),
evtWeight
);
fillTuple
(
_dataTuple
,
(
*
it
),
evtWeight
);
fillTuple
(
_dataTuple
,
(
*
it
),
evtWeight
);
++
it
;
++
it
;
...
@@ -193,25 +193,25 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
...
@@ -193,25 +193,25 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
while
(
it
!=
mcList
.
end
())
while
(
it
!=
mcList
.
end
())
{
{
plotDalitz
(
_dalitzMcHist
,
(
*
it
),
1.
);
plotDalitz
(
_dalitzMcHist
,
(
*
it
),
1.
);
plot
PhiPhi
(
_Phi
PhiMassMcHist
,
(
*
it
),
1.
);
plot
OmegaPhi
(
_Omega
PhiMassMcHist
,
(
*
it
),
1.
);
plotPipPimPi0
(
_PipPimPi0MassMcHist
,
(
*
it
),
1.
);
plotPipPimPi0
(
_PipPimPi0MassMcHist
,
(
*
it
),
1.
);
plotKpKm
(
_KpKmMassMcHist
,
(
*
it
),
1.
);
plotKpKm
(
_KpKmMassMcHist
,
(
*
it
),
1.
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliMcHist
,
_phiPip_PipPimPi0HeliMcHist
,
(
*
it
),
1.
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliMcHist
,
_phiPip_PipPimPi0HeliMcHist
,
(
*
it
),
1.
);
plotCostPhiKp
(
_costKp_KpKmHeliMcHist
,
_phiKp_KpKmHeliMcHist
,(
*
it
),
1.
);
plotCostPhiKp
(
_costKp_KpKmHeliMcHist
,
_phiKp_KpKmHeliMcHist
,(
*
it
),
1.
);
plotCostGam
(
_costGamCmMcHist
,(
*
it
),
1.
);
plotCostGam
(
_costGamCmMcHist
,(
*
it
),
1.
);
plotCostPhi_
Phi
PhiHeli
(
_costPhi_
KpKm
McHist
,
_phiPhi_
KpKm
McHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
1.
);
plotCostPhi_
Omega
PhiHeli
(
_costPhi_
OmegaPhiHeli
McHist
,
_phiPhi_
OmegaPhiHeli
McHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
1.
);
plotChi
(
_chiMcHist
,
(
*
it
),
1.
);
plotChi
(
_chiMcHist
,
(
*
it
),
1.
);
// double evtWeight= _theJpsiGamPipPimPi0KKLh->calcEvtIntensity((*it), _fitParam);
// double evtWeight= _theJpsiGamPipPimPi0KKLh->calcEvtIntensity((*it), _fitParam);
double
evtWeight
=
theLh
->
calcEvtIntensity
(
(
*
it
),
theFitParms
);
double
evtWeight
=
theLh
->
calcEvtIntensity
(
(
*
it
),
theFitParms
);
plotDalitz
(
_dalitzFittedHist
,
(
*
it
),
evtWeight
);
plotDalitz
(
_dalitzFittedHist
,
(
*
it
),
evtWeight
);
plot
PhiPhi
(
_Phi
PhiMassFittedHist
,
(
*
it
),
evtWeight
);
plot
OmegaPhi
(
_Omega
PhiMassFittedHist
,
(
*
it
),
evtWeight
);
plotPipPimPi0
(
_PipPimPi0MassFittedHist
,
(
*
it
),
evtWeight
);
plotPipPimPi0
(
_PipPimPi0MassFittedHist
,
(
*
it
),
evtWeight
);
plotKpKm
(
_KpKmMassFittedHist
,
(
*
it
),
evtWeight
);
plotKpKm
(
_KpKmMassFittedHist
,
(
*
it
),
evtWeight
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliFittedHist
,
_phiPip_PipPimPi0HeliFittedHist
,(
*
it
),
evtWeight
);
plotCostPhiPip
(
_costPip_PipPimPi0HeliFittedHist
,
_phiPip_PipPimPi0HeliFittedHist
,(
*
it
),
evtWeight
);
plotCostPhiKp
(
_costKp_KpKmHeliFittedHist
,
_phiKp_KpKmHeliFittedHist
,(
*
it
),
evtWeight
);
plotCostPhiKp
(
_costKp_KpKmHeliFittedHist
,
_phiKp_KpKmHeliFittedHist
,(
*
it
),
evtWeight
);
plotCostGam
(
_costGamCmFittedHist
,(
*
it
),
evtWeight
);
plotCostGam
(
_costGamCmFittedHist
,(
*
it
),
evtWeight
);
plotCostPhi_
Phi
PhiHeli
(
_costPhi_
KpKm
FittedHist
,
_phiPhi_
KpKm
FittedHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
evtWeight
);
plotCostPhi_
Omega
PhiHeli
(
_costPhi_
OmegaPhiHeli
FittedHist
,
_phiPhi_
OmegaPhiHeli
FittedHist
,
(
*
it
)
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_KpKm_HeliPipPimPi0KpKm
],
evtWeight
);
plotChi
(
_chiFittedHist
,
(
*
it
),
evtWeight
);
plotChi
(
_chiFittedHist
,
(
*
it
),
evtWeight
);
fillTuple
(
_mcTuple
,
(
*
it
),
evtWeight
);
fillTuple
(
_mcTuple
,
(
*
it
),
evtWeight
);
...
@@ -233,7 +233,7 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
...
@@ -233,7 +233,7 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
double
scaleFactor
=
integralDataWWeight
/
integralMC
;
double
scaleFactor
=
integralDataWWeight
/
integralMC
;
_dalitzFittedHist
->
Scale
(
scaleFactor
);
_dalitzFittedHist
->
Scale
(
scaleFactor
);
_
Phi
PhiMassFittedHist
->
Scale
(
scaleFactor
);
_
Omega
PhiMassFittedHist
->
Scale
(
scaleFactor
);
_PipPimPi0MassFittedHist
->
Scale
(
scaleFactor
);
_PipPimPi0MassFittedHist
->
Scale
(
scaleFactor
);
_KpKmMassFittedHist
->
Scale
(
scaleFactor
);
_KpKmMassFittedHist
->
Scale
(
scaleFactor
);
_costPip_PipPimPi0HeliFittedHist
->
Scale
(
scaleFactor
);
_costPip_PipPimPi0HeliFittedHist
->
Scale
(
scaleFactor
);
...
@@ -241,8 +241,8 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
...
@@ -241,8 +241,8 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
_costKp_KpKmHeliFittedHist
->
Scale
(
scaleFactor
);
_costKp_KpKmHeliFittedHist
->
Scale
(
scaleFactor
);
_phiKp_KpKmHeliFittedHist
->
Scale
(
scaleFactor
);
_phiKp_KpKmHeliFittedHist
->
Scale
(
scaleFactor
);
_costGamCmFittedHist
->
Scale
(
scaleFactor
);
_costGamCmFittedHist
->
Scale
(
scaleFactor
);
_costPhi_
KpKm
FittedHist
->
Scale
(
scaleFactor
);
_costPhi_
OmegaPhiHeli
FittedHist
->
Scale
(
scaleFactor
);
_phiPhi_
KpKm
FittedHist
->
Scale
(
scaleFactor
);
_phiPhi_
OmegaPhiHeli
FittedHist
->
Scale
(
scaleFactor
);
_chiFittedHist
->
Scale
(
scaleFactor
);
_chiFittedHist
->
Scale
(
scaleFactor
);
double
integralFitted
=
(
double
)
_costGamCmFittedHist
->
Integral
();
double
integralFitted
=
(
double
)
_costGamCmFittedHist
->
Integral
();
...
@@ -250,179 +250,6 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
...
@@ -250,179 +250,6 @@ JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(boost::shared_ptr<AbsLhNew> theLh,
}
}
// JpsiToOmegaPhiGamHist::JpsiToOmegaPhiGamHist(JpsiGamPipPimPi0KKProdLh* theJpsiGamPipPimPi0KKLh, fitParams& fitParam, FitParamErrorMatrix* theErrorMatrix) :
// _theTFile(0),
// _dalitzDataHist(0),
// _dalitzMcHist(0),
// _dalitzFittedHist(0),
// _PhiPhiMassDataHist(0),
// _PhiPhiMassMcHist(0),
// _PhiPhiMassFittedHist(0),
// _KpKmMassDataHist(0),
// _KpKmMassMcHist(0),
// _KpKmMassFittedHist(0),
// _PipPimPi0MassDataHist(0),
// _PipPimPi0MassMcHist(0),
// _PipPimPi0MassFittedHist(0),
// _costPhi_KpKmDataHist(0),
// _costPhi_KpKmMcHist(0),
// _costPhi_KpKmFittedHist(0),
// _phiPhi_KpKmDataHist(0),
// _phiPhi_KpKmMcHist(0),
// _phiPhi_KpKmFittedHist(0),
// _chiDataHist(0),
// _chiMcHist(0),
// _chiFittedHist(0),
// _dataTuple(0),
// _mcTuple(0),
// _massIndepTuple(0),
// _massRange(make_pair(0.,0.) )
// {
// if(0==theJpsiGamPipPimPi0KKLh){
// Alert <<"JpsiGamPipPimPi0KKLh* theJpsiGamPipPimPi0KKLh is a 0 pointer !!!!" ; // << endmsg;
// exit(1);
// }
// initRootStuff();
// _theJpsiGamPipPimPi0KKLh = theJpsiGamPipPimPi0KKLh;
// _fitParam = fitParam;
// std::vector<double> data;
// _errMatrix = theErrorMatrix;
// }
// void JpsiToOmegaPhiGamHist::fill(){
// boost::shared_ptr<const EvtDataBaseList> theEvtList=_theJpsiGamPipPimPi0KKLh->getEventList();
// const std::vector<EvtData*> dataList=theEvtList->getDataVecs();
// std::vector<EvtDataNew*>::const_iterator it=dataList.begin();
// while(it!=dataList.end())
// {
// plotDalitz(_dalitzDataHist, (*it), 1.);
// plotPhiPhi(_PhiPhiMassDataHist, (*it), 1. );
// plotPipPimPi0( _PipPimPi0MassDataHist, (*it), 1. );
// plotKpKm( _KpKmMassDataHist, (*it), 1. );
// plotCostPhiPip( _costPip_PipPimPi0HeliDataHist, _phiPip_PipPimPi0HeliDataHist, (*it), 1. );
// plotCostPhiKp( _costKp_KpKmHeliDataHist, _phiKp_KpKmHeliDataHist, (*it), 1. );
// plotCostGam( _costGamCmDataHist, (*it), 1. );
// plotCostPhi_PhiPhiHeli(_costPhi_KpKmDataHist, _phiPhi_KpKmDataHist, (*it)->FourVecsDec[enumJpsiGamX4V::V4_KpKm_HeliPipPimPi0KpKm], 1.);
// plotChi(_chiDataHist, (*it), 1. );
// fillTuple(_dataTuple, (*it), 1.);
// ++it;
// }
// const std::vector<EvtDataNew*> mcList=theEvtList->getMcVecs();
// it=mcList.begin();
// while(it!=mcList.end())
// {
// plotDalitz(_dalitzMcHist, (*it), 1.);
// plotPhiPhi(_PhiPhiMassMcHist, (*it), 1. );
// plotPipPimPi0( _PipPimPi0MassMcHist, (*it), 1. );
// plotKpKm( _KpKmMassMcHist, (*it), 1. );
// plotCostPhiPip( _costPip_PipPimPi0HeliMcHist, _phiPip_PipPimPi0HeliMcHist, (*it), 1. );
// plotCostPhiKp( _costKp_KpKmHeliMcHist, _phiKp_KpKmHeliMcHist,(*it), 1. );
// plotCostGam( _costGamCmMcHist,(*it), 1. );
// plotCostPhi_PhiPhiHeli(_costPhi_KpKmMcHist, _phiPhi_KpKmMcHist, (*it)->FourVecsDec[enumJpsiGamX4V::V4_KpKm_HeliPipPimPi0KpKm], 1.);
// plotChi(_chiMcHist, (*it), 1. );
// double evtWeight= _theJpsiGamPipPimPi0KKLh->calcEvtIntensity((*it), _fitParam);
// plotDalitz(_dalitzFittedHist, (*it),evtWeight );
// plotPhiPhi(_PhiPhiMassFittedHist, (*it), evtWeight );
// plotPipPimPi0( _PipPimPi0MassFittedHist, (*it), evtWeight );
// plotKpKm( _KpKmMassFittedHist, (*it), evtWeight );
// plotCostPhiPip( _costPip_PipPimPi0HeliFittedHist, _phiPip_PipPimPi0HeliFittedHist,(*it), evtWeight );
// plotCostPhiKp( _costKp_KpKmHeliFittedHist, _phiKp_KpKmHeliFittedHist,(*it), evtWeight );
// plotCostGam( _costGamCmFittedHist,(*it), evtWeight );
// plotCostPhi_PhiPhiHeli(_costPhi_KpKmFittedHist, _phiPhi_KpKmFittedHist, (*it)->FourVecsDec[enumJpsiGamX4V::V4_KpKm_HeliPipPimPi0KpKm], evtWeight);
// plotChi(_chiFittedHist, (*it), evtWeight );
// fillTuple(_mcTuple, (*it), evtWeight);
// ++it;
// }
// double integralData=(double) theEvtList->getDataVecs().size();
// Info <<"No of fit data events " << integralData ; // << endmsg;
// double integralFitted=(double) theEvtList->getMcVecs().size();
// Info <<"No of fit events " << integralFitted ; // << endmsg;
// Info <<"scaling factor " << integralData/integralFitted ; // << endmsg;
// double scaleFactor = integralData/integralFitted;
// _dalitzFittedHist->Scale(scaleFactor);
// _PhiPhiMassFittedHist->Scale(scaleFactor);
// _PipPimPi0MassFittedHist->Scale(scaleFactor);
// _KpKmMassFittedHist->Scale(scaleFactor);
// _costPip_PipPimPi0HeliFittedHist->Scale(scaleFactor);
// _phiPip_PipPimPi0HeliFittedHist->Scale(scaleFactor);
// _costKp_KpKmHeliFittedHist->Scale(scaleFactor);
// _phiKp_KpKmHeliFittedHist->Scale(scaleFactor);
// _costGamCmFittedHist->Scale(scaleFactor);
// _costPhi_KpKmFittedHist->Scale(scaleFactor);
// _phiPhi_KpKmFittedHist->Scale(scaleFactor);
// _chiFittedHist->Scale(scaleFactor);
// double iEta(0.), iEtaErr(0.), iF0(0.), iF0Err(0.), iEta2(0.), iEta2Err(0.), iF1(0.), iF1Err(0.), iF2(0.), iF2Err(0.);
// double etaReal(0.), etaImg(0.);
// it=mcList.begin();
// while(it!=mcList.end()){
// std::pair<double, double> intensityEvent = make_pair(0.,0.);
// _theJpsiGamPipPimPi0KKLh->calcComponentIntensity((*it), _fitParam, *_errMatrix, "etacHyp", intensityEvent);
// iEta+= intensityEvent.first*scaleFactor;
// iEtaErr+= intensityEvent.second*scaleFactor;
// _theJpsiGamPipPimPi0KKLh->calcComponentIntensity((*it), _fitParam, *_errMatrix, "f02020Hyp",intensityEvent);
// iF0 += intensityEvent.first*scaleFactor;
// iF0Err += intensityEvent.second*scaleFactor;
// _theJpsiGamPipPimPi0KKLh->calcComponentIntensity((*it), _fitParam, *_errMatrix, "f1Hyp", intensityEvent);
// iF1 += intensityEvent.first*scaleFactor;
// iF1Err += intensityEvent.second*scaleFactor;
// _theJpsiGamPipPimPi0KKLh->calcComponentIntensity((*it), _fitParam, *_errMatrix, "f22300Hyp",intensityEvent);
// iF2 += intensityEvent.first*scaleFactor;
// iF2Err += intensityEvent.second*scaleFactor;
// _theJpsiGamPipPimPi0KKLh->calcComponentIntensity((*it), _fitParam, *_errMatrix, "eta21870Hyp",intensityEvent);
// iEta2+= intensityEvent.first*scaleFactor;
// iEta2Err += intensityEvent.second*scaleFactor;
// it++;
// }
// double meanMassRange = _massRange.first + 0.5*(_massRange.second-_massRange.first);
// Info << "Events for component eta : " << iEta << " +/- " << iEtaErr ;
// Info << "Events for component f0: " << iF0 << " +/- " << iF0Err ;
// Info << "Events for component f1: " << iF1 << " +/- " << iF1Err ;
// Info << "Events for component f2: " << iF2 << " +/- " << iF2Err ;
// Info << "Events for component eta2: " << iEta2 << " +/- " << iEta2Err ;
// std::map< boost::shared_ptr<const JPCLS>, double, pawian::Collection::SharedPtrLess > PsiToEtacGamPhi=_fitParam.Phis[paramEnumJpsiGamPipPimPi0KK::PsiToEtacGamma];
// std::map< boost::shared_ptr<const JPCLS>, double, pawian::Collection::SharedPtrLess > PsiToEtacGamMag=_fitParam.Mags[paramEnumJpsiGamPipPimPi0KK::PsiToEtacGamma];
// std::map< boost::shared_ptr<const JPCLS>, double, pawian::Collection::SharedPtrLess >::iterator phiIter = PsiToEtacGamPhi.begin();
// for(; phiIter!=PsiToEtacGamPhi.end(); phiIter++){
// double thePhase = phiIter->second;
// double theMag = PsiToEtacGamMag[phiIter->first];
// etaImg = theMag*cos(thePhase) ;
// etaReal = theMag*sin(thePhase);
// }
// _massIndepTuple->Fill(meanMassRange, iEta, iEtaErr, iF0, iF0Err, iF1, iF1Err, iF2, iF2Err, iEta2, iEta2Err, etaImg, etaReal );
// }
JpsiToOmegaPhiGamHist
::~
JpsiToOmegaPhiGamHist
()
JpsiToOmegaPhiGamHist
::~
JpsiToOmegaPhiGamHist
()
{
{
...
@@ -436,8 +263,8 @@ void JpsiToOmegaPhiGamHist::initRootStuff()
...
@@ -436,8 +263,8 @@ void JpsiToOmegaPhiGamHist::initRootStuff()
_theTFile
=
new
TFile
(
rootFileName
.
c_str
(),
"recreate"
);
_theTFile
=
new
TFile
(
rootFileName
.
c_str
(),
"recreate"
);
int
xbins
=
50
;
int
xbins
=
50
;
double
xmin
=
0.
8
;
double
xmin
=
0.
4
;
double
xmax
=
10
.
;
double
xmax
=
6
.
;
int
ybins
=
xbins
;
int
ybins
=
xbins
;
double
ymin
=
xmin
;
double
ymin
=
xmin
;
double
ymax
=
xmax
;
double
ymax
=
xmax
;
...
@@ -449,13 +276,13 @@ void JpsiToOmegaPhiGamHist::initRootStuff()
...
@@ -449,13 +276,13 @@ void JpsiToOmegaPhiGamHist::initRootStuff()
int
nbins
=
400
;
int
nbins
=
400
;
xmin
=
1.6
;
xmin
=
1.6
;
xmax
=
4.
;
xmax
=
3.5
;
_
Phi
PhiMassDataHist
=
new
TH1F
(
"_
Phi
PhiMassDataHist"
,
"_
Phi
PhiMassDataHist"
,
nbins
,
xmin
,
xmax
);
_
Omega
PhiMassDataHist
=
new
TH1F
(
"_
Omega
PhiMassDataHist"
,
"_
Omega
PhiMassDataHist"
,
nbins
,
xmin
,
xmax
);
_
Phi
PhiMassMcHist
=
new
TH1F
(
"_
Phi
PhiMassMcHist"
,
"_
Phi
PhiMassMcHist"
,
nbins
,
xmin
,
xmax
);
_
Omega
PhiMassMcHist
=
new
TH1F
(
"_
Omega
PhiMassMcHist"
,
"_
Omega
PhiMassMcHist"
,
nbins
,
xmin
,
xmax
);
_
Phi
PhiMassFittedHist
=
new
TH1F
(
"_
Phi
PhiMassFittedHist"
,
"_
Phi
PhiMassFittedHist"
,
nbins
,
xmin
,
xmax
);
_
Omega
PhiMassFittedHist
=
new
TH1F
(
"_
Omega
PhiMassFittedHist"
,
"_
Omega
PhiMassFittedHist"
,
nbins
,
xmin
,
xmax
);
nbins
=
5
0
;
nbins
=
10
0
;
xmin
=
0.
8
;
xmin
=
0.
4
;
xmax
=
1.2
;
xmax
=
1.2
;
_PipPimPi0MassDataHist
=
new
TH1F
(
"_PipPimPi0MassDataHist"
,
"_PipPimPi0MassDataHist"
,
nbins
,
xmin
,
xmax
);
_PipPimPi0MassDataHist
=
new
TH1F
(
"_PipPimPi0MassDataHist"
,
"_PipPimPi0MassDataHist"
,
nbins
,
xmin
,
xmax
);
_PipPimPi0MassMcHist
=
new
TH1F
(
"_PipPimPi0MassMcHist"
,
"_PipPimPi0MassMcHist"
,
nbins
,
xmin
,
xmax
);
_PipPimPi0MassMcHist
=
new
TH1F
(
"_PipPimPi0MassMcHist"
,
"_PipPimPi0MassMcHist"
,
nbins
,
xmin
,
xmax
);
...
@@ -484,13 +311,13 @@ void JpsiToOmegaPhiGamHist::initRootStuff()
...
@@ -484,13 +311,13 @@ void JpsiToOmegaPhiGamHist::initRootStuff()
_costGamCmMcHist
=
new
TH1F
(
"_costGamCmMcHist"
,
"cos(#Theta_{#gamma}) CM Mc"
,
100
,
-
1.
,
1.
);
_costGamCmMcHist
=
new
TH1F
(
"_costGamCmMcHist"
,
"cos(#Theta_{#gamma}) CM Mc"
,
100
,
-
1.
,
1.
);
_costGamCmFittedHist
=
new
TH1F
(
"_costGamCmFittedHist"
,
"cos(#Theta_{#gamma}) CM Fit"
,
100
,
-
1
,
1
);
_costGamCmFittedHist
=
new
TH1F
(
"_costGamCmFittedHist"
,
"cos(#Theta_{#gamma}) CM Fit"
,
100
,
-
1
,
1
);
_costPhi_
KpKm
DataHist
=
new
TH1F
(
"_costPhi_
KpKm
DataHist"
,
"cos(#Theta_{#phi}) K+ K- data"
,
100
,
-
1.
,
1.
);
_costPhi_
OmegaPhiHeli
DataHist
=
new
TH1F
(
"_costPhi_
OmegaPhiHeli
DataHist"
,
"cos(#Theta_{#phi}) K+ K- data"
,
100
,
-
1.
,
1.
);
_costPhi_
KpKm
McHist
=
new
TH1F
(
"_costPhi_
KpKm
McHist"
,
"cos(#Theta_{#phi}) K+ K- Mc"
,
100
,
-
1.
,
1.
);
_costPhi_
OmegaPhiHeli
McHist
=
new
TH1F
(
"_costPhi_
OmegaPhiHeli
McHist"
,
"cos(#Theta_{#phi}) K+ K- Mc"
,
100
,
-
1.
,
1.
);
_costPhi_
KpKm
FittedHist
=
new
TH1F
(
"_costPhi_
KpKm
FittedHist"
,
"cos(#Theta_{#phi}) K+ K- Fit"
,
100
,
-
1.
,
1.
);
_costPhi_
OmegaPhiHeli
FittedHist
=
new
TH1F
(
"_costPhi_
OmegaPhiHeli
FittedHist"
,
"cos(#Theta_{#phi}) K+ K- Fit"
,
100
,
-
1.
,
1.
);
_phiPhi_
KpKm
DataHist
=
new
TH1F
(
"_phiPhi_
KpKm
DataHist"
,
"cos(#Phi_{#phi}) K+ K- data"
,
100
,
-
TMath
::
Pi
(),
TMath
::
Pi
());
_phiPhi_
OmegaPhiHeli
DataHist
=
new
TH1F
(
"_phiPhi_
OmegaPhiHeli
DataHist"
,
"cos(#Phi_{#phi}) K+ K- data"
,
100
,
-
TMath
::
Pi
(),
TMath
::
Pi
());
_phiPhi_
KpKm
McHist
=
new
TH1F
(
"_phiPhi_
KpKm
McHist"
,
"cos(#Phi_{#phi}) K+ K- Mc"
,
100
,
-
TMath
::
Pi
(),
TMath
::
Pi
());
_phiPhi_
OmegaPhiHeli
McHist
=
new
TH1F
(
"_phiPhi_
OmegaPhiHeli
McHist"
,
"cos(#Phi_{#phi}) K+ K- Mc"
,
100
,
-
TMath
::
Pi
(),
TMath
::
Pi
());
_phiPhi_
KpKm
FittedHist
=
new
TH1F
(
"_phiPhi_
KpKm
FittedHist"
,
"cos(#Phi_{#phi}) K+ K- Fit"
,
100
,
-
TMath
::
Pi
(),
TMath
::
Pi
());
_phiPhi_
OmegaPhiHeli
FittedHist
=
new
TH1F
(
"_phiPhi_
OmegaPhiHeli
FittedHist"
,
"cos(#Phi_{#phi}) K+ K- Fit"
,
100
,
-
TMath
::
Pi
(),
TMath
::
Pi
());
_chiDataHist
=
new
TH1F
(
"_chiDataHist"
,
"#chi data"
,
90
,
0.
,
90.
);
_chiDataHist
=
new
TH1F
(
"_chiDataHist"
,
"#chi data"
,
90
,
0.
,
90.
);
_chiMcHist
=
new
TH1F
(
"_chiMcHist"
,
"#chi Mc"
,
90
,
0.
,
90.
);
_chiMcHist
=
new
TH1F
(
"_chiMcHist"
,
"#chi Mc"
,
90
,
0.
,
90.
);
...
@@ -516,7 +343,7 @@ void JpsiToOmegaPhiGamHist::plotDalitz(TH2F* theHisto, EvtDataNew* theData, dou
...
@@ -516,7 +343,7 @@ void JpsiToOmegaPhiGamHist::plotDalitz(TH2F* theHisto, EvtDataNew* theData, dou
theHisto
->
Fill
(
gphi1
*
gphi1
,
gphi2
*
gphi2
,
weight
);
theHisto
->
Fill
(
gphi1
*
gphi1
,
gphi2
*
gphi2
,
weight
);
}
}
void
JpsiToOmegaPhiGamHist
::
plot
Phi
Phi
(
TH1F
*
theHisto
,
EvtDataNew
*
theData
,
double
weight
){
void
JpsiToOmegaPhiGamHist
::
plot
Omega
Phi
(
TH1F
*
theHisto
,
EvtDataNew
*
theData
,
double
weight
){
Vector4
<
double
>&
v4
=
theData
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_PipPimPi0KpKm_HeliPsi
];
Vector4
<
double
>&
v4
=
theData
->
FourVecsDec
[
enumJpsiGamX4V
::
V4_PipPimPi0KpKm_HeliPsi
];
theHisto
->
Fill
(
v4
.
M
(),
weight
);
theHisto
->
Fill
(
v4
.
M
(),
weight
);
}
}
...
@@ -547,7 +374,7 @@ void JpsiToOmegaPhiGamHist::plotCostGam(TH1F* theCostHisto, EvtDataNew* theData,
...
@@ -547,7 +374,7 @@ void JpsiToOmegaPhiGamHist::plotCostGam(TH1F* theCostHisto, EvtDataNew* theData,
theCostHisto
->
Fill
(
v4
.
CosTheta
(),
weight
);
theCostHisto
->
Fill
(
v4
.
CosTheta
(),
weight
);
}
}
void
JpsiToOmegaPhiGamHist
::
plotCostPhi_
Phi
PhiHeli
(
TH1F
*
theCostHisto
,
TH1F
*
thePhiHisto
,
const
Vector4
<
double
>&
the4Vec
,
double
weight
){
void
JpsiToOmegaPhiGamHist
::
plotCostPhi_
Omega
PhiHeli
(
TH1F
*
theCostHisto
,
TH1F
*
thePhiHisto
,
const
Vector4
<
double
>&
the4Vec
,
double
weight
){
theCostHisto
->
Fill
(
the4Vec
.
CosTheta
(),
weight
);
theCostHisto
->
Fill
(
the4Vec
.
CosTheta
(),
weight
);
thePhiHisto
->
Fill
(
the4Vec
.
Phi
(),
weight
);
thePhiHisto
->
Fill
(
the4Vec
.
Phi
(),
weight
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment