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
e8734b8f
Commit
e8734b8f
authored
11 years ago
by
Michael Leyhe
Browse files
Options
Downloads
Patches
Plain Diff
Added plotMode and qaModeSimple to epemReactionApp
parent
b685d7cc
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Examples/epem/epemReactionApp.cc
+14
-0
14 additions, 0 deletions
Examples/epem/epemReactionApp.cc
epemUtils/epemHist.cc
+6
-0
6 additions, 0 deletions
epemUtils/epemHist.cc
epemUtils/epemHist.hh
+1
-0
1 addition, 0 deletions
epemUtils/epemHist.hh
with
21 additions
and
0 deletions
Examples/epem/epemReactionApp.cc
+
14
−
0
View file @
e8734b8f
...
...
@@ -335,6 +335,20 @@ int main(int __argc,char *__argv[]){
theAppBase
.
readEvents
(
mcData
,
mcFileNames
,
0
,
false
,
0
,
maxMcEvts
-
1
);
std
::
shared_ptr
<
EvtDataBaseList
>
eventListPtr
(
new
EvtDataBaseList
(
0
));
if
(
mode
==
"plotMode"
){
std
::
shared_ptr
<
AbsHist
>
theHistPtr
(
new
epemHist
());
theAppBase
.
plotMode
(
eventsData
,
mcData
,
eventListPtr
,
theHistPtr
);
return
1
;
}
if
(
mode
==
"qaModeSimple"
){
std
::
shared_ptr
<
AbsHist
>
theHistPtr
(
new
epemHist
());
theAppBase
.
qaModeSimple
(
eventsData
,
mcData
,
theStartparams
,
eventListPtr
,
theHistPtr
,
noOfFreeFitParams
);
return
1
;
}
eventListPtr
->
read
(
eventsData
,
mcData
);
theLhPtr
->
setDataVec
(
eventListPtr
->
getDataVecs
());
...
...
This diff is collapsed.
Click to expand it.
epemUtils/epemHist.cc
+
6
−
0
View file @
e8734b8f
...
...
@@ -52,6 +52,12 @@ epemHist::epemHist(std::shared_ptr<AbsLh> theLh, fitParams& theFitParams) :
fillIt
(
theLh
,
theFitParams
);
}
epemHist
::
epemHist
()
:
AbsHist
()
{
initRootStuff
();
}
epemHist
::~
epemHist
(){
}
...
...
This diff is collapsed.
Click to expand it.
epemUtils/epemHist.hh
+
1
−
0
View file @
e8734b8f
...
...
@@ -46,6 +46,7 @@ class epemHist : public AbsHist{
public:
epemHist
(
std
::
shared_ptr
<
AbsLh
>
,
fitParams
&
theFitParams
);
epemHist
();
virtual
~
epemHist
();
protected:
...
...
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