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
66e34715
Commit
66e34715
authored
Aug 25, 2016
by
Daniel Hynds
Browse files
added check for device type during raw data reading
Former-commit-id: c4182955647d6a725bd7c9fe84fd0773e972b95e
parent
fbf88d48
Changes
1
Show whitespace changes
Inline
Side-by-side
branches/trunk/algorithms/Timepix3EventLoader.C
View file @
66e34715
...
...
@@ -49,6 +49,10 @@ void Timepix3EventLoader::initialise(Parameters* par){
// Check if this device is to be masked
if
(
parameters
->
masked
.
count
(
detectorID
)
!=
0
)
continue
;
// Check if this device has conditions loaded and is a Timepix3
if
(
parameters
->
detector
.
count
(
detectorID
)
==
0
)
continue
;
if
(
parameters
->
detector
[
detectorID
]
->
m_detectorType
!=
"Timepix3"
)
continue
;
// Get all of the files for this chip
while
(
file
=
readdir
(
dataDir
)){
string
filename
=
dataDirName
+
"/"
+
file
->
d_name
;
...
...
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