Commit 640e9586 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

EventLoaderATLASpix: removing unused parameters

parent ae0f0977
...@@ -7,22 +7,12 @@ using namespace std; ...@@ -7,22 +7,12 @@ using namespace std;
EventLoaderATLASpix::EventLoaderATLASpix(Configuration config, std::shared_ptr<Detector> detector) EventLoaderATLASpix::EventLoaderATLASpix(Configuration config, std::shared_ptr<Detector> detector)
: Module(std::move(config), detector), m_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"); 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"))); 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: // Allow reading of legacy data format using the Karlsruhe readout system:
m_legacyFormat = m_config.get<bool>("legacy_format", false); 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_clkdivendM = m_config.get<int>("clkdivend", 0.) + 1;
m_clkdivend2M = m_config.get<int>("clkdivend2", 0.) + 1; m_clkdivend2M = m_config.get<int>("clkdivend2", 0.) + 1;
......
...@@ -68,12 +68,7 @@ namespace corryvreckan { ...@@ -68,12 +68,7 @@ namespace corryvreckan {
TH1F* hPixelsOverTime; TH1F* hPixelsOverTime;
// Parameters: // Parameters:
std::vector<double> m_timewalkCorrectionFactors;
std::vector<double> m_calibrationFactors;
std::string m_inputDirectory; std::string m_inputDirectory;
std::string m_calibrationFile;
double m_startTime;
bool m_toaMode;
bool m_detectorBusy; bool m_detectorBusy;
bool m_legacyFormat; bool m_legacyFormat;
double m_clockCycle; double m_clockCycle;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment