ATLAS Offline Software
Public Member Functions | List of all members
LWHistRootUtils::TH1_FieldsAccess Class Reference

#include <LWHistRootUtils.h>

Inheritance diagram for LWHistRootUtils::TH1_FieldsAccess:
Collaboration diagram for LWHistRootUtils::TH1_FieldsAccess:

Public Member Functions

double & getSumW ()
 
double & getSumW2 ()
 
double & getSumWX ()
 
double & getSumWX2 ()
 
TArrayD & getSumw2Array ()
 
double getSumW () const
 
double getSumW2 () const
 
double getSumWX () const
 
double getSumWX2 () const
 
const TArrayD & getSumw2Array () const
 
int Fill (double)
 
int Fill (double, double)
 
int Fill (const char *, double)
 
double GetBinContent (int) const
 
double GetBinContent (int, int) const
 
double GetBinContent (int, int, int) const
 
void SetBinContent (int, double)
 
void SetBinContent (int, int, double)
 
void SetBinContent (int, int, int, double)
 
void SetBinError (int, double)
 
void SetBinError (int, int, double)
 
void SetBinError (int, int, int, double)
 
void Sumw2 ()
 

Detailed Description

Definition at line 50 of file LWHistRootUtils.h.

Member Function Documentation

◆ Fill() [1/3]

int TH1::Fill ( const char *  c,
double  d 
)
inherited

Definition at line 287 of file rootspy.cxx.

288 {
289  //This is the magic way we can trigger a report from elsewhere in the code. I.e. do:
290  //(new TH1F("rootspy","",1,0,1))->Fill("rootspy_producereport",0.123456);
291  if (d==0.123456&&std::string(c)=="rootspy_producereport") {
293  return 0;
294  } else {
295  LOGCALL; return ret(((int (*)(void*,const char*,double))realaddr)(this,c,d));
296  }
297 }

◆ Fill() [2/3]

int TH1::Fill ( double  d)
inherited

Definition at line 285 of file rootspy.cxx.

285 { LOGCALL; return ret(((int (*)(void*,double))realaddr)(this,d)); }

◆ Fill() [3/3]

int TH1::Fill ( double  d1,
double  d2 
)
inherited

Definition at line 286 of file rootspy.cxx.

286 { LOGCALL; return ret(((int (*)(void*,double,double))realaddr)(this,d1,d2)); }

◆ GetBinContent() [1/3]

double TH1::GetBinContent ( int  i) const
inherited

Definition at line 298 of file rootspy.cxx.

298 { LOGCALLC; return ret(((double(*)(const void*,int))realaddr)(this,i)); }

◆ GetBinContent() [2/3]

double TH1::GetBinContent ( int  i1,
int  i2 
) const
inherited

Definition at line 299 of file rootspy.cxx.

299 { LOGCALLC; return ret(((double(*)(const void*,int,int))realaddr)(this,i1,i2)); }

◆ GetBinContent() [3/3]

double TH1::GetBinContent ( int  i1,
int  i2,
int  i3 
) const
inherited

Definition at line 300 of file rootspy.cxx.

300 { LOGCALLC; return ret(((double(*)(const void*,int,int,int))realaddr)(this,i1,i2,i3)); }

◆ getSumW() [1/2]

double& LWHistRootUtils::TH1_FieldsAccess::getSumW ( )
inline

Definition at line 52 of file LWHistRootUtils.h.

52 { return fTsumw; }

◆ getSumW() [2/2]

double LWHistRootUtils::TH1_FieldsAccess::getSumW ( ) const
inline

Definition at line 57 of file LWHistRootUtils.h.

57 { return fTsumw; }

◆ getSumW2() [1/2]

double& LWHistRootUtils::TH1_FieldsAccess::getSumW2 ( )
inline

Definition at line 53 of file LWHistRootUtils.h.

53 { return fTsumw2; }

◆ getSumW2() [2/2]

double LWHistRootUtils::TH1_FieldsAccess::getSumW2 ( ) const
inline

Definition at line 58 of file LWHistRootUtils.h.

58 { return fTsumw2; }

◆ getSumw2Array() [1/2]

TArrayD& LWHistRootUtils::TH1_FieldsAccess::getSumw2Array ( )
inline

Definition at line 56 of file LWHistRootUtils.h.

56 { return fSumw2; }

◆ getSumw2Array() [2/2]

const TArrayD& LWHistRootUtils::TH1_FieldsAccess::getSumw2Array ( ) const
inline

Definition at line 61 of file LWHistRootUtils.h.

61 { return fSumw2; }

◆ getSumWX() [1/2]

double& LWHistRootUtils::TH1_FieldsAccess::getSumWX ( )
inline

Definition at line 54 of file LWHistRootUtils.h.

54 { return fTsumwx; }

◆ getSumWX() [2/2]

double LWHistRootUtils::TH1_FieldsAccess::getSumWX ( ) const
inline

Definition at line 59 of file LWHistRootUtils.h.

59 { return fTsumwx; }

◆ getSumWX2() [1/2]

double& LWHistRootUtils::TH1_FieldsAccess::getSumWX2 ( )
inline

Definition at line 55 of file LWHistRootUtils.h.

55 { return fTsumwx2; }

◆ getSumWX2() [2/2]

double LWHistRootUtils::TH1_FieldsAccess::getSumWX2 ( ) const
inline

Definition at line 60 of file LWHistRootUtils.h.

60 { return fTsumwx2; }

◆ SetBinContent() [1/3]

void TH1::SetBinContent ( int  i,
double  d 
)
inherited

Definition at line 301 of file rootspy.cxx.

301 { LOGCALL; ((void(*)(void*,int,double))realaddr)(this,i,d);ret(); }

◆ SetBinContent() [2/3]

void TH1::SetBinContent ( int  i1,
int  i2,
double  d 
)
inherited

Definition at line 302 of file rootspy.cxx.

302 { LOGCALL; ((void(*)(void*,int,int,double))realaddr)(this,i1,i2,d);ret(); }

◆ SetBinContent() [3/3]

void TH1::SetBinContent ( int  i1,
int  i2,
int  i3,
double  d 
)
inherited

Definition at line 303 of file rootspy.cxx.

303 { LOGCALL; ((void(*)(void*,int,int,int,double))realaddr)(this,i1,i2,i3,d);ret(); }

◆ SetBinError() [1/3]

void TH1::SetBinError ( int  i,
double  d 
)
inherited

Definition at line 304 of file rootspy.cxx.

304 { LOGCALL; ((void(*)(void*,int,double))realaddr)(this,i,d);ret(); }

◆ SetBinError() [2/3]

void TH1::SetBinError ( int  i1,
int  i2,
double  d 
)
inherited

Definition at line 305 of file rootspy.cxx.

305 { LOGCALL; ((void(*)(void*,int,int,double))realaddr)(this,i1,i2,d);ret(); }

◆ SetBinError() [3/3]

void TH1::SetBinError ( int  i1,
int  i2,
int  i3,
double  d 
)
inherited

Definition at line 306 of file rootspy.cxx.

306 { LOGCALL; ((void(*)(void*,int,int,int,double))realaddr)(this,i1,i2,i3,d);ret(); }

◆ Sumw2()

void TH1::Sumw2 ( )
inherited

Definition at line 284 of file rootspy.cxx.

284 { LOGCALL; ((void (*)(void*))realaddr)(this);ret(); }

The documentation for this class was generated from the following file:
RootSpy::producereport
void producereport()
Definition: rootspy.cxx:210
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
hist_file_dump.d
d
Definition: hist_file_dump.py:137
dq_defect_virtual_defect_validation.d1
d1
Definition: dq_defect_virtual_defect_validation.py:79
lumiFormat.i
int i
Definition: lumiFormat.py:92
ret
T ret(T t)
Definition: rootspy.cxx:260
LOGCALLC
#define LOGCALLC
Definition: rootspy.cxx:247
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
LOGCALL
#define LOGCALL
Definition: rootspy.cxx:246
dq_defect_virtual_defect_validation.d2
d2
Definition: dq_defect_virtual_defect_validation.py:81
python.compressB64.c
def c
Definition: compressB64.py:93