ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
CaloHadDMCoeffFit::FitData Class Reference

#include <CaloHadDMCoeffFit.h>

Collaboration diagram for CaloHadDMCoeffFit::FitData:

Public Member Functions

 FitData ()
 
 FitData (float the_p0, float the_s0, float the_p1, float the_s1)
 
void getInverted (float &p0inv, float &s0inv, float &p1inv, float &s1inv)
 

Public Attributes

bool isOK
 
float p0
 
float p1
 
float s0
 
float s1
 
std::string descr
 

Detailed Description

Definition at line 61 of file CaloHadDMCoeffFit.h.

Constructor & Destructor Documentation

◆ FitData() [1/2]

CaloHadDMCoeffFit::FitData::FitData ( )
inline

Definition at line 66 of file CaloHadDMCoeffFit.h.

66 : isOK(true), p0(0), p1(0), s0(0), s1(0), descr("def") {}

◆ FitData() [2/2]

CaloHadDMCoeffFit::FitData::FitData ( float  the_p0,
float  the_s0,
float  the_p1,
float  the_s1 
)
inline

Definition at line 67 of file CaloHadDMCoeffFit.h.

68  : isOK(true), p0(the_p0), p1(the_p1), s0(the_s0), s1(the_s1), descr("def") {}

Member Function Documentation

◆ getInverted()

void CaloHadDMCoeffFit::FitData::getInverted ( float &  p0inv,
float &  s0inv,
float &  p1inv,
float &  s1inv 
)
inline

Definition at line 69 of file CaloHadDMCoeffFit.h.

70  {
71  p0inv=0.0; s0inv=0.0; p1inv=0.0; s1inv=0.0;
72  if(p1!=0) {
73  p0inv = -1.0*p0/p1;
74  p1inv = 1./p1;
75  s0inv = sqrt((s0*s0)/(p1*p1) + (s1*s1)*(p0*p0)/(p1*p1*p1*p1));
76  s1inv = s1/(p1*p1);
77  }
78  }

Member Data Documentation

◆ descr

std::string CaloHadDMCoeffFit::FitData::descr

Definition at line 65 of file CaloHadDMCoeffFit.h.

◆ isOK

bool CaloHadDMCoeffFit::FitData::isOK

Definition at line 63 of file CaloHadDMCoeffFit.h.

◆ p0

float CaloHadDMCoeffFit::FitData::p0

Definition at line 64 of file CaloHadDMCoeffFit.h.

◆ p1

float CaloHadDMCoeffFit::FitData::p1

Definition at line 64 of file CaloHadDMCoeffFit.h.

◆ s0

float CaloHadDMCoeffFit::FitData::s0

Definition at line 64 of file CaloHadDMCoeffFit.h.

◆ s1

float CaloHadDMCoeffFit::FitData::s1

Definition at line 64 of file CaloHadDMCoeffFit.h.


The documentation for this class was generated from the following file:
CaloHadDMCoeffFit::FitData::p0
float p0
Definition: CaloHadDMCoeffFit.h:64
CaloHadDMCoeffFit::FitData::p1
float p1
Definition: CaloHadDMCoeffFit.h:64
CaloHadDMCoeffFit::FitData::s0
float s0
Definition: CaloHadDMCoeffFit.h:64
CaloHadDMCoeffFit::FitData::descr
std::string descr
Definition: CaloHadDMCoeffFit.h:65
CaloHadDMCoeffFit::FitData::isOK
bool isOK
Definition: CaloHadDMCoeffFit.h:63
CaloHadDMCoeffFit::FitData::s1
float s1
Definition: CaloHadDMCoeffFit.h:64