Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jérémie Dudouet
gammaware
Commits
5a15012e
Commit
5a15012e
authored
Jan 07, 2020
by
Jérémie Dudouet
Browse files
Correct type=0 in the LUT and non existing recal files
parent
ec9cb2af
Pipeline
#55656
passed with stage
in 7 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/root/gui/fipps_spy/src/FSMainWindow.cpp
src/root/gui/fipps_spy/src/FSMainWindow.cpp
+6
-1
No files found.
src/root/gui/fipps_spy/src/FSMainWindow.cpp
View file @
5a15012e
...
...
@@ -460,6 +460,7 @@ void FSMainWindow::GetLastShiftTrack()
File
=
GetStdoutFromCommand
(
Command
.
Data
());
TObjArray
*
arr
=
File
.
Tokenize
(
"/"
);
if
(
!
arr
||
!
arr
->
Last
())
return
;
File
=
arr
->
Last
()
->
GetName
();
delete
arr
;
...
...
@@ -573,7 +574,7 @@ void FSMainWindow::ReadLUT()
Int_t
clover
=
((
TString
)
loa
->
At
(
2
)
->
GetName
()).
Atoi
();
delete
loa
;
if
(
globdetid
<
0
)
continue
;
if
(
globdetid
<
0
||
type
<=
0
)
continue
;
DetDef
*
det
=
new
DetDef
;
fDetectors
[
adcval
]
=
det
;
...
...
@@ -723,6 +724,7 @@ void FSMainWindow::ReadHistograms()
Int_t
type
=
CanvasTypes
::
kUndef
;
Int_t
DetNum
=-
1
;
DetDef
*
det
=
fDetectors
[
adc
];
if
(
det
->
IsFIPPS
())
{
type
=
CanvasTypes
::
kFIPPS
;
DetNum
=
det
->
CloverId
*
4
+
det
->
Id
;
...
...
@@ -761,6 +763,9 @@ void FSMainWindow::ReadHistograms()
type
=
CanvasTypes
::
kTAC
;
DetNum
=
det
->
CloverId
;
}
else
{
continue
;
}
TString
HistName
=
Form
(
"ADC%d_%s_%d"
,
adc
,
fNames
[
type
].
Data
(),
DetNum
);
...
...
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