ATLAS Offline Software
IRtResolution.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCALIB_IRTRESOLUTION_H
6 #define MUONCALIB_IRTRESOLUTION_H
7 
9 
10 namespace MuonCalib {
11 
14  class IRtResolution : public CalibFunc {
15  public:
17  virtual ~IRtResolution(){};
18  virtual std::string typeName() const { return "IRtResolution"; }
19 
21  virtual double resolution(double t, double bgRate = 0.0) const = 0;
22  };
23 
24 } // namespace MuonCalib
25 
26 #endif
MuonCalib::IRtResolution::resolution
virtual double resolution(double t, double bgRate=0.0) const =0
returns resolution for a give time and background rate
MuonCalib::IRtResolution::IRtResolution
IRtResolution(const CalibFunc::ParVec &vec)
Definition: IRtResolution.h:16
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonCalib::CalibFunc::ParVec
std::vector< double > ParVec
Definition: CalibFunc.h:36
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::IRtResolution
generic interface for a resolution function
Definition: IRtResolution.h:14
MuonCalib::IRtResolution::typeName
virtual std::string typeName() const
Definition: IRtResolution.h:18
MuonCalib::IRtResolution::~IRtResolution
virtual ~IRtResolution()
Definition: IRtResolution.h:17
MuonCalib::CalibFunc
generic interface for a calibration function.
Definition: CalibFunc.h:34
CalibFunc.h