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
ac65a353
Commit
ac65a353
authored
May 06, 2019
by
Jens Kroeger
Browse files
EventloaderEUDAQ2: renamed histogram hPixelsPerFrame to hPixelsPerEvent and changed its title
parent
e9f919a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderEUDAQ2/EventLoaderEUDAQ2.cpp
View file @
ac65a353
...
...
@@ -39,8 +39,8 @@ void EventLoaderEUDAQ2::initialise() {
title
=
"pixel raw values"
;
hPixelRawValues
=
new
TH1F
(
"hPixelRawValues"
,
title
.
c_str
(),
1024
,
0
,
1024
);
title
=
"Pixel multiplicity per frame;# pixels per
frame;# fram
es"
;
hPixelsPer
Frame
=
new
TH1F
(
"pixelsPerFrame"
,
title
.
c_str
(),
1000
,
0
,
1000
);
title
=
"Pixel multiplicity per
Corry
frame;# pixels per
event;# entri
es"
;
hPixelsPer
Event
=
new
TH1F
(
"pixelsPerFrame"
,
title
.
c_str
(),
1000
,
0
,
1000
);
title
=
";EUDAQ event start time[ns];# entries"
;
hEudaqEventStart
=
new
TH1D
(
"eudaqEventStart"
,
title
.
c_str
(),
1e6
,
0
,
1e9
);
...
...
@@ -211,7 +211,7 @@ void EventLoaderEUDAQ2::store_data(std::shared_ptr<Clipboard> clipboard, std::sh
hPixelValues
->
Fill
(
value
);
pixels
->
push_back
(
pixel
);
}
hPixelsPer
Frame
->
Fill
(
static_cast
<
int
>
(
pixels
->
size
()));
hPixelsPer
Event
->
Fill
(
static_cast
<
int
>
(
pixels
->
size
()));
}
if
(
!
pixels
->
empty
())
{
...
...
src/modules/EventLoaderEUDAQ2/EventLoaderEUDAQ2.h
View file @
ac65a353
...
...
@@ -97,7 +97,7 @@ namespace corryvreckan {
// 1D histograms
TH1F
*
hHitTimes
;
TH1F
*
hPixelRawValues
;
TH1F
*
hPixelsPer
Frame
;
TH1F
*
hPixelsPer
Event
;
TH1D
*
hEudaqEventStart
;
TH1D
*
hClipboardEventStart
;
};
...
...
Write
Preview
Supports
Markdown
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