Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
640e9586
Commit
640e9586
authored
Jan 09, 2019
by
Jens Kroeger
Browse files
EventLoaderATLASpix: removing unused parameters
parent
ae0f0977
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderATLASpix/EventLoaderATLASpix.cpp
View file @
640e9586
...
...
@@ -7,22 +7,12 @@ using namespace std;
EventLoaderATLASpix
::
EventLoaderATLASpix
(
Configuration
config
,
std
::
shared_ptr
<
Detector
>
detector
)
:
Module
(
std
::
move
(
config
),
detector
),
m_detector
(
detector
)
{
m_timewalkCorrectionFactors
=
m_config
.
getArray
<
double
>
(
"timewalk_correction_factors"
,
std
::
vector
<
double
>
());
m_inputDirectory
=
m_config
.
getPath
(
"input_directory"
);
if
(
m_config
.
has
(
"calibration_file"
))
{
m_calibrationFile
=
m_config
.
getPath
(
"calibration_file"
);
}
m_clockCycle
=
m_config
.
get
<
double
>
(
"clock_cycle"
,
static_cast
<
double
>
(
Units
::
convert
(
6.25
,
"ns"
)));
// Allow reading of legacy data format using the Karlsruhe readout system:
m_legacyFormat
=
m_config
.
get
<
bool
>
(
"legacy_format"
,
false
);
m_startTime
=
m_config
.
get
<
double
>
(
"start_time"
,
0.
);
m_toaMode
=
m_config
.
get
<
bool
>
(
"toa_mode"
,
false
);
// m_clkdivendM = m_config.get<int>("clkdivend", 0.) + 1;
m_clkdivend2M
=
m_config
.
get
<
int
>
(
"clkdivend2"
,
0.
)
+
1
;
...
...
src/modules/EventLoaderATLASpix/EventLoaderATLASpix.h
View file @
640e9586
...
...
@@ -68,12 +68,7 @@ namespace corryvreckan {
TH1F
*
hPixelsOverTime
;
// Parameters:
std
::
vector
<
double
>
m_timewalkCorrectionFactors
;
std
::
vector
<
double
>
m_calibrationFactors
;
std
::
string
m_inputDirectory
;
std
::
string
m_calibrationFile
;
double
m_startTime
;
bool
m_toaMode
;
bool
m_detectorBusy
;
bool
m_legacyFormat
;
double
m_clockCycle
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment