Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZDCdigitizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Show more breadcrumbs
Chad Lantz
ZDCdigitizer
Commits
34866d8c
Commit
34866d8c
authored
4 years ago
by
ShengYang.b@gmail.com
Browse files
Options
Downloads
Patches
Plain Diff
move the event fill() before the clear
parent
304d96f8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
outputDigitization.cc
+2
-1
2 additions, 1 deletion
outputDigitization.cc
with
2 additions
and
1 deletion
outputDigitization.cc
+
2
−
1
View file @
34866d8c
...
...
@@ -470,6 +470,8 @@ void generateWaveform(string fileName, bool DRAW){
}
//end tile loop
if
(
DRAW
)
c
->
Print
(
Form
(
"event%d.png"
,
ev
)
);
outTree
->
Fill
();
//Delete all TF1 objects, clear vectors, reset histograms
for
(
int
tile
=
0
;
tile
<
16
;
tile
++
){
waveforms
[
tile
]
->
clear
();
...
...
@@ -481,7 +483,6 @@ void generateWaveform(string fileName, bool DRAW){
pulses
[
tile
].
clear
();
if
(
DRAW
)
h
[
tile
]
->
Reset
();
}
//end tile loop
outTree
->
Fill
();
}
//end event loop
cout
<<
endl
;
...
...
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