Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
fa507042
Commit
fa507042
authored
Aug 23, 2019
by
Simon Spannagel
Browse files
EventLoaderEUDAQ2: preced tag histograms with "tag"
parent
d72e7855
Pipeline
#1055073
passed with stages
in 29 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderEUDAQ2/EventLoaderEUDAQ2.cpp
View file @
fa507042
...
...
@@ -180,7 +180,7 @@ void EventLoaderEUDAQ2::retrieve_event_tags(const eudaq::EventSPC evt) {
// Check if histogram exists already, if not: create it
if
(
hTagValues
.
find
(
tag_pair
.
first
)
==
hTagValues
.
end
())
{
std
::
string
histName
=
"hTagValues_"
+
tag_pair
.
first
;
std
::
string
histTitle
=
tag_pair
.
first
+
";event / 1000;tag value"
;
std
::
string
histTitle
=
"tag_"
+
tag_pair
.
first
+
";event / 1000;tag value"
;
hTagValues
[
tag_pair
.
first
]
=
new
TProfile
(
histName
.
c_str
(),
histTitle
.
c_str
(),
2e5
,
0
,
100
);
}
hTagValues
[
tag_pair
.
first
]
->
Fill
(
evt
->
GetEventN
()
/
1000
,
value
,
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment