5#ifndef MUONCALIB_RTRESOLUTIONLOOKUP_H
6#define MUONCALIB_RTRESOLUTIONLOOKUP_H
11#include "GaudiKernel/MsgStream.h"
27 MsgStream log(Athena::getMessageSvc(),
"RtResolutionLookUp");
28 log << MSG::WARNING <<
"<to few parameters>" << endmsg;
35 virtual std::string
name()
const override {
return "RtResolutionLookUp"; }
38 double resolution(
double t,
double)
const override final;
76 double reso = r1 + dr * scale;
77 return reso >= 0 ? reso : 0;
std::vector< size_t > vec
double par(unsigned int index) const
unsigned int nPar() const
std::vector< double > ParVec
Generic interface to retrieve the resolution on the drift radius as a function of the drift time.
int getBin(double t) const
int binInRtRange(double t) const
virtual unsigned int nDoF() const override final
Returns the number of degrees of freedom of the relation function.
double getRadius(int bin) const
double resolution(double t, double) const override final
returns drift radius for a given time
virtual std::string name() const override
RtResolutionLookUp(const ParVec &vec)
singleton-like access to IMessageSvc via open function and helper
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.