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
c13cb14b
Commit
c13cb14b
authored
12 years ago
by
Michael Leyhe
Browse files
Options
Downloads
Patches
Plain Diff
BugFix: Initialized cmsMass in epemParser to jpsi-mass
parent
060e5f12
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Particle/pdtNew.table
+0
-1
0 additions, 1 deletion
Particle/pdtNew.table
epemUtils/epemHist.cc
+10
-3
10 additions, 3 deletions
epemUtils/epemHist.cc
epemUtils/epemParser.cc
+1
-0
1 addition, 0 deletions
epemUtils/epemParser.cc
with
11 additions
and
4 deletions
Particle/pdtNew.table
+
0
−
1
View file @
c13cb14b
...
...
@@ -67,7 +67,6 @@ Meson f2Hat(1800) \hat{f}_2(1800) 0 4 1 -1 1 0 0 0 0 1.800 0.3000
#
# type name texName 3*Q 2*J P C G I I3 S C mass width dyn.f comment
#
Meson pion \pi 0 0 -1 1 -1 1 0 0 0 0.139 0.0001 relBW [PDG nonett 1^1S_0]
Meson pion0 \pi^0 0 0 -1 1 -1 1 0 0 0 0.13498 0.0001 relBW [PDG nonett 1^1S_0]
Meson pion+ \pi^+ 3 0 -1 0 -1 1 1 0 0 0.13957 0.0001 relBW [PDG nonett 1^1S_0]
Meson pion- \pi^- -3 0 -1 0 -1 1 -1 0 0 0.13957 0.0001 relBW [PDG nonett 1^1S_0]
...
...
This diff is collapsed.
Click to expand it.
epemUtils/epemHist.cc
+
10
−
3
View file @
c13cb14b
...
...
@@ -70,6 +70,7 @@ void epemHist::initRootStuff(){
double
massMin
=
0
;
// double massMax = psiMass;
double
massMax
=
epemEnv
::
instance
()
->
cmsMass
();
DebugMsg
<<
"epemEnv::instance()->cmsMass():
\t
"
<<
epemEnv
::
instance
()
->
cmsMass
()
<<
endmsg
;
std
::
vector
<
std
::
string
>
fspNames
=
tmpMassHistData
->
_fspNames
;
std
::
vector
<
Particle
*>
allFsp
=
epemEnv
::
instance
()
->
finalStateParticles
();
...
...
@@ -91,21 +92,27 @@ void epemHist::initRootStuff(){
massMax
+=
(
massMax
-
massMin
)
*
0.02
;
massMin
-=
(
massMax
-
massMin
)
*
0.02
;
TH1F
*
currentMassDataHist
=
new
TH1F
(
histName
.
c_str
(),
histDescription
.
c_str
(),
100
.
,
massMin
,
massMax
);
TH1F
*
currentMassDataHist
=
new
TH1F
(
histName
.
c_str
(),
histDescription
.
c_str
(),
100
,
massMin
,
massMax
);
currentMassDataHist
->
Sumw2
();
_massDataHistMap
[
tmpMassHistData
]
=
currentMassDataHist
;
DebugMsg
<<
histName
.
c_str
()
<<
"
\t
"
<<
massMin
<<
"
\t
"
<<
massMax
<<
endmsg
;
histName
=
"MC"
+
tmpBaseName
;
histDescription
=
"M("
+
tmpMassHistData
->
_name
+
") (MC)"
;
TH1F
*
currentMassMcHist
=
new
TH1F
(
histName
.
c_str
(),
histDescription
.
c_str
(),
100
.
,
massMin
,
massMax
);
TH1F
*
currentMassMcHist
=
new
TH1F
(
histName
.
c_str
(),
histDescription
.
c_str
(),
100
,
massMin
,
massMax
);
currentMassMcHist
->
Sumw2
();
_massMcHistMap
[
tmpMassHistData
]
=
currentMassMcHist
;
DebugMsg
<<
histName
.
c_str
()
<<
"
\t
"
<<
massMin
<<
"
\t
"
<<
massMax
<<
endmsg
;
histName
=
"Fit"
+
tmpBaseName
;
histDescription
=
"M("
+
tmpMassHistData
->
_name
+
") (fit)"
;
TH1F
*
currentMassFitHist
=
new
TH1F
(
histName
.
c_str
(),
histDescription
.
c_str
(),
100
.
,
massMin
,
massMax
);
TH1F
*
currentMassFitHist
=
new
TH1F
(
histName
.
c_str
(),
histDescription
.
c_str
(),
100
,
massMin
,
massMax
);
currentMassFitHist
->
Sumw2
();
_massFitHistMap
[
tmpMassHistData
]
=
currentMassFitHist
;
DebugMsg
<<
histName
.
c_str
()
<<
"
\t
"
<<
massMin
<<
"
\t
"
<<
massMax
<<
endmsg
;
}
}
...
...
This diff is collapsed.
Click to expand it.
epemUtils/epemParser.cc
+
1
−
0
View file @
c13cb14b
...
...
@@ -36,6 +36,7 @@ using namespace std;
epemParser
::
epemParser
(
int
argc
,
char
**
argv
)
:
ParserBase
(
argc
,
argv
)
,
_cmsMass
(
3.096916
)
{
po
::
options_description
common
(
"Common Options"
);
common
.
add_options
()
...
...
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