ATLAS Offline Software
RtResolution0.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 RTRESOLUTION0_H
6 #define RTRESOLUTION0_H
7 
9 
10 namespace MuonCalib {
11 
14  class RtResolution0 : public IRtResolution {
16  virtual std::string name() const { return "RtResolution0"; }
17  static unsigned int nUsedPar() { return 0; }
18  virtual double resolution(double t, double bgRate = 0.0) const { return 1.0; }
19  };
20 
21 } // namespace MuonCalib
22 
23 #endif
MuonCalib::RtResolution0
implementation of a resolution function
Definition: RtResolution0.h:14
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::RtResolution0::resolution
virtual double resolution(double t, double bgRate=0.0) const
returns resolution for a give time and background rate
Definition: RtResolution0.h:18
IRtResolution.h
MuonCalib::RtResolution0::name
virtual std::string name() const
Definition: RtResolution0.h:16
MuonCalib::RtResolution0::RtResolution0
RtResolution0(const CalibFunc::ParVec &vec)
Definition: RtResolution0.h:15
MuonCalib::RtResolution0::nUsedPar
static unsigned int nUsedPar()
Definition: RtResolution0.h:17
MuonCalib::IRtResolution
generic interface for a resolution function
Definition: IRtResolution.h:14