Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CondFormats/CastorObjects -- Fix unused function warning #3454

Merged
merged 1 commit into from Apr 25, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions CondFormats/CastorObjects/src/CastorQIECoder.cc
Expand Up @@ -12,8 +12,8 @@ POOL object to store QIE coder parameters for one channel
namespace {
// pack range/capId in the plain index
unsigned index (unsigned fRange, unsigned fCapId) {return fCapId * 4 + fRange;}
unsigned range (unsigned fIndex) {return fIndex % 4;}
unsigned capId (unsigned fIndex) {return fIndex / 4;}
inline unsigned range (unsigned fIndex) {return fIndex % 4;}
inline unsigned capId (unsigned fIndex) {return fIndex / 4;}
}

float CastorQIECoder::charge (const CastorQIEShape& fShape, unsigned fAdc, unsigned fCapId) const {
Expand Down