Skip to content

Commit

Permalink
Removed unused Service API from SiStripDetInfoFileReader
Browse files Browse the repository at this point in the history
Although it had the constructor like a Service, the class was
never registered to be a Service.
  • Loading branch information
Dr15Jones committed May 29, 2021
1 parent d72179d commit f7d5080
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include <string>
#include <iostream>
#include <fstream>
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "CalibFormats/SiStripObjects/interface/SiStripDetInfo.h"
#include <cstdint>

Expand All @@ -33,7 +31,6 @@ class SiStripDetInfoFileReader {
using DetInfo = SiStripDetInfo::DetInfo;

explicit SiStripDetInfoFileReader(){};
explicit SiStripDetInfoFileReader(const edm::ParameterSet&, const edm::ActivityRegistry&);

explicit SiStripDetInfoFileReader(std::string filePath);
explicit SiStripDetInfoFileReader(const SiStripDetInfoFileReader&);
Expand Down
6 changes: 0 additions & 6 deletions CalibTracker/SiStripCommon/src/SiStripDetInfoFileReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ SiStripDetInfoFileReader& SiStripDetInfoFileReader::operator=(const SiStripDetIn
return *this;
}

SiStripDetInfoFileReader::SiStripDetInfoFileReader(const edm::ParameterSet& pset, const edm::ActivityRegistry& ar) {
edm::FileInPath fp(
pset.getUntrackedParameter<std::string>("filePath", "CalibTracker/SiStripCommon/data/SiStripDetInfo.dat"));
reader(fp.fullPath());
}

SiStripDetInfoFileReader::SiStripDetInfoFileReader(const SiStripDetInfoFileReader& copy) : info_{copy.info_} {}

SiStripDetInfoFileReader::SiStripDetInfoFileReader(std::string filePath) { reader(filePath); }
Expand Down

0 comments on commit f7d5080

Please sign in to comment.