ndmspc 0.20250304.0
Loading...
Searching...
No Matches
Ndmspc::Ndh::HnSparseStress Class Reference

HnSparseStress object. More...

#include <HnSparseStress.h>

Inheritance diagram for Ndmspc::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 19 of file HnSparseStress.h.

Constructor & Destructor Documentation

◆ HnSparseStress()

Ndmspc::Ndh::HnSparseStress::HnSparseStress ( )

Definition at line 14 of file HnSparseStress.cxx.

Member Function Documentation

◆ Generate()

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

Generate function

Definition at line 16 of file HnSparseStress.cxx.

◆ GenerateRecursiveLoop()

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

Generate recursive loop

Definition at line 80 of file HnSparseStress.cxx.

◆ PrintBin()

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

Print coordinates and message

Definition at line 193 of file HnSparseStress.cxx.

◆ SetDebugLevel()

void Ndmspc::Ndh::HnSparseStress::SetDebugLevel ( Int_t debug)
inline

Setting debug level.

Definition at line 33 of file HnSparseStress.h.

References fDebugLevel.

◆ SetPrintRefresh()

void Ndmspc::Ndh::HnSparseStress::SetPrintRefresh ( Int_t n)
inline

Setting print refresh.

Definition at line 35 of file HnSparseStress.h.

References fPrintRefresh.

◆ SetRandomFill()

void Ndmspc::Ndh::HnSparseStress::SetRandomFill ( bool rf)
inline

Setting fill random flag.

Definition at line 37 of file HnSparseStress.h.

References fRandomFill.

◆ Stress()

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

Stress function

Definition at line 153 of file HnSparseStress.cxx.

◆ StressRecursiveLoop()

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

Stress recursive loop

Definition at line 120 of file HnSparseStress.cxx.

Member Data Documentation

◆ fDebugLevel

Int_t Ndmspc::Ndh::HnSparseStress::fDebugLevel {0}
private

Debug level.

Definition at line 44 of file HnSparseStress.h.

Referenced by SetDebugLevel().

◆ fDone

bool Ndmspc::Ndh::HnSparseStress::fDone {false}
private

Flag is process is done.

Definition at line 47 of file HnSparseStress.h.

◆ fNBytesMax

Long64_t Ndmspc::Ndh::HnSparseStress::fNBytesMax {0}
private

Max size in bytes.

Definition at line 41 of file HnSparseStress.h.

◆ fNFilledMax

Long64_t Ndmspc::Ndh::HnSparseStress::fNFilledMax {0}
private

Max size of filled entries.

Definition at line 40 of file HnSparseStress.h.

◆ fPrintRefresh

Int_t Ndmspc::Ndh::HnSparseStress::fPrintRefresh {1000}
private

Print refresh.

Definition at line 45 of file HnSparseStress.h.

Referenced by SetPrintRefresh().

◆ fRandomFill

bool Ndmspc::Ndh::HnSparseStress::fRandomFill {false}
private

Flag is Fill is random.

Definition at line 46 of file HnSparseStress.h.

Referenced by SetRandomFill().

◆ fTimer

TStopwatch Ndmspc::Ndh::HnSparseStress::fTimer
private

Process timer.

Definition at line 42 of file HnSparseStress.h.

◆ fTimerTotal

TStopwatch Ndmspc::Ndh::HnSparseStress::fTimerTotal
private

Total timer.

Definition at line 43 of file HnSparseStress.h.


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