Skip to content

Commit

Permalink
Remove unused function in PixelUnpackingRegions.cc
Browse files Browse the repository at this point in the history
This fixes a clang warning.
  • Loading branch information
Dr15Jones committed Feb 6, 2019
1 parent c2d080f commit 95cdd6c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions EventFilter/SiPixelRawToDigi/src/PixelUnpackingRegions.cc
Expand Up @@ -25,11 +25,6 @@
namespace {
bool isBPIXModule(unsigned int id) {return DetId(id).subdetId() == PixelSubdetector::PixelBarrel;}
bool isFPIXModule(unsigned int id) {return DetId(id).subdetId() == PixelSubdetector::PixelEndcap;}

inline std::ostream& operator<<(std::ostream& s, const PixelUnpackingRegions::Module& m) {
s<< (isBPIXModule(m.id) ? "BPIX " : "FPIX ") <<m.id<<" "<<m.fed<<" "<<m.phi<<" "<<m.x<<" "<<m.y<<" "<<m.z<<" "<<sqrt(std::pow(m.x,2)+std::pow(m.y,2));
return s;
}
}

PixelUnpackingRegions::PixelUnpackingRegions(const edm::ParameterSet& conf, edm::ConsumesCollector &&iC)
Expand Down

0 comments on commit 95cdd6c

Please sign in to comment.