ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
10#ifndef LArSamples_ScaledErrorData_H
11#define LArSamples_ScaledErrorData_H
12
14
15namespace LArSamples {
16
18
19 public:
20
22 ScaledErrorData(const ShapeErrorData& sed, double scale = 1, double time = 0)
24
26 ShapeErrorData(other), m_scale(other.m_scale), m_time(other.m_time) { }
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
ScaledErrorData(const ShapeErrorData &sed, double scale=1, double time=0)
Constructor.
ScaledErrorData(const ScaledErrorData &other)
const TVectorD offsets(int first=-1, int last=-1) const
const CovMatrix errors(int first=-1, int last=-1) const
ShapeErrorData(const TVectorD &xi=TVectorD(), const TVectorD &xip=TVectorD(), const CovMatrix &xiErr=CovMatrix(), const CovMatrix &xipErr=CovMatrix(), double tbar=Definitions::none, int n=-1)
Constructor.