HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HDiskStat Class Reference

#include <hdiskspace.h>

Inheritance diagram for HDiskStat:
Collaboration diagram for HDiskStat:

Public Member Functions

 HDiskStat (TString name="")
 
 ~HDiskStat ()
 
void setDiskName (TString name)
 
void setUnit (ULong64_t u)
 
TString getDiskName ()
 
TGraph * getDir (TString dirname, TString opt="size")
 
vector< TGraph > * getDirVec (TString dirname)
 
void addEntry (time_t scanstart, HDiskDir *dir)
 
Bool_t findMinMaxGraph (Double_t &xmin, Double_t &xmax, Double_t &ymin, Double_t &ymax, TGraph *g)
 
Bool_t findMinMaxAll (Double_t &xmin, Double_t &xmax, Double_t &ymin, Double_t &ymax, TString opt)
 
Bool_t findMinMaxAll (Double_t &xmin, Double_t &xmax, Double_t &ymin, Double_t &ymax, vector< TGraph * > &vg)
 
TCanvas * draw (TString opt, UInt_t lastDays, ULong64_t u, TString select="daughters")
 

Private Member Functions

Int_t evalOpt (TString opt)
 

Private Attributes

map< TString, vector< TGraph > > mDirToVal
 
vector< Int_t > vcolors
 
vector< Int_t > vmarkers
 
vector< Int_t > vstyles
 
ULong64_t unit
 
TString diskname
 

Detailed Description

Definition at line 346 of file hdiskspace.h.

Constructor & Destructor Documentation

HDiskStat::HDiskStat ( TString  name = "")

Definition at line 1456 of file hdiskspace.cc.

References diskname, HFileSys::getUnitG(), unit, vcolors, vmarkers, and vstyles.

HDiskStat::~HDiskStat ( )

Definition at line 1481 of file hdiskspace.cc.

Member Function Documentation

void HDiskStat::addEntry ( time_t  scanstart,
HDiskDir dir 
)
TCanvas * HDiskStat::draw ( TString  opt,
UInt_t  lastDays,
ULong64_t  u,
TString  select = "daughters" 
)
Int_t HDiskStat::evalOpt ( TString  opt)
private

Definition at line 1486 of file hdiskspace.cc.

Referenced by draw(), findMinMaxAll(), and getDir().

Bool_t HDiskStat::findMinMaxAll ( Double_t &  xmin,
Double_t &  xmax,
Double_t &  ymin,
Double_t &  ymax,
TString  opt 
)

Definition at line 1542 of file hdiskspace.cc.

References evalOpt(), findMinMaxGraph(), and mDirToVal.

Referenced by draw().

Bool_t HDiskStat::findMinMaxAll ( Double_t &  xmin,
Double_t &  xmax,
Double_t &  ymin,
Double_t &  ymax,
vector< TGraph * > &  vg 
)

Definition at line 1517 of file hdiskspace.cc.

References findMinMaxGraph().

Bool_t HDiskStat::findMinMaxGraph ( Double_t &  xmin,
Double_t &  xmax,
Double_t &  ymin,
Double_t &  ymax,
TGraph *  g 
)

Definition at line 1498 of file hdiskspace.cc.

Referenced by draw(), and findMinMaxAll().

TGraph * HDiskStat::getDir ( TString  dirname,
TString  opt = "size" 
)

Definition at line 1570 of file hdiskspace.cc.

References evalOpt(), and mDirToVal.

vector< TGraph > * HDiskStat::getDirVec ( TString  dirname)

Definition at line 1581 of file hdiskspace.cc.

References mDirToVal.

TString HDiskStat::getDiskName ( )
inline

Definition at line 364 of file hdiskspace.h.

void HDiskStat::setDiskName ( TString  name)
inline

Definition at line 361 of file hdiskspace.h.

void HDiskStat::setUnit ( ULong64_t  u)
inline

Definition at line 362 of file hdiskspace.h.

Member Data Documentation

TString HDiskStat::diskname
private

Definition at line 355 of file hdiskspace.h.

Referenced by draw(), and HDiskStat().

map<TString,vector<TGraph> > HDiskStat::mDirToVal
private

Definition at line 349 of file hdiskspace.h.

Referenced by addEntry(), draw(), findMinMaxAll(), getDir(), and getDirVec().

ULong64_t HDiskStat::unit
private

Definition at line 354 of file hdiskspace.h.

Referenced by draw(), and HDiskStat().

vector<Int_t> HDiskStat::vcolors
private

Definition at line 350 of file hdiskspace.h.

Referenced by addEntry(), and HDiskStat().

vector<Int_t> HDiskStat::vmarkers
private

Definition at line 351 of file hdiskspace.h.

Referenced by addEntry(), and HDiskStat().

vector<Int_t> HDiskStat::vstyles
private

Definition at line 352 of file hdiskspace.h.

Referenced by addEntry(), and HDiskStat().


The documentation for this class was generated from the following files: