ndh 0.0.7
Loading...
Searching...
No Matches
NDH::HnSparseStress Class Reference

HnSparseStress object. More...

#include <HnSparseStress.hh>

Inheritance diagram for NDH::HnSparseStress:

Public Member Functions

virtual Bool_t Generate (THnSparse *h, Long64_t size=1e3, Long64_t start=1e3)
 
virtual Bool_t Stress (HnSparse *h, Long64_t size=1e3, bool bytes=false)
 
void SetDebugLevel (Int_t debug)
 
void SetPrintRefresh (Int_t n)
 

Private Member Functions

bool GenerateRecursiveLoop (THnSparse *h, Int_t iDim, Double_t *coord, Int_t *start)
 
bool StressRecursiveLoop (HnSparse *h, int &iDim, int *coord)
 
void PrintBin (Int_t n, Double_t *c, const char *msg)
 

Private Attributes

Long64_t fNFilledMax {0}
 Max size of filled entries.
 
Long64_t fNBytesMax {0}
 Max size in bytes.
 
TStopwatch fTimer
 Process timer.
 
TStopwatch fTimerTotal
 Total timer.
 
Int_t fDebugLevel {0}
 Debug level.
 
Int_t fPrintRefresh {1000}
 Print refresh.
 
bool fDone {false}
 Flag is process is done.
 

Detailed Description

HnSparseStress object.

Author
Martin Vala mvala.nosp@m.@cer.nosp@m.n.ch

Definition at line 18 of file HnSparseStress.hh.

Constructor & Destructor Documentation

◆ HnSparseStress()

NDH::HnSparseStress::HnSparseStress ( )

Definition at line 14 of file HnSparseStress.cc.

Member Function Documentation

◆ Generate()

Bool_t NDH::HnSparseStress::Generate ( THnSparse * h,
Long64_t size = 1e3,
Long64_t start = 1e3 )
virtual

Generate function

Definition at line 16 of file HnSparseStress.cc.

◆ GenerateRecursiveLoop()

bool NDH::HnSparseStress::GenerateRecursiveLoop ( THnSparse * h,
Int_t iDim,
Double_t * coord,
Int_t * start )
private

Generate recursive loop

Definition at line 82 of file HnSparseStress.cc.

◆ PrintBin()

void NDH::HnSparseStress::PrintBin ( Int_t n,
Double_t * c,
const char * msg )
private

Print coordinates and message

Definition at line 190 of file HnSparseStress.cc.

◆ SetDebugLevel()

void NDH::HnSparseStress::SetDebugLevel ( Int_t debug)
inline

Definition at line 31 of file HnSparseStress.hh.

◆ SetPrintRefresh()

void NDH::HnSparseStress::SetPrintRefresh ( Int_t n)
inline

Definition at line 32 of file HnSparseStress.hh.

◆ Stress()

Bool_t NDH::HnSparseStress::Stress ( HnSparse * h,
Long64_t size = 1e3,
bool bytes = false )
virtual

Stress function

Definition at line 150 of file HnSparseStress.cc.

◆ StressRecursiveLoop()

bool NDH::HnSparseStress::StressRecursiveLoop ( HnSparse * h,
int & iDim,
int * coord )
private

Stress recursive loop

Definition at line 117 of file HnSparseStress.cc.

Member Data Documentation

◆ fDebugLevel

Int_t NDH::HnSparseStress::fDebugLevel {0}
private

Debug level.

Definition at line 39 of file HnSparseStress.hh.

◆ fDone

bool NDH::HnSparseStress::fDone {false}
private

Flag is process is done.

Definition at line 41 of file HnSparseStress.hh.

◆ fNBytesMax

Long64_t NDH::HnSparseStress::fNBytesMax {0}
private

Max size in bytes.

Definition at line 36 of file HnSparseStress.hh.

◆ fNFilledMax

Long64_t NDH::HnSparseStress::fNFilledMax {0}
private

Max size of filled entries.

Definition at line 35 of file HnSparseStress.hh.

◆ fPrintRefresh

Int_t NDH::HnSparseStress::fPrintRefresh {1000}
private

Print refresh.

Definition at line 40 of file HnSparseStress.hh.

◆ fTimer

TStopwatch NDH::HnSparseStress::fTimer
private

Process timer.

Definition at line 37 of file HnSparseStress.hh.

◆ fTimerTotal

TStopwatch NDH::HnSparseStress::fTimerTotal
private

Total timer.

Definition at line 38 of file HnSparseStress.hh.


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