Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
np
nptool
Commits
29d06e2e
Commit
29d06e2e
authored
9 years ago
by
flavigny
Browse files
Options
Downloads
Patches
Plain Diff
- Fixed cats benchmark
parent
7cfc660a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Benchmarks/benchmark.sh
+1
-1
1 addition, 1 deletion
Benchmarks/benchmark.sh
Benchmarks/cats/ShowResult.C
+7
-7
7 additions, 7 deletions
Benchmarks/cats/ShowResult.C
with
8 additions
and
8 deletions
Benchmarks/benchmark.sh
+
1
−
1
View file @
29d06e2e
...
@@ -6,4 +6,4 @@ set -ev
...
@@ -6,4 +6,4 @@ set -ev
# cats benchmark
# cats benchmark
cd
$NPTOOL
/Benchmarks/cats
cd
$NPTOOL
/Benchmarks/cats
time
npanalysis
-D
benchmark_cats.detector
-C
calibration.txt
-R
RunToTreat.txt
-O
benchmark_cats
time
npanalysis
-D
benchmark_cats.detector
-C
calibration.txt
-R
RunToTreat.txt
-O
benchmark_cats
echo
".q"
|
root
-b
-l
ShowResult.
cxx
root
-l
ShowResult.
C
This diff is collapsed.
Click to expand it.
Benchmarks/cats/ShowResult.C
+
7
−
7
View file @
29d06e2e
TChain
*
chain
=
NULL
;
TChain
*
chain
=
NULL
;
////////////////////////////////////////////////////////////////////////////////
void
LoadChain
()
{
chain
=
new
TChain
(
"PhysicsTree"
);
chain
->
Add
(
"../../Outputs/Analysis/benchmark_cats.root"
);
}
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
void
ShowResult
()
void
ShowResult
()
{
{
// load chain from resul
// load chain from resul
t
LoadChain
();
LoadChain
();
// draw canvas
// draw canvas
...
@@ -30,9 +36,3 @@ void ShowResult()
...
@@ -30,9 +36,3 @@ void ShowResult()
////////////////////////////////////////////////////////////////////////////////
void
LoadChain
()
{
chain
=
new
TChain
(
"PhysicsTree"
);
chain
->
Add
(
"../../Outputs/Analysis/benchmark_cats.root"
);
}
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