Commit cfaf61ca authored by Jin Zhang's avatar Jin Zhang
Browse files

suggestion to remove m_coordinate

parent c35ebaf8
......@@ -59,7 +59,6 @@ Detector::Detector(const Configuration& config) : m_role(DetectorRole::NONE) {
}
m_detectorType = config.get<std::string>("type");
m_detectorCoordinate = config.get<std::string>("coordinate");
std::transform(m_detectorType.begin(), m_detectorType.end(), m_detectorType.begin(), ::tolower);
m_timeOffset = config.get<double>("time_offset", 0.0);
if(m_timeOffset > 0.) {
......@@ -93,9 +92,6 @@ std::string Detector::name() const {
std::string Detector::type() const {
return m_detectorType;
}
std::string Detector::coordinate() const {
return m_detectorCoordinate;
}
bool Detector::isReference() const {
return static_cast<bool>(m_role & DetectorRole::REFERENCE);
......
......@@ -327,7 +327,6 @@ namespace corryvreckan {
// Detector information
std::string m_detectorType;
std::string m_detectorName;
std::string m_detectorCoordinate;
double m_timeOffset;
double m_timeResolution;
......
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