ndmspc  0.20250128.0
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.

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.

◆ 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.


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