ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LArSamples::UniformShapeErrorGetter Class Reference

#include <UniformShapeErrorGetter.h>

Inheritance diagram for LArSamples::UniformShapeErrorGetter:
Collaboration diagram for LArSamples::UniformShapeErrorGetter:

Public Member Functions

 UniformShapeErrorGetter (double k)
 
virtual ~UniformShapeErrorGetter ()
 
ShapeErrorDatashapeErrorData (unsigned int hash, CaloGain::CaloGain gain, const Residual *toExclude=0) const
 
ShapeErrorDataphiSymShapeErrorData (short, CaloGain::CaloGain, const Residual *) const
 

Private Attributes

double m_k
 

Detailed Description

Definition at line 17 of file UniformShapeErrorGetter.h.

Constructor & Destructor Documentation

◆ UniformShapeErrorGetter()

LArSamples::UniformShapeErrorGetter::UniformShapeErrorGetter ( double  k)
inline

Definition at line 21 of file UniformShapeErrorGetter.h.

21 : m_k(k) { }

◆ ~UniformShapeErrorGetter()

virtual LArSamples::UniformShapeErrorGetter::~UniformShapeErrorGetter ( )
inlinevirtual

Definition at line 22 of file UniformShapeErrorGetter.h.

22 { }

Member Function Documentation

◆ phiSymShapeErrorData()

ShapeErrorData* LArSamples::UniformShapeErrorGetter::phiSymShapeErrorData ( short  ,
CaloGain::CaloGain  ,
const Residual  
) const
inlinevirtual

Implements LArSamples::AbsShapeErrorGetter.

Definition at line 25 of file UniformShapeErrorGetter.h.

25 { return 0; }

◆ shapeErrorData()

ShapeErrorData * UniformShapeErrorGetter::shapeErrorData ( unsigned int  hash,
CaloGain::CaloGain  gain,
const Residual toExclude = 0 
) const
virtual

Implements LArSamples::AbsShapeErrorGetter.

Definition at line 15 of file UniformShapeErrorGetter.cxx.

16 {
17  TVectorD xi(32);
18  TVectorD xip(32);
19  CovMatrix xiErr(32);
20  CovMatrix xipErr(32);
21 
22  for (unsigned int i = 0; i < 32; i++)
23  xiErr(i, i) = TMath::Power(m_k, 2);
24 
25  return new ShapeErrorData(xi, xip, xiErr, xipErr);
26 }

Member Data Documentation

◆ m_k

double LArSamples::UniformShapeErrorGetter::m_k
private

Definition at line 29 of file UniformShapeErrorGetter.h.


The documentation for this class was generated from the following files:
LArSamples::CovMatrix
TMatrixTSym< double > CovMatrix
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:11
LArSamples::UniformShapeErrorGetter::m_k
double m_k
Definition: UniformShapeErrorGetter.h:29
lumiFormat.i
int i
Definition: lumiFormat.py:85
LArSamples::ShapeErrorData
Definition: ShapeErrorData.h:19
fitman.k
k
Definition: fitman.py:528