ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
TProfile2D_LW Class Reference

#include <TProfile2D_LW.h>

Inheritance diagram for TProfile2D_LW:
Collaboration diagram for TProfile2D_LW:

Public Member Functions

void Fill (const double &x, const double &y, const double &z)
 
void Fill (const double &x, const double &y, const double &z, const double &w)
 
unsigned GetNbinsX () const
 
unsigned GetNbinsY () const
 
double GetBinContent (unsigned binx, unsigned biny) const
 
double GetBinError (unsigned binx, unsigned biny) const
 
void SetBinContent (unsigned binx, unsigned biny, const double &)
 
void SetBinError (unsigned binx, unsigned biny, const double &)
 
virtual unsigned GetEntries () const override
 
virtual void SetEntries (unsigned) override
 
virtual void Reset () override
 
double getXMin () const
 
double getXMax () const
 
double getYMin () const
 
double getYMax () const
 
void GetBinInfo (unsigned binx, unsigned biny, double &entries, double &content, double &error) const
 
void SetBinInfo (unsigned binx, unsigned biny, const double &entries, const double &content, const double &error)
 
void SetErrorOption (const char *option)
 
const char * GetErrorOption () const
 
void getSums (double &sumW, double &sumW2, double &sumWX, double &sumWX2, double &sumWY, double &sumWY2, double &sumWXY, double &sumWZ, double &sumWZ2) const
 
void setSums (const double &sumW, const double &sumW2, const double &sumWX, const double &sumWX2, const double &sumWY, const double &sumWY2, const double &sumWXY, const double &sumWZ, const double &sumWZ2)
 
TProfile2DgetROOTHist ()
 
virtual TH1getROOTHistBase () override
 
virtual double Integral () const override
 
void SetName (const char *)
 
void SetTitle (const char *)
 
void SetNameTitle (const char *name, const char *title)
 
const char * GetName () const
 
const char * GetTitle () const
 
LWHistAxisGetXaxis ()
 
LWHistAxisGetYaxis ()
 
LWHistAxisGetZaxis ()
 
short GetMarkerColor () const
 
short GetMarkerStyle () const
 
float GetMarkerSize () const
 
void SetMarkerColor (short c=1)
 
void SetMarkerStyle (short s=1)
 
void SetMarkerSize (float sz=1)
 
void SetXTitle (const char *)
 
void SetYTitle (const char *)
 
void SetZTitle (const char *)
 
void SetMinimum (const double &minimum=-1111)
 
void SetMaximum (const double &maximum=-1111)
 
void SetOption (const char *option=" ")
 
void setCustomData (void *data)
 
const void * getCustomData () const
 
void * getCustomData ()
 
bool usingROOTBackend () const
 
bool ownsROOTHisto () const
 
void setOwnsROOTHisto (bool b)
 

Static Public Member Functions

static TProfile2D_LWcreate (const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, unsigned nbinsy, const double &ylow, const double &yup, const char *option=" ")
 
static TProfile2D_LWcreate (const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, unsigned nbinsy, const double &ylow, const double &yup, const double &zlow, const double &zup, const char *option=" ")
 
static TProfile2D_LWcreate (const char *name, const char *title, unsigned nbinsx, const double *xbins, unsigned nbinsy, const double &ylow, const double &yup, const char *option=" ")
 
static TProfile2D_LWcreate (const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, unsigned nbinsy, const double *ybins, const char *option=" ")
 
static TProfile2D_LWcreate (const char *name, const char *title, unsigned nbinsx, const double *xbins, unsigned nbinsy, const double *ybins, const char *option=" ")
 
static void safeDelete (LWHist *)
 

Protected Member Functions

virtual bool apply (TH1 *) const
 

Protected Attributes

unsigned short m_nBytesFromPool
 

Private Member Functions

virtual void clear () override
 
virtual const TH1getROOTHistBaseNoAlloc () const override
 
virtual TH1getROOTHistBaseNoAlloc () override
 
virtual void clearKeptROOTHist () override
 
const float * getVarBinsX () const
 
const float * getVarBinsY () const
 
 TProfile2D_LW (const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const double *xbins, unsigned nbinsy, const double &ylow, const double &yup, const double *ybins, const double &zlow, const double &zup, const char *option, bool rootbackend)
 
virtual ~TProfile2D_LW ()
 
 TProfile2D_LW (const TProfile2D_LW &)
 
TProfile2D_LWoperator= (const TProfile2D_LW &)
 
virtual double actualGetBinCenterX (int bin) const override
 
virtual double actualGetBinCenterY (int) const override
 
virtual unsigned actualFindBinX (const double &) const override
 
virtual unsigned actualFindBinY (const double &) const override
 
virtual unsigned actualGetNBinsX () const override
 
virtual unsigned actualGetNBinsY () const override
 
void ensureInitDecorations ()
 

Static Private Member Functions

static TProfile2D_LWactualcreate (const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const double *xbins, unsigned nbinsy, const double &ylow, const double &yup, const double *ybins, const double &zlow, const double &zup, const char *option)
 

Private Attributes

Flex2DProfileHistom_flexHisto
 
TProfile2Dm_rootHisto
 
const bool m_usingROOTBackend
 
bool m_ownsRootHisto
 
char * m_name
 
char * m_title
 
LWHistDecorationsm_decorations
 
void * m_customData
 

Friends

class LWHistInt
 
class LWHistVal
 

Detailed Description

Definition at line 24 of file TProfile2D_LW.h.

Constructor & Destructor Documentation

◆ TProfile2D_LW() [1/2]

TProfile2D_LW::TProfile2D_LW ( const char *  name,
const char *  title,
unsigned  nbinsx,
const double &  xlow,
const double &  xup,
const double *  xbins,
unsigned  nbinsy,
const double &  ylow,
const double &  yup,
const double *  ybins,
const double &  zlow,
const double &  zup,
const char *  option,
bool  rootbackend 
)
private

Definition at line 106 of file TProfile2D_LW.cxx.

110  : LWHist(name,title,rootbackend),
111  m_flexHisto(0),
112  m_rootHisto(0)
113 {
114  //Fixme: these asserts could be in common for all binnings... [+nan
115  //checking) (check input and revert to dummy range in case of
116  //problems +emit warning).
117  assert(!xbins||(xbins[0]==xmin&&xbins[nbinsx]==xmax));
118  assert(!ybins||(ybins[0]==ymin&&ybins[nbinsy]==ymax));
119  assert(xmax>xmin);
120  assert(ymax>ymin);
121  assert(nbinsx>0);
122  assert(nbinsy>0);
123 
124  //fixme
125  if (rootbackend) {
126  if (xbins) {
127  if (ybins)
128  m_rootHisto = new TProfile2D(name,title,nbinsx,xbins,nbinsy,ybins,option);
129  else
130  m_rootHisto = new TProfile2D(name,title,nbinsx,xbins,nbinsy,ymin,ymax,option);
131  } else {
132  if (ybins)
133  m_rootHisto = new TProfile2D(name,title,nbinsx,xmin,xmax,nbinsy,ybins,option);
134  else
135  m_rootHisto = new TProfile2D(name,title,nbinsx,xmin,xmax,nbinsy,ymin,ymax,zlow,zup,option);
136  }
137  } else {
140  }
141 }

◆ ~TProfile2D_LW()

TProfile2D_LW::~TProfile2D_LW ( )
privatevirtual

Definition at line 144 of file TProfile2D_LW.cxx.

145 {
147  clear();
148  if (ownsROOTHisto())
149  delete m_rootHisto;//for root backend
150 }

◆ TProfile2D_LW() [2/2]

TProfile2D_LW::TProfile2D_LW ( const TProfile2D_LW )
private

Member Function Documentation

◆ actualcreate()

TProfile2D_LW * TProfile2D_LW::actualcreate ( const char *  name,
const char *  title,
unsigned  nbinsx,
const double &  xlow,
const double &  xup,
const double *  xbins,
unsigned  nbinsy,
const double &  ylow,
const double &  yup,
const double *  ybins,
const double &  zlow,
const double &  zup,
const char *  option 
)
staticprivate

Definition at line 89 of file TProfile2D_LW.cxx.

93 {
94  bool rootbackend(LWHistControls::hasROOTBackend());
95  TProfile2D_LW * h;
96  if (rootbackend) {
97  h = new TProfile2D_LW(name,title,nbinsx,xlow,xup,xbins,nbinsy,ylow,yup,ybins,zlow,zup,option,rootbackend);
98  } else {
99  h = MP_NEW(TProfile2D_LW)(name,title,nbinsx,xlow,xup,xbins,nbinsy,ylow,yup,ybins,zlow,zup,option,rootbackend);
100  h->m_nBytesFromPool = sizeof(TProfile2D_LW);
101  }
102  return h;
103 }

◆ actualFindBinX()

unsigned TProfile2D_LW::actualFindBinX ( const double &  x) const
overrideprivatevirtual

Implements LWHist.

Definition at line 353 of file TProfile2D_LW.cxx.

354 {
355  assert(!m_rootHisto);//Should have called the TAxis method
356  return m_flexHisto->valueToXBin(x);
357 }

◆ actualFindBinY()

unsigned TProfile2D_LW::actualFindBinY ( const double &  y) const
overrideprivatevirtual

Implements LWHist.

Definition at line 359 of file TProfile2D_LW.cxx.

360 {
361  assert(!m_rootHisto);//Should have called the TAxis method
362  return m_flexHisto->valueToYBin(y);
363 }

◆ actualGetBinCenterX()

double TProfile2D_LW::actualGetBinCenterX ( int  bin) const
overrideprivatevirtual

Implements LWHist.

Definition at line 365 of file TProfile2D_LW.cxx.

366 {
367  assert(!m_rootHisto);//Should have called the TAxis method
368  return m_flexHisto->getBinCenterX(bin);
369 }

◆ actualGetBinCenterY()

double TProfile2D_LW::actualGetBinCenterY ( int  bin) const
overrideprivatevirtual

Implements LWHist.

Definition at line 371 of file TProfile2D_LW.cxx.

372 {
373  assert(!m_rootHisto);//Should have called the TAxis method
374  return m_flexHisto->getBinCenterY(bin);
375 }

◆ actualGetNBinsX()

virtual unsigned TProfile2D_LW::actualGetNBinsX ( ) const
inlineoverrideprivatevirtual

Implements LWHist.

Definition at line 117 of file TProfile2D_LW.h.

117 { return GetNbinsX(); }

◆ actualGetNBinsY()

virtual unsigned TProfile2D_LW::actualGetNBinsY ( ) const
inlineoverrideprivatevirtual

Implements LWHist.

Definition at line 118 of file TProfile2D_LW.h.

118 { return GetNbinsY(); }

◆ apply()

bool LWHist::apply ( TH1 h) const
protectedvirtualinherited

Reimplemented in LWHist2D, and LWHist1D.

Definition at line 256 of file LWHist.cxx.

257 {
258  if (!h)
259  return false;
260  assert(!m_usingROOTBackend);
261 
262  if (!LWStrUtils::stringsEqual(h->GetTitle(),GetTitle()))
263  h->SetTitle(GetTitle());
264 
266  TAxis * a = h->GetXaxis();
267  assert(a);
269  a->SetTitle(m_decorations->m_xAxis->m_title);
270  if (m_decorations->m_xAxis->m_labelSize!=a->GetLabelSize())
271  a->SetLabelSize(m_decorations->m_xAxis->m_labelSize);
274  }
276  TAxis * a = h->GetYaxis();
277  assert(a);
279  a->SetTitle(m_decorations->m_yAxis->m_title);
280  if (m_decorations->m_yAxis->m_labelSize!=a->GetLabelSize())
281  a->SetLabelSize(m_decorations->m_yAxis->m_labelSize);
284  }
286  TAxis * a = h->GetZaxis();
287  assert(a);
289  a->SetTitle(m_decorations->m_zAxis->m_title);
290  if (m_decorations->m_zAxis->m_labelSize!=a->GetLabelSize())
291  a->SetLabelSize(m_decorations->m_zAxis->m_labelSize);
294  }
295  h->SetMarkerColor( GetMarkerColor() );
296  h->SetMarkerStyle( GetMarkerStyle() );
297  h->SetMarkerSize( GetMarkerSize() );
299  h->SetMinimum(m_decorations->m_minimum);
301  h->SetMaximum(m_decorations->m_maximum);
303  h->SetOption(m_decorations->m_option);
304 
305  return true;
306 }

◆ clear()

void TProfile2D_LW::clear ( )
overrideprivatevirtual

Reimplemented from LWHist.

Definition at line 179 of file TProfile2D_LW.cxx.

180 {
181  LWREPORT
182  LWHist::clear();
184  m_flexHisto = 0;
185 }

◆ clearKeptROOTHist()

void TProfile2D_LW::clearKeptROOTHist ( )
overrideprivatevirtual

Implements LWHist.

Definition at line 188 of file TProfile2D_LW.cxx.

189 {
191  return;
192 
193  if (m_rootHisto) {
194  if (usingROOTBackend())
195  delete m_rootHisto;
196  else
198 
199  m_rootHisto = 0;
200  }
201 }

◆ create() [1/5]

TProfile2D_LW * TProfile2D_LW::create ( const char *  name,
const char *  title,
unsigned  nbinsx,
const double &  xlow,
const double &  xup,
unsigned  nbinsy,
const double &  ylow,
const double &  yup,
const char *  option = " " 
)
static

Definition at line 32 of file TProfile2D_LW.cxx.

35 {
36  return actualcreate(name,title,
37  nbinsx,xlow,xup,0,
38  nbinsy,ylow,yup,0,
39  0.0,0.0,option);
40 }

◆ create() [2/5]

TProfile2D_LW * TProfile2D_LW::create ( const char *  name,
const char *  title,
unsigned  nbinsx,
const double &  xlow,
const double &  xup,
unsigned  nbinsy,
const double &  ylow,
const double &  yup,
const double &  zlow,
const double &  zup,
const char *  option = " " 
)
static

Definition at line 43 of file TProfile2D_LW.cxx.

47 {
48  return actualcreate(name,title,
49  nbinsx,xlow,xup,0,
50  nbinsy,ylow,yup,0,
51  zlow,zup,option);
52 }

◆ create() [3/5]

TProfile2D_LW * TProfile2D_LW::create ( const char *  name,
const char *  title,
unsigned  nbinsx,
const double &  xlow,
const double &  xup,
unsigned  nbinsy,
const double *  ybins,
const char *  option = " " 
)
static

Definition at line 66 of file TProfile2D_LW.cxx.

69 {
70  return actualcreate(name,title,
71  nbinsx,xlow,xup,0,
72  nbinsy,ybins[0],ybins[nbinsy],ybins,
73  0.0,0.0,option);
74 
75 }

◆ create() [4/5]

TProfile2D_LW * TProfile2D_LW::create ( const char *  name,
const char *  title,
unsigned  nbinsx,
const double *  xbins,
unsigned  nbinsy,
const double &  ylow,
const double &  yup,
const char *  option = " " 
)
static

Definition at line 55 of file TProfile2D_LW.cxx.

58 {
59  return actualcreate(name,title,
60  nbinsx,xbins[0],xbins[nbinsx],xbins,
61  nbinsy,ylow,yup,0,
62  0.0,0.0,option);
63 }

◆ create() [5/5]

TProfile2D_LW * TProfile2D_LW::create ( const char *  name,
const char *  title,
unsigned  nbinsx,
const double *  xbins,
unsigned  nbinsy,
const double *  ybins,
const char *  option = " " 
)
static

Definition at line 78 of file TProfile2D_LW.cxx.

81 {
82  return actualcreate(name,title,
83  nbinsx,xbins[0],xbins[nbinsx],xbins,
84  nbinsy,ybins[0],ybins[nbinsy],ybins,
85  0.0,0.0,option);
86 }

◆ ensureInitDecorations()

void LWHist::ensureInitDecorations ( )
privateinherited

Definition at line 90 of file LWHist.cxx.

91 {
92  if (!m_decorations)
93  m_decorations = usingROOTBackend() ? new LWHistDecorations : MP_NEW(LWHistDecorations);
94 }

◆ Fill() [1/2]

void TProfile2D_LW::Fill ( const double &  x,
const double &  y,
const double &  z 
)

Definition at line 246 of file TProfile2D_LW.cxx.

247 {
249  if (m_rootHisto)
250  m_rootHisto->Fill(x,y,z);
251  else
252  m_flexHisto->fill(x,y,z);
253 }

◆ Fill() [2/2]

void TProfile2D_LW::Fill ( const double &  x,
const double &  y,
const double &  z,
const double &  w 
)

Definition at line 255 of file TProfile2D_LW.cxx.

256 {
258  if (m_rootHisto)
259  m_rootHisto->Fill(x,y,z,w);
260  else
261  m_flexHisto->fill(x,y,z,w);
262 }

◆ GetBinContent()

double TProfile2D_LW::GetBinContent ( unsigned  binx,
unsigned  biny 
) const

Definition at line 267 of file TProfile2D_LW.cxx.

267 { LWCOUNTCALL;return CALL(GetBinContent(binx,biny),getBinContent(binx,biny)); }

◆ GetBinError()

double TProfile2D_LW::GetBinError ( unsigned  binx,
unsigned  biny 
) const

Definition at line 268 of file TProfile2D_LW.cxx.

268 { LWCOUNTCALL;return CALL(GetBinError(binx,biny),getBinError(binx,biny)); }

◆ GetBinInfo()

void TProfile2D_LW::GetBinInfo ( unsigned  binx,
unsigned  biny,
double &  entries,
double &  content,
double &  error 
) const

Definition at line 329 of file TProfile2D_LW.cxx.

330 {
331  LWCOUNTCALL;
332  if (m_rootHisto) {
333  entries = m_rootHisto->GetBinEntries( biny * (m_rootHisto->GetNbinsX()+2) + binx);
334  content = m_rootHisto->GetBinContent(binx,biny);
335  error = m_rootHisto->GetBinError(binx,biny);
336  } else {
338  }
339 }

◆ getCustomData() [1/2]

void* LWHist::getCustomData ( )
inlineinherited

Definition at line 71 of file LWHist.h.

71 { return m_customData; }

◆ getCustomData() [2/2]

const void* LWHist::getCustomData ( ) const
inlineinherited

Definition at line 70 of file LWHist.h.

70 { return m_customData; }

◆ GetEntries()

unsigned TProfile2D_LW::GetEntries ( ) const
overridevirtual

Implements LWHist.

Definition at line 272 of file TProfile2D_LW.cxx.

273 {
274  if (m_rootHisto)
275  return static_cast<unsigned>(m_rootHisto->GetEntries());
276  else
277  return m_flexHisto->getEntries();
278 }

◆ GetErrorOption()

const char * TProfile2D_LW::GetErrorOption ( ) const

Definition at line 217 of file TProfile2D_LW.cxx.

217 { return CALL(GetErrorOption(),getErrorOptionAsString()); }

◆ GetMarkerColor()

short LWHist::GetMarkerColor ( ) const
inherited

Definition at line 96 of file LWHist.cxx.

97 {
98  const TH1 * hroot= getROOTHistBaseNoAlloc();
99  if (hroot)
100  return hroot->GetMarkerColor();
101 
103 }

◆ GetMarkerSize()

float LWHist::GetMarkerSize ( ) const
inherited

Definition at line 113 of file LWHist.cxx.

114 {
115  const TH1 * hroot= getROOTHistBaseNoAlloc();
116  if (hroot)
117  return hroot->GetMarkerSize();
119 }

◆ GetMarkerStyle()

short LWHist::GetMarkerStyle ( ) const
inherited

Definition at line 105 of file LWHist.cxx.

106 {
107  const TH1 * hroot= getROOTHistBaseNoAlloc();
108  if (hroot)
109  return hroot->GetMarkerStyle();
111 }

◆ GetName()

const char * LWHist::GetName ( ) const
inherited

Definition at line 366 of file LWHist.cxx.

367 {
368  const TH1 * hroot = getROOTHistBaseNoAlloc();
369  return hroot ? hroot->GetName() : m_name;
370 }

◆ GetNbinsX()

unsigned TProfile2D_LW::GetNbinsX ( ) const

Definition at line 264 of file TProfile2D_LW.cxx.

264 { return CALL(GetNbinsX(),getNBinsX()); }

◆ GetNbinsY()

unsigned TProfile2D_LW::GetNbinsY ( ) const

Definition at line 265 of file TProfile2D_LW.cxx.

265 { return CALL(GetNbinsY(),getNBinsY()); }

◆ getROOTHist()

TProfile2D * TProfile2D_LW::getROOTHist ( )

Definition at line 162 of file TProfile2D_LW.cxx.

163 {
164  if (!m_rootHisto) {
166  if (!apply(h))
167  assert(false);
168  double stats[9];
169  getSums(stats[0],stats[1],stats[2],stats[3],stats[4],stats[5],stats[6],stats[7],stats[8]);
170  h->PutStats(stats);
172  clear();
173  m_rootHisto = h;
174  }
175  return m_rootHisto;
176 }

◆ getROOTHistBase()

TH1 * TProfile2D_LW::getROOTHistBase ( )
overridevirtual

Implements LWHist.

Definition at line 161 of file TProfile2D_LW.cxx.

161 { return getROOTHist(); }

◆ getROOTHistBaseNoAlloc() [1/2]

const TH1 * TProfile2D_LW::getROOTHistBaseNoAlloc ( ) const
overrideprivatevirtual

Implements LWHist.

Definition at line 153 of file TProfile2D_LW.cxx.

154 {
155  return m_rootHisto;
156 }

◆ getROOTHistBaseNoAlloc() [2/2]

TH1 * TProfile2D_LW::getROOTHistBaseNoAlloc ( )
overrideprivatevirtual

Implements LWHist.

Definition at line 157 of file TProfile2D_LW.cxx.

158 {
159  return m_rootHisto;
160 }

◆ getSums()

void TProfile2D_LW::getSums ( double &  sumW,
double &  sumW2,
double &  sumWX,
double &  sumWX2,
double &  sumWY,
double &  sumWY2,
double &  sumWXY,
double &  sumWZ,
double &  sumWZ2 
) const

Definition at line 281 of file TProfile2D_LW.cxx.

286 {
287  if (m_rootHisto) {
288  sumW = LWHistRootUtils::getSumW(m_rootHisto);
289  sumW2 = LWHistRootUtils::getSumW2(m_rootHisto);
290  sumWX = LWHistRootUtils::getSumWX(m_rootHisto);
291  sumWX2 = LWHistRootUtils::getSumWX2(m_rootHisto);
292  sumWY = LWHistRootUtils::getSumWY(m_rootHisto);
293  sumWY2 = LWHistRootUtils::getSumWY2(m_rootHisto);
294  sumWXY = LWHistRootUtils::getSumWXY(m_rootHisto);
295  sumWZ = LWHistRootUtils::getSumWZ(m_rootHisto);
296  sumWZ2 = LWHistRootUtils::getSumWZ2(m_rootHisto);
297  } else {
298  sumW = m_flexHisto->getSumW(); sumW2 = m_flexHisto->getSumW2();
299  sumWX = m_flexHisto->getSumWX(); sumWX2 = m_flexHisto->getSumWX2();
300  sumWY = m_flexHisto->getSumWY(); sumWY2 = m_flexHisto->getSumWY2();
301  sumWXY = m_flexHisto->getSumWXY();
302  sumWZ = m_flexHisto->getSumWProfPar(); sumWZ2 = m_flexHisto->getSumWProfPar2();
303  }
304 }

◆ GetTitle()

const char * LWHist::GetTitle ( ) const
inherited

Definition at line 372 of file LWHist.cxx.

373 {
374  const TH1 * hroot = getROOTHistBaseNoAlloc();
375  return hroot ? hroot->GetTitle() : m_title;
376 }

◆ getVarBinsX()

const float * TProfile2D_LW::getVarBinsX ( ) const
private

Definition at line 377 of file TProfile2D_LW.cxx.

378 {
379  assert(!m_rootHisto);
380  return m_flexHisto->getVarBinsX();
381 }

◆ getVarBinsY()

const float * TProfile2D_LW::getVarBinsY ( ) const
private

Definition at line 383 of file TProfile2D_LW.cxx.

384 {
385  assert(!m_rootHisto);
386  return m_flexHisto->getVarBinsY();
387 }

◆ GetXaxis()

LWHist::LWHistAxis * LWHist::GetXaxis ( )
inherited

Definition at line 309 of file LWHist.cxx.

310 {
311  this->ensureInitDecorations();
312  if (!m_decorations->m_xAxis)
313  this->m_decorations->m_xAxis = usingROOTBackend() ? new LWHistAxis(this) : MP_NEW(LWHistAxis)(this);
314 
315  return m_decorations->m_xAxis;
316 }

◆ getXMax()

double TProfile2D_LW::getXMax ( ) const

Definition at line 226 of file TProfile2D_LW.cxx.

227 {
228  if (m_rootHisto)
229  return std::as_const(m_rootHisto)->GetXaxis()->GetXmax();
230  return m_flexHisto->getXMax();
231 }

◆ getXMin()

double TProfile2D_LW::getXMin ( ) const

Definition at line 219 of file TProfile2D_LW.cxx.

220 {
221  if (m_rootHisto)
222  return std::as_const(m_rootHisto)->GetXaxis()->GetXmin();
223  return m_flexHisto->getXMin();
224 }

◆ GetYaxis()

LWHist::LWHistAxis * LWHist::GetYaxis ( )
inherited

Definition at line 319 of file LWHist.cxx.

320 {
321  this->ensureInitDecorations();
322  if (!m_decorations->m_yAxis)
323  this->m_decorations->m_yAxis = usingROOTBackend() ? new LWHistAxis(this) : MP_NEW(LWHistAxis)(this);
324  return m_decorations->m_yAxis;
325 }

◆ getYMax()

double TProfile2D_LW::getYMax ( ) const

Definition at line 239 of file TProfile2D_LW.cxx.

240 {
241  if (m_rootHisto)
242  return std::as_const(m_rootHisto)->GetYaxis()->GetXmax();
243  return m_flexHisto->getYMax();
244 }

◆ getYMin()

double TProfile2D_LW::getYMin ( ) const

Definition at line 232 of file TProfile2D_LW.cxx.

233 {
234  if (m_rootHisto)
235  return std::as_const(m_rootHisto)->GetYaxis()->GetXmin();
236  return m_flexHisto->getYMin();
237 }

◆ GetZaxis()

LWHist::LWHistAxis * LWHist::GetZaxis ( )
inherited

Definition at line 328 of file LWHist.cxx.

329 {
330  this->ensureInitDecorations();
331  if (!m_decorations->m_zAxis)
332  this->m_decorations->m_zAxis = usingROOTBackend() ? new LWHistAxis(this) : MP_NEW(LWHistAxis)(this);
333  return m_decorations->m_zAxis;
334 }

◆ Integral()

double TProfile2D_LW::Integral ( ) const
overridevirtual

Implements LWHist.

Definition at line 328 of file TProfile2D_LW.cxx.

328 { return CALL(Integral(),integral()); }

◆ operator=()

TProfile2D_LW& TProfile2D_LW::operator= ( const TProfile2D_LW )
private

◆ ownsROOTHisto()

bool LWHist::ownsROOTHisto ( ) const
inlineinherited

Definition at line 74 of file LWHist.h.

74 { return m_ownsRootHisto; }

◆ Reset()

void TProfile2D_LW::Reset ( )
overridevirtual

Implements LWHist.

Definition at line 204 of file TProfile2D_LW.cxx.

205 {
206  if (m_rootHisto) {
207  m_rootHisto->Reset();
208  return;
209  }
210  if (m_flexHisto) {
211  LWREPORT
212  m_flexHisto->reset();
213  }
214 }

◆ safeDelete()

void LWHist::safeDelete ( LWHist h)
staticinherited

Definition at line 30 of file LWHist.cxx.

31 {
32  if (!h) {
33  //std::cout<<"LWHist::safeDelete ERROR: Called with null pointer!"<<std::endl;
34  return;
35  }
36  if (h->m_nBytesFromPool) {
37  h->~LWHist();
38  LWPools::release(reinterpret_cast<char*>(h),h->m_nBytesFromPool);
40  std::cout<<"LWHists INFO: Last active histogram deleted. Triggering complete pool cleanup."<<std::endl;
42  }
43  } else {
44  delete h;
45  }
46 }

◆ SetBinContent()

void TProfile2D_LW::SetBinContent ( unsigned  binx,
unsigned  biny,
const double &  c 
)

Definition at line 270 of file TProfile2D_LW.cxx.

270 { LWCOUNTCALL;CALL(SetBinContent(binx,biny,c),setBinContent(binx,biny,c)); }

◆ SetBinError()

void TProfile2D_LW::SetBinError ( unsigned  binx,
unsigned  biny,
const double &  e 
)

Definition at line 271 of file TProfile2D_LW.cxx.

271 { LWCOUNTCALL;CALL(SetBinError(binx,biny,e),setBinError(binx,biny,e)); }

◆ SetBinInfo()

void TProfile2D_LW::SetBinInfo ( unsigned  binx,
unsigned  biny,
const double &  entries,
const double &  content,
const double &  error 
)

Definition at line 341 of file TProfile2D_LW.cxx.

342 {
343  LWCOUNTCALL;
344  if (m_rootHisto) {
345  m_rootHisto->SetBinEntries(biny * (m_rootHisto->GetNbinsX()+2) + binx,entries);
346  m_rootHisto->SetBinContent(binx,biny,content);
347  m_rootHisto->SetBinError(binx,biny,error);
348  } else {
350  }
351 }

◆ setCustomData()

void LWHist::setCustomData ( void *  data)
inlineinherited

Definition at line 69 of file LWHist.h.

69 { m_customData = data; }

◆ SetEntries()

void TProfile2D_LW::SetEntries ( unsigned  n)
overridevirtual

Implements LWHist.

Definition at line 279 of file TProfile2D_LW.cxx.

279 { CALL(SetEntries(n),setEntries(n)); }

◆ SetErrorOption()

void TProfile2D_LW::SetErrorOption ( const char *  option)

Definition at line 216 of file TProfile2D_LW.cxx.

216 { CALL(SetErrorOption(option),setErrorOptionFromString(option)); }

◆ SetMarkerColor()

void LWHist::SetMarkerColor ( short  c = 1)
inherited

Definition at line 121 of file LWHist.cxx.

122 {
123  TH1 * hroot= getROOTHistBaseNoAlloc();
124  if (hroot) {
125  hroot->SetMarkerColor(c);
126  return;
127  }
129  return;
132 }

◆ SetMarkerSize()

void LWHist::SetMarkerSize ( float  sz = 1)
inherited

Definition at line 150 of file LWHist.cxx.

150  {
151  TH1 * hroot= getROOTHistBaseNoAlloc();
152  if (hroot) {
153  hroot->SetMarkerSize(sz);
154  return;
155  }
157  return;
160 }

◆ SetMarkerStyle()

void LWHist::SetMarkerStyle ( short  s = 1)
inherited

Definition at line 133 of file LWHist.cxx.

134 {
135  TH1 * hroot= getROOTHistBaseNoAlloc();
136  if (hroot) {
137  hroot->SetMarkerStyle(s);
138  assert(GetMarkerStyle()==s);
139  return;
140  }
142  assert(GetMarkerStyle()==s);
143  return;
144  }
147  assert(GetMarkerStyle()==s);
148 }

◆ SetMaximum()

void LWHist::SetMaximum ( const double &  maximum = -1111)
inherited

Definition at line 175 of file LWHist.cxx.

176 {
177  TH1 * hroot= getROOTHistBaseNoAlloc();
178  if (hroot) {
179  hroot->SetMaximum(m);
180  return;
181  }
182  if (!m_decorations&&fabs(m-DEFAULT_MAXIMUM)<1.0e-5)
183  return;
186 }

◆ SetMinimum()

void LWHist::SetMinimum ( const double &  minimum = -1111)
inherited

Definition at line 162 of file LWHist.cxx.

163 {
164  TH1 * hroot= getROOTHistBaseNoAlloc();
165  if (hroot) {
166  hroot->SetMinimum(m);
167  return;
168  }
169  if (!m_decorations&&fabs(m-DEFAULT_MINIMUM)<1.0e-5)
170  return;
173 }

◆ SetName()

void LWHist::SetName ( const char *  n)
inherited

Definition at line 222 of file LWHist.cxx.

223 {
224  TH1 * hroot= getROOTHistBaseNoAlloc();
225  if (hroot) {
226  hroot->SetName(n);
227  return;
228  }
230 }

◆ SetNameTitle()

void LWHist::SetNameTitle ( const char *  name,
const char *  title 
)
inherited

Definition at line 244 of file LWHist.cxx.

245 {
246  TH1 * hroot= getROOTHistBaseNoAlloc();
247  if (hroot) {
248  hroot->SetNameTitle(n,t);
249  return;
250  }
253 }

◆ SetOption()

void LWHist::SetOption ( const char *  option = " ")
inherited

Definition at line 460 of file LWHist.cxx.

461 {
462  TH1 * hroot= getROOTHistBaseNoAlloc();
463  if (hroot) {
464  hroot->SetOption(option);
465  return;
466  }
469 }

◆ setOwnsROOTHisto()

void LWHist::setOwnsROOTHisto ( bool  b)
inlineinherited

Definition at line 75 of file LWHist.h.

75 { m_ownsRootHisto = b; }

◆ setSums()

void TProfile2D_LW::setSums ( const double &  sumW,
const double &  sumW2,
const double &  sumWX,
const double &  sumWX2,
const double &  sumWY,
const double &  sumWY2,
const double &  sumWXY,
const double &  sumWZ,
const double &  sumWZ2 
)

Definition at line 306 of file TProfile2D_LW.cxx.

311 {
312  assert(false);
313  if (m_rootHisto) {
314  LWHistRootUtils::setSumW(m_rootHisto,sumW);
315  LWHistRootUtils::setSumW2(m_rootHisto,sumW2);
316  LWHistRootUtils::setSumWX(m_rootHisto,sumWX);
317  LWHistRootUtils::setSumWX2(m_rootHisto,sumWX2);
318  LWHistRootUtils::setSumWY(m_rootHisto,sumWY);
319  LWHistRootUtils::setSumWY2(m_rootHisto,sumWY2);
320  LWHistRootUtils::setSumWXY(m_rootHisto,sumWXY);
321  assert(false);
322  LWHistRootUtils::setSumWZ(m_rootHisto,sumWZ);
323  LWHistRootUtils::setSumWZ2(m_rootHisto,sumWZ2);
324  } else {
325  m_flexHisto->setSums(sumW,sumW2,sumWX,sumWX2,sumWY,sumWY2,sumWXY,sumWZ,sumWZ2);
326  }
327 }

◆ SetTitle()

void LWHist::SetTitle ( const char *  t)
inherited

Definition at line 233 of file LWHist.cxx.

234 {
235  TH1 * hroot= getROOTHistBaseNoAlloc();
236  if (hroot) {
237  hroot->SetTitle(t);
238  return;
239  }
241 }

◆ SetXTitle()

void LWHist::SetXTitle ( const char *  t)
inherited

Definition at line 431 of file LWHist.cxx.

432 {
433  TH1 * hroot= getROOTHistBaseNoAlloc();
434  if (hroot) {
435  hroot->SetXTitle(t);
436  return;
437  }
438  GetXaxis()->SetTitle(t);
439 }

◆ SetYTitle()

void LWHist::SetYTitle ( const char *  t)
inherited

Definition at line 440 of file LWHist.cxx.

441 {
442  TH1 * hroot= getROOTHistBaseNoAlloc();
443  if (hroot) {
444  hroot->SetYTitle(t);
445  return;
446  }
447  GetYaxis()->SetTitle(t);
448 }

◆ SetZTitle()

void LWHist::SetZTitle ( const char *  t)
inherited

Definition at line 449 of file LWHist.cxx.

450 {
451  TH1 * hroot= getROOTHistBaseNoAlloc();
452  if (hroot) {
453  hroot->SetZTitle(t);
454  return;
455  }
456  GetZaxis()->SetTitle(t);
457 }

◆ usingROOTBackend()

bool LWHist::usingROOTBackend ( ) const
inlineinherited

Definition at line 73 of file LWHist.h.

73 { return m_usingROOTBackend; }

Friends And Related Function Documentation

◆ LWHistInt

friend class LWHistInt
friend

Definition at line 90 of file TProfile2D_LW.h.

◆ LWHistVal

friend class LWHistVal
friend

Definition at line 91 of file TProfile2D_LW.h.

Member Data Documentation

◆ m_customData

void* LWHist::m_customData
privateinherited

Definition at line 103 of file LWHist.h.

◆ m_decorations

LWHistDecorations* LWHist::m_decorations
privateinherited

Definition at line 102 of file LWHist.h.

◆ m_flexHisto

Flex2DProfileHisto* TProfile2D_LW::m_flexHisto
private

Definition at line 111 of file TProfile2D_LW.h.

◆ m_name

char* LWHist::m_name
privateinherited

Definition at line 99 of file LWHist.h.

◆ m_nBytesFromPool

unsigned short LWHist::m_nBytesFromPool
protectedinherited

Definition at line 91 of file LWHist.h.

◆ m_ownsRootHisto

bool LWHist::m_ownsRootHisto
privateinherited

Definition at line 95 of file LWHist.h.

◆ m_rootHisto

TProfile2D* TProfile2D_LW::m_rootHisto
private

Definition at line 112 of file TProfile2D_LW.h.

◆ m_title

char* LWHist::m_title
privateinherited

Definition at line 100 of file LWHist.h.

◆ m_usingROOTBackend

const bool LWHist::m_usingROOTBackend
privateinherited

Definition at line 94 of file LWHist.h.


The documentation for this class was generated from the following files:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
LWCOUNTCALL
#define LWCOUNTCALL
Definition: TProfile2D_LW.cxx:27
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LWHist::GetZaxis
LWHistAxis * GetZaxis()
Definition: LWHist.cxx:328
TProfile2D_LW::GetBinError
double GetBinError(unsigned binx, unsigned biny) const
Definition: TProfile2D_LW.cxx:268
ymin
double ymin
Definition: listroot.cxx:63
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
fitman.sz
sz
Definition: fitman.py:527
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
LWHist::m_ownsRootHisto
bool m_ownsRootHisto
Definition: LWHist.h:95
integral
double integral(TH1 *h)
Definition: computils.cxx:57
LWHist::ensureInitDecorations
void ensureInitDecorations()
Definition: LWHist.cxx:90
DEFAULT_MAXIMUM
#define DEFAULT_MAXIMUM
Definition: LWHist.cxx:52
Flex2DProfileHisto::getSumWY
double getSumWY() const
Definition: Flex2DProfileHisto.h:74
Flex2DProfileHisto::valueToYBin
unsigned valueToYBin(const double &y) const
Flex2DProfileHisto::getSumW2
double getSumW2() const
Definition: Flex2DProfileHisto.h:71
Flex2DProfileHisto::getXMax
double getXMax() const
Definition: Flex2DProfileHisto.h:39
LWHist::GetMarkerSize
float GetMarkerSize() const
Definition: LWHist.cxx:113
TProfile2D
Definition: rootspy.cxx:531
TProfile2D_LW::TProfile2D_LW
TProfile2D_LW(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const double *xbins, unsigned nbinsy, const double &ylow, const double &yup, const double *ybins, const double &zlow, const double &zup, const char *option, bool rootbackend)
Definition: TProfile2D_LW.cxx:106
TProfile2D_LW::GetBinContent
double GetBinContent(unsigned binx, unsigned biny) const
Definition: TProfile2D_LW.cxx:267
PixelAthClusterMonAlgCfg.ybins
ybins
Definition: PixelAthClusterMonAlgCfg.py:163
Flex2DProfileHisto::getSumWX2
double getSumWX2() const
Definition: Flex2DProfileHisto.h:73
bin
Definition: BinsDiffFromStripMedian.h:43
LWStrUtils::stringsEqual
static bool stringsEqual(const char *c1, const char *c2)
Definition: LWStrUtils.h:79
TProfile2D_LW::Integral
virtual double Integral() const override
Definition: TProfile2D_LW.cxx:328
LWPools::release
static void release(char *, unsigned length)
LWHist::ownsROOTHisto
bool ownsROOTHisto() const
Definition: LWHist.h:74
Flex2DProfileHisto::getSumWProfPar2
double getSumWProfPar2() const
Definition: Flex2DProfileHisto.h:78
TProfile2D_LW::actualcreate
static TProfile2D_LW * actualcreate(const char *name, const char *title, unsigned nbinsx, const double &xlow, const double &xup, const double *xbins, unsigned nbinsy, const double &ylow, const double &yup, const double *ybins, const double &zlow, const double &zup, const char *option)
Definition: TProfile2D_LW.cxx:89
DEFAULT_MINIMUM
#define DEFAULT_MINIMUM
Definition: LWHist.cxx:51
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DEFAULT_MARKERSIZE
#define DEFAULT_MARKERSIZE
Definition: LWHist.cxx:48
LWHist::LWHistDecorations::m_markerStyle
short m_markerStyle
Definition: LWHist.cxx:81
trigbs_dumpHLTContentInBS.stats
stats
Definition: trigbs_dumpHLTContentInBS.py:91
TProfile2D_LW::SetEntries
virtual void SetEntries(unsigned) override
Definition: TProfile2D_LW.cxx:279
LWHist::LWHistDecorations::m_xAxis
LWHist::LWHistAxis * m_xAxis
Definition: LWHist.cxx:74
x
#define x
Flex2DProfileHisto::getSumWProfPar
double getSumWProfPar() const
Definition: Flex2DProfileHisto.h:77
Flex2DProfileHisto::getXMin
double getXMin() const
Definition: Flex2DProfileHisto.h:38
LWHist::LWHistDecorations::m_yAxis
LWHist::LWHistAxis * m_yAxis
Definition: LWHist.cxx:75
Flex2DProfileHisto::getVarBinsX
const float * getVarBinsX() const
Definition: Flex2DProfileHisto.h:43
LWHist::GetMarkerColor
short GetMarkerColor() const
Definition: LWHist.cxx:96
LWHist::GetXaxis
LWHistAxis * GetXaxis()
Definition: LWHist.cxx:309
TProfile2D_LW::m_flexHisto
Flex2DProfileHisto * m_flexHisto
Definition: TProfile2D_LW.h:111
grepfile.content
string content
Definition: grepfile.py:56
LWHist::usingROOTBackend
bool usingROOTBackend() const
Definition: LWHist.h:73
LWHist::GetTitle
const char * GetTitle() const
Definition: LWHist.cxx:372
CALL
#define CALL(x, y)
Definition: TProfile2D_LW.cxx:22
Flex2DProfileHisto::getSumWX
double getSumWX() const
Definition: Flex2DProfileHisto.h:72
LWHist::LWHistDecorations::m_markerColor
short m_markerColor
Definition: LWHist.cxx:80
LWHist::m_customData
void * m_customData
Definition: LWHist.h:103
MP_NEW
#define MP_NEW(Class)
Definition: LWPools.h:26
Flex2DProfileHisto::valueToXBin
unsigned valueToXBin(const double &x) const
LWHist::LWHistAxis::m_title
char * m_title
Definition: LWHist.h:133
LWHist::LWHistAxis::SetTitle
void SetTitle(const char *)
Definition: LWHist.cxx:359
xmin
double xmin
Definition: listroot.cxx:60
z
#define z
Flex2DProfileHisto::getSumWXY
double getSumWXY() const
Definition: Flex2DProfileHisto.h:76
beamspotman.n
n
Definition: beamspotman.py:731
extractSporadic.h
list h
Definition: extractSporadic.py:97
covarianceTool.title
title
Definition: covarianceTool.py:542
LWHist::LWHist
LWHist(const char *name, const char *title, bool rootbackend)
Definition: LWHist.cxx:189
TProfile2D::Fill
int Fill(double, double, double)
Definition: rootspy.cxx:541
TProfile2D_LW::clear
virtual void clear() override
Definition: TProfile2D_LW.cxx:179
LWREPORT
#define LWREPORT
Definition: TProfile2D_LW.cxx:28
TProfile2D_LW::SetBinError
void SetBinError(unsigned binx, unsigned biny, const double &)
Definition: TProfile2D_LW.cxx:271
LWHistControls::hasROOTBackend
static bool hasROOTBackend()
Definition: LWHistControls.cxx:47
LWHist::m_name
char * m_name
Definition: LWHist.h:99
TProfile2D_LW::m_rootHisto
TProfile2D * m_rootHisto
Definition: TProfile2D_LW.h:112
LWHist::LWHistDecorations::m_minimum
float m_minimum
Definition: LWHist.cxx:77
Flex2DProfileHisto::reset
void reset()
DEFAULT_MARKERSTYLE
#define DEFAULT_MARKERSTYLE
Definition: LWHist.cxx:50
LWStrUtils::setStringFromInput
static void setStringFromInput(const char *input, char *&target)
Definition: LWStrUtils.h:58
TProfile2D_LW::getSums
void getSums(double &sumW, double &sumW2, double &sumWX, double &sumWX2, double &sumWY, double &sumWY2, double &sumWXY, double &sumWZ, double &sumWZ2) const
Definition: TProfile2D_LW.cxx:281
Flex2DProfileHisto::getSumWY2
double getSumWY2() const
Definition: Flex2DProfileHisto.h:75
LWHist::m_usingROOTBackend
const bool m_usingROOTBackend
Definition: LWHist.h:94
TProfile2D_LW::GetNbinsY
unsigned GetNbinsY() const
Definition: TProfile2D_LW.cxx:265
LWHistControls::cleanupOnGetROOT
static bool cleanupOnGetROOT()
Definition: LWHistControls.cxx:35
TProfile2D_LW::GetErrorOption
const char * GetErrorOption() const
Definition: TProfile2D_LW.cxx:217
Flex2DProfileHisto::getYMin
double getYMin() const
Definition: Flex2DProfileHisto.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TProfile2D_LW::clearKeptROOTHist
virtual void clearKeptROOTHist() override
Definition: TProfile2D_LW.cxx:188
LWHistControls::releaseAllHeldMemory
static void releaseAllHeldMemory()
Definition: LWHistControls.cxx:41
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
Flex2DProfileHisto::getSumW
double getSumW() const
Definition: Flex2DProfileHisto.h:70
LWHist::clear
virtual void clear()
Definition: LWHist.cxx:474
TProfile2D::GetBinContent
double GetBinContent(int) const
Definition: rootspy.cxx:546
TProfile2D_LW
Definition: TProfile2D_LW.h:24
LWHist::m_title
char * m_title
Definition: LWHist.h:100
Flex2DProfileHisto::setSums
void setSums(const double &sumW, const double &sumW2, const double &sumWX, const double &sumWX2, const double &sumWY, const double &sumWY2, const double &sumWXY, const double &sumWProfPar, const double &sumWProfPar2)
TProfile2D_LW::SetErrorOption
void SetErrorOption(const char *option)
Definition: TProfile2D_LW.cxx:216
LArCellBinning.xbins
int xbins
Definition: LArCellBinning.py:163
TProfile2D_LW::GetNbinsX
unsigned GetNbinsX() const
Definition: TProfile2D_LW.cxx:264
LWHist::LWHistAxis::m_labelSize
float m_labelSize
Definition: LWHist.h:132
TProfile2D_LW::SetBinContent
void SetBinContent(unsigned binx, unsigned biny, const double &)
Definition: TProfile2D_LW.cxx:270
Flex2DProfileHisto::getBinInfo
void getBinInfo(unsigned binx, unsigned biny, double &entries, double &content, double &error) const
a
TList * a
Definition: liststreamerinfos.cxx:10
y
#define y
h
DEFAULT_MARKERCOLOR
#define DEFAULT_MARKERCOLOR
Definition: LWHist.cxx:49
Flex2DProfileHisto::getEntries
unsigned getEntries() const
LWHist::LWHistDecorations::m_markerSize
float m_markerSize
Definition: LWHist.cxx:79
LWHist::apply
virtual bool apply(TH1 *) const
Definition: LWHist.cxx:256
Flex2DProfileHisto::getBinCenterX
double getBinCenterX(int bin) const
TH1
Definition: rootspy.cxx:268
LWHist::getROOTHistBaseNoAlloc
virtual const TH1 * getROOTHistBaseNoAlloc() const =0
LWHist::LWHistDecorations::m_zAxis
LWHist::LWHistAxis * m_zAxis
Definition: LWHist.cxx:76
Flex2DProfileHisto::getYMax
double getYMax() const
Definition: Flex2DProfileHisto.h:41
LWHist::LWHistDecorations::m_maximum
float m_maximum
Definition: LWHist.cxx:78
LWHist::m_decorations
LWHistDecorations * m_decorations
Definition: LWHist.h:101
xmax
double xmax
Definition: listroot.cxx:61
entries
double entries
Definition: listroot.cxx:49
LWHist::LWHistAxis::m_binLabels
LWBinLabels * m_binLabels
Definition: LWHist.h:134
Flex2DProfileHisto::setBinInfo
void setBinInfo(unsigned binx, unsigned biny, const double &entries, const double &content, const double &error)
Flex2DProfileHisto::getVarBinsY
const float * getVarBinsY() const
Definition: Flex2DProfileHisto.h:44
Flex2DProfileHisto::fill
void fill(const double &x, const double &y, const double &profiledpar)
LWHist::GetMarkerStyle
short GetMarkerStyle() const
Definition: LWHist.cxx:105
LWHistRootUtils::deleteProfileHisto
void deleteProfileHisto(TProfileX *rootHist)
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200
LWBinLabels::apply
void apply(TAxis *) const
Definition: LWBinLabels.cxx:38
TProfile2D_LW::getROOTHist
TProfile2D * getROOTHist()
Definition: TProfile2D_LW.cxx:162
LWHistRootUtils::createRoot2DProfileHisto
TProfile2D * createRoot2DProfileHisto(TProfile2D_LW *lwhist, Flex2DProfileHisto *flexHist)
Flex2DProfileHisto::getBinCenterY
double getBinCenterY(int bin) const
error
Definition: IImpactPoint3dEstimator.h:70
python.compressB64.c
def c
Definition: compressB64.py:93
LWHist::GetYaxis
LWHistAxis * GetYaxis()
Definition: LWHist.cxx:319
Flex2DProfileHisto::create
static Flex2DProfileHisto * create(unsigned nbinsx, const double &xmin, const double &xmax, const double *xbins, unsigned nbinsy, const double &ymin, const double &ymax, const double *ybins, const double &profparmin, const double &profparmax)
ymax
double ymax
Definition: listroot.cxx:64
LWHistStats::s_nActiveHists
static std::atomic< long > s_nActiveHists
Definition: LWHistStats.h:36
LWHist::LWHistDecorations::m_option
char * m_option
Definition: LWHist.cxx:73
Flex2DProfileHisto::setErrorOptionFromString
void setErrorOptionFromString(const char *option)
Definition: Flex2DProfileHisto.h:65
Flex2DProfileHisto::destroy
static void destroy(Flex2DProfileHisto *)