ndmspc 0.20240624.0
Loading...
Searching...
No Matches
NDH::HnSparseStress Class Reference

HnSparseStress object. More...

#include <HnSparseStress.h>

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)
 Setting debug level.
 
void SetPrintRefresh (Int_t n)
 Setting print refresh.
 
void SetRandomFill (bool rf)
 Setting fill random flag.
 

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 fRandomFill {false}
 Flag is Fill is random.
 
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.h.

Constructor & Destructor Documentation

◆ HnSparseStress()

NDH::HnSparseStress::HnSparseStress ( )

Definition at line 15 of file HnSparseStress.cxx.

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 17 of file HnSparseStress.cxx.

◆ GenerateRecursiveLoop()

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

Generate recursive loop

Definition at line 83 of file HnSparseStress.cxx.

◆ PrintBin()

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

Print coordinates and message

Definition at line 196 of file HnSparseStress.cxx.

◆ SetDebugLevel()

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

Setting debug level.

Definition at line 32 of file HnSparseStress.h.

References fDebugLevel.

◆ SetPrintRefresh()

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

Setting print refresh.

Definition at line 34 of file HnSparseStress.h.

References fPrintRefresh.

◆ SetRandomFill()

void NDH::HnSparseStress::SetRandomFill ( bool  rf)
inline

Setting fill random flag.

Definition at line 36 of file HnSparseStress.h.

References fRandomFill.

◆ Stress()

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

Stress function

Definition at line 156 of file HnSparseStress.cxx.

◆ StressRecursiveLoop()

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

Stress recursive loop

Definition at line 123 of file HnSparseStress.cxx.

Member Data Documentation

◆ fDebugLevel

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

Debug level.

Definition at line 43 of file HnSparseStress.h.

Referenced by SetDebugLevel().

◆ fDone

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

Flag is process is done.

Definition at line 46 of file HnSparseStress.h.

◆ fNBytesMax

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

Max size in bytes.

Definition at line 40 of file HnSparseStress.h.

◆ fNFilledMax

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

Max size of filled entries.

Definition at line 39 of file HnSparseStress.h.

◆ fPrintRefresh

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

Print refresh.

Definition at line 44 of file HnSparseStress.h.

Referenced by SetPrintRefresh().

◆ fRandomFill

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

Flag is Fill is random.

Definition at line 45 of file HnSparseStress.h.

Referenced by SetRandomFill().

◆ fTimer

TStopwatch NDH::HnSparseStress::fTimer
private

Process timer.

Definition at line 41 of file HnSparseStress.h.

◆ fTimerTotal

TStopwatch NDH::HnSparseStress::fTimerTotal
private

Total timer.

Definition at line 42 of file HnSparseStress.h.


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