ATLAS Offline Software
ScaledErrorData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
10 #ifndef LArSamples_ScaledErrorData_H
11 #define LArSamples_ScaledErrorData_H
12 
14 
15 namespace LArSamples {
16 
18 
19  public:
20 
22  ScaledErrorData(const ShapeErrorData& sed, double scale = 1, double time = 0)
24 
27 
28  virtual ~ScaledErrorData() { }
29 
30  double scale() const { return m_scale; }
31  double time() const { return m_time; }
32 
33  const TVectorD offsets(int first = -1, int last = -1) const;
34  const CovMatrix errors(int first = -1, int last = -1) const;
35 
36  private:
37 
38  double m_scale, m_time;
39  };
40 }
41 
42 #endif
43 
LArSamples::ScaledErrorData::ScaledErrorData
ScaledErrorData(const ShapeErrorData &sed, double scale=1, double time=0)
Constructor
Definition: ScaledErrorData.h:22
LArSamples::ScaledErrorData::~ScaledErrorData
virtual ~ScaledErrorData()
Definition: ScaledErrorData.h:28
LArSamples::ScaledErrorData::m_time
double m_time
Definition: ScaledErrorData.h:38
LArSamples::ScaledErrorData::ScaledErrorData
ScaledErrorData(const ScaledErrorData &other)
Definition: ScaledErrorData.h:25
LArSamples::CovMatrix
TMatrixTSym< double > CovMatrix
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:11
LArSamples
Definition: AbsShape.h:24
LArSamples::ScaledErrorData
Definition: ScaledErrorData.h:17
LArSamples::ScaledErrorData::scale
double scale() const
Definition: ScaledErrorData.h:30
LArSamples::ScaledErrorData::m_scale
double m_scale
Definition: ScaledErrorData.h:38
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
DeMoScan.first
bool first
Definition: DeMoScan.py:536
ShapeErrorData.h
LArSamples::ShapeErrorData
Definition: ShapeErrorData.h:19
LArSamples::FitterData::sed
const ScaledErrorData * sed
Definition: ShapeFitter.cxx:26
LArSamples::ScaledErrorData::errors
const CovMatrix errors(int first=-1, int last=-1) const
Definition: ScaledErrorData.cxx:31
LArSamples::ScaledErrorData::time
double time() const
Definition: ScaledErrorData.h:31
LArSamples::ScaledErrorData::offsets
const TVectorD offsets(int first=-1, int last=-1) const
Definition: ScaledErrorData.cxx:14