Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4EventServer/random-coll.c File Reference

Go to the source code of this file.

Defines

#define BETA_TURNING_POINT   2
#define GAMMA_TURNING_POINT   7
#define GEOMETRIC_TURNING_POINT   0.38
#define _Mult   1664525
#define _Cons   1
#define _Mask   0xFFFF
#define _Lo(X)   (X&_Mask)
#define _Hi(X)   ((X>>16)&_Mask)

Functions

double p_dUniform ()
double pow ()
double p_dGammaGen ()
double p_dBeta (a, b, seed) double a
int p_iBinomial (p, n, seed) unsigned int *seed
double log ()
double p_dExponential (lambda, seed) double lambda
double exp ()
double sqrt ()
double tan ()
double floor ()
double p_dGammaInt (a, seed) int a
double ceil ()
int p_iGeometric (p, seed) double p
double p_dNormal (mean, sigma, seed) double mean
int p_iPoisson (mu, seed) double mu
double p_dUniform (seed) unsigned *seed

Variables

double b
unsigned int * seed
int n
double p
double sigma


Define Documentation

#define BETA_TURNING_POINT   2
 

Definition at line 89 of file random-coll.c.

#define GAMMA_TURNING_POINT   7
 

#define GEOMETRIC_TURNING_POINT   0.38
 

Definition at line 366 of file random-coll.c.

#define _Mult   1664525
 

#define _Cons   1
 

#define _Mask   0xFFFF
 

#define _Lo      (X&_Mask)
 

#define _Hi      ((X>>16)&_Mask)
 


Function Documentation

double p_dUniform  
 

Referenced by TGo4MbsRandom::rand_event().

double pow  
 

double p_dGammaGen  
 

double p_dBeta  ,
b   ,
seed   
 

int p_iBinomial p   ,
n   ,
seed   
 

double log  
 

Referenced by TGo4MbsRandom::gauss_rnd().

double p_dExponential lambda   ,
seed   
 

double exp  
 

Referenced by AddRidge(), gaussian(), and TGo4ComAddTreeHistogram::SetVarexp().

double sqrt  
 

Referenced by TGo4FitPanelSlots::Button_FitterDraw(), TGo4Fitter::CalculatesMomentums(), f_find_peaks(), f_position(), TGo4MbsRandom::gauss_rnd(), TGo4FitMatrixTrans::GetNumAxis(), TGo4FitModelGauss1::Integral(), and TGo4MainWindow::ViewPanelSlot().

double tan  
 

double floor  
 

double p_dGammaInt  ,
seed   
 

double ceil  
 

int p_iGeometric p   ,
seed   
 

double p_dNormal mean   ,
sigma   ,
seed   
 

int p_iPoisson mu   ,
seed   
 

double p_dUniform seed   
 


Variable Documentation

double b
 

Definition at line 92 of file random-coll.c.

Referenced by TGo4CompositeEvent::activateBranch(), AddRidge(), TQRootCanvas::Browse(), TGo4WindowEditSlots::CreateNewCondition(), NorwegianWoodStyle::drawPrimitive(), NorwegianWoodStyle::drawSemicircleButton(), TGo4CompositeEvent::makeBranch(), NorwegianWoodStyle::querySubControlMetrics(), TGo4HelpWindow::setBackwardAvailable(), TGo4FitLinearTrans::SetCoefB(), TGo4FitLinearTrans::SetCoefByPoints(), TGo4HelpWindow::setForwardAvailable(), NorwegianWoodStyle::subRect(), and TGo4CompositeEvent::synchronizeWithTree().

unsigned * seed
 

Definition at line 441 of file random-coll.c.

int n
 

Definition at line 150 of file random-coll.c.

Referenced by TGo4Fitter::AddPolynoms(), TGo4Fitter::AddPolynomX(), TGo4FitModel::AssignmentName(), TGo4FitModelFormula::BeforeEval(), TGo4FitModel::BuffersAllocated(), TGo4FitPanelSlots::Button_FitterDraw(), TGo4FitPanelSlots::Button_PerformFit(), TGo4FitPeakFinder::CalcPolynom(), TGo4Fitter::CalculateFCN(), TGo4Fitter::CalculateNDF(), TGo4Fitter::CalculatesMomentums(), TGo4FitAmplEstimation::CalculateWithBuffers(), TGo4FitAmplEstimation::CalculateWithIterators(), TGo4FitMinuitResult::CallMNEMAT(), TGo4FitMinuitResult::CallMNERRS(), TGo4FitMinuitResult::CallMNPOUT(), TGo4Fitter::ChangeDataNameInAssignments(), TGo4FitComponent::CheckRangeConditions(), TGo4Fitter::CheckSlotsBeforeDelete(), TGo4FitModel::ClearAssignmentTo(), TGo4FitSlotStatus::ClearDrawObjs(), TGo4Picture::ClearObjects(), TGo4Picture::ClearObjNames(), TGo4FitSlotStatus::ClearPrimitives(), TGo4FitPanelSlots::Cmd_AddRangeCondition(), TGo4FitPanelSlots::Cmd_AssignModelToAllData(), TGo4Fitter::CollectAllPars(), TGo4FitComponent::CollectParsTo(), TGo4FitModelFormula::CompileFormula(), TGo4FitterAbstract::CopyParsValuesFrom(), TGo4FitPanelSlots::CreateAppropriateData(), TGo4Fitter::CreateDrawObject(), TGo4FitDataIter::CreateHistogram(), TGo4FitModelPolynom::CreateOrdersPars(), TGo4FitDataIter::DefineIndexesLimits(), TGo4Fitter::DeleteModelsAssosiatedTo(), TGo4FitterAbstract::DeleteOutputActions(), TGo4GUIRegistry::DisplayData(), TGo4FitMinuit::DoAction(), TGo4FitterAbstract::DoActions(), TGo4Fitter::Draw(), TGo4Picture::DrawPictureObjects(), TGo4QPicItem::DrawSubPic(), TGo4FitModelPolynom::EvalN(), TGo4FitModelGaussN::EvalN(), TGo4FitModel::EvaluateAndIntegrate(), TGo4ScriptSlots::ExploreAllPads(), f_ut_set_ml(), f_ut_setup(), TGo4FitPanelSlots::FillDependencyList(), TGo4FitModelGaussN::FillMuVector(), TGo4FitPanelSlots::FillParsList(), TGo4FitPanelSlots::FillPopupForItem(), TGo4FitPanelSlots::FillPopupForSlot(), TGo4FitModelGaussN::FillSigmaMatrix(), TGo4FitData::FillSlotList(), TGo4FitPanelSlots::FillSlotsList(), TGo4FitModel::Finalize(), TGo4FitModel::FindAssigment(), TGo4FitterConfig::FindDepen(), TGo4Fitter::FindNextName(), TGo4Picture::FindObject(), TGo4Picture::FindPic(), TGo4FitPanelSlots::FindSlotStatusForData(), TGo4FitPanelSlots::FindSlotStatusForDraw(), TGo4FitPanelSlots::FindSlotStatusForModel(), TGo4FitPanelSlots::FindSlotStatusForSlot(), TGo4FitterAbstract::Get(), TGo4FitParsList::Get(), TGo4FitModel::Get(), TGo4FitModel::GetAssigment(), TGo4FitModel::GetAssignedConnection(), TGo4FitMinuit::GetCommand(), TGo4Fitter::GetComp(), TGo4Fitter::GetData(), TGo4Fitter::GetDataName(), TGo4FitModelFormula::GetExprPar(), TGo4FitModelFormula::GetExprParName(), TGo4FitModelFunction::GetFuncPar(), TGo4FitModelFunction::GetFuncParName(), TGo4Fitter::GetModel(), TGo4Picture::GetObjAttIndex(), TGo4Picture::GetObject(), TGo4Picture::GetObjName(), TGo4FitPanelSlots::GetPad(), TGo4FitParsList::GetPar(), TGo4FitParsList::GetParFullName(), TGo4FitParsList::GetParName(), TGo4FitGUIOptions::GetPeakFinder(), TGo4FitModelGaussN::GetPosParIndex(), TGo4FitComponent::GetRangeCondition(), TGo4FitComponent::GetRangeCut(), TGo4FitModel::GetRatioName(), TGo4SubmittedCommandsEntry::GetRecv(), TGo4FitterAbstract::GetResultValue(), TGo4GUIRegistry::GetStatus(), TGo4FitModelGaussN::GetWidthParIndex(), TGo4PolyCond::GetXLow(), TGo4PolyCond::GetXUp(), TGo4PolyCond::GetYLow(), TGo4PolyCond::GetYUp(), TGo4FitPeakFinder::HansEsselPeakFinder(), TGo4FitModelFromData::Initialize(), TGo4FitModel::Initialize(), TGo4FitData::Initialize(), TGo4FitterAbstract::InitializeDependencies(), TGo4FitData::IsAnyDataTransform(), TGo4Picture::IsObjNames(), TGo4FitComponent::IsRangeCutExcluding(), TGo4FitPanelSlots::LocateModel(), TGo4Picture::LocateObjectsFrom(), TGo4Fitter::MoveDrawObjectsToROOT(), TGo4FitterAbstract::NeedPadsNumber(), TGo4FitDataIter::NextIndex(), TGo4FitParsList::NumFixedPars(), TGo4Fitter::NumModelsAssosiatedTo(), TGo4FitParsList::Print(), TGo4FitMinuitResult::Print(), TGo4FitMinuit::Print(), TGo4FitComponent::Print(), TGo4Fitter::PrintAmpls(), TGo4Fitter::PrintLines(), TYYYParameter::PrintParameter(), TMeshParameter::PrintParameter(), TXXXParameter::PrintParameter(), TXXXCalibPar::PrintParameter(), TXXXParam::PrintParameter(), TXXXControl::PrintParameter(), TGo4FitParsList::PrintPars(), TGo4Picture::PrintPic(), TGo4FitterAbstract::PrintResults(), TGo4FitterAbstract::ProcessObjects(), TGo4FitDataIter::ProduceScales(), TGo4FitDataRidgeIter::ReadCurrentPoint(), TGo4FitDataHistogramIter::ReadCurrentPoint(), TGo4FitModel::RebuildShape(), TGo4GUIRegistry::RegisterSlotClass(), TGo4FitPanelSlots::RemoveAllDrawObjects(), TGo4SubmittedCommandsEntry::RemoveCanvasEntries(), TGo4FitPanelSlots::RemovePanelFromSlotsStatusList(), TGo4FitPanelSlots::RemovePrimitives(), TGo4FitSlotStatus::RemovePrimitivesFor(), TGo4FitComponent::RemoveRangeCondition(), TGo4FitComponent::RemoveRangeCut(), TGo4SubmittedCommandsEntry::RemoveSlotEntries(), TGo4Picture::Reset(), TGo4FitModelGaussN::ResortIndexes(), TGo4FitPeakFinder::ROOTPeakFinder(), TGo4MbsHist::ScanGo4Folder(), TGo4QPicItem::ScanPictureForObjRef(), TGo4FitModelGaussN::SetAxisNumbers(), TGo4Picture::SetLinesDivision(), TGo4FitModelPolynom::SetMaxNumAxis(), TGo4FitModelGauss1::SetNumAxis(), TGo4FitModelGauss2::SetNumAxis1(), TGo4FitModelGauss2::SetNumAxis2(), TGo4FitModelFormula::SetNumberOfExprPar(), TGo4FitModelFunction::SetNumberOfFuncPar(), TGo4FitData::SetNumberOfTransSlots(), TGo4Picture::SetObjectsOwnership(), TGo4FitterAbstract::SetPad(), TGo4FitParsList::SetParName(), TGo4FitModelFunction::SetPosParIndex(), TGo4FitModelFormula::SetPosParIndex(), TGo4FitComponent::SetRangeCondition(), TGo4FitComponent::SetRangeCutExcluding(), TGo4FitModelFunction::SetWidthParIndex(), TGo4FitModelFormula::SetWidthParIndex(), TGo4FitPanelSlots::ShowItemAsGraph(), TGo4ScriptSlots::SuperImpose(), TGo4FitModelFormula::TGo4FitModelFormula(), TGo4FitModelFunction::TGo4FitModelFunction(), TGo4FitModelGaussN::TGo4FitModelGaussN(), TModelTemplate::TModelTemplate(), TGo4GUIRegistry::UnRegisterClass(), TGo4GUIRegistry::UnRegisterDependentClass(), TGo4FitPanelSlots::UpdateAllPads(), TGo4GUIRegistry::UpdateDependents(), TGo4Picture::UpdateFrom(), TGo4FitPanelSlots::UpdateItem(), TGo4FitPanelSlots::UpdateObjectReferenceInSlots(), TGo4Picture::UpdateObjectsContentFrom(), TGo4FitPanelSlots::UpdateRestPrimitives(), TGo4FitPanelSlots::UpdateSlotsStatusList(), TGo4AnalysisClient::UpdateStatus(), TGo4FitPanelSlots::Wiz_PaintData(), TGo4FitPanelSlots::Wiz_PaintModel(), TGo4FitPanelSlots::Wiz_TakeCurrentRange(), and TGo4FitDataIter::xWidths().

double p
 

Definition at line 151 of file random-coll.c.

Referenced by TGo4SlotsBaseClass::AddObject(), TGo4PreviewPanelSlots::AddObject(), TGo4ScriptSlots::CreateSubPad(), TGo4ScriptSlots::DisplayObj(), NorwegianWoodStyle::drawComplexControl(), MetalStyle::drawComplexControl(), NorwegianWoodStyle::drawComplexControlMask(), NorwegianWoodStyle::drawControl(), MetalStyle::drawControl(), NorwegianWoodStyle::drawControlMask(), MetalStyle::drawMetalButton(), MetalStyle::drawMetalFrame(), MetalStyle::drawMetalGradient(), NorwegianWoodStyle::drawPrimitive(), MetalStyle::drawPrimitive(), drawroundrect(), NorwegianWoodStyle::drawSemicircleButton(), FindValue(), TGo4ScriptSlots::GetCondition(), TGo4ScriptSlots::GetObject(), TGo4MainWindow::makeStyle(), TQRootCanvas::paintEvent(), TGo4QRootCanvas::paintEvent(), TGo4HelpWindow::print(), TGo4CommandInvoker::Register(), TGo4GUIRegistry::RegisterSlotClass(), TGo4ScriptSlots::SetActivePad(), TGo4ScriptSlots::SetGUI(), TGo4ScriptSlots::SetPadOptions(), TGo4ScriptSlots::SetPadRange(), TGo4ScriptSlots::SetViewPanelMode(), TGo4ScriptSlots::SetViewPanelPosition(), TGo4ScriptSlots::SuperImpose(), TGo4ScriptSlots::SwitchSuperImpose(), TGo4AdvancedUserWidgetSlots::TGo4AdvancedUserWidgetSlots(), TGo4AnalysisConfigurationSlots::TGo4AnalysisConfigurationSlots(), TGo4AnalysisStatusMonitorSlots::TGo4AnalysisStatusMonitorSlots(), TGo4ArrowEntry::TGo4ArrowEntry(), TGo4BrowserSlots::TGo4BrowserSlots(), TGo4ConditionInfoSlots::TGo4ConditionInfoSlots(), TGo4CreateNewHistogramSlots::TGo4CreateNewHistogramSlots(), TGo4DependentStatusList::TGo4DependentStatusList(), TGo4DiskFileBrowserSlots::TGo4DiskFileBrowserSlots(), TGo4EditDynEntrySlots::TGo4EditDynEntrySlots(), TGo4EventInfoSlots::TGo4EventInfoSlots(), TGo4FitPanelSlots::TGo4FitPanelSlots(), TGo4GraphicEntry::TGo4GraphicEntry(), TGo4HistogramInfoSlots::TGo4HistogramInfoSlots(), TGo4LateXEntry::TGo4LateXEntry(), TGo4LoadedLibrariesSlots::TGo4LoadedLibrariesSlots(), TGo4LogInfoSlots::TGo4LogInfoSlots(), TGo4MonitoredListSlots::TGo4MonitoredListSlots(), TGo4Pair::TGo4Pair(), TGo4ParaEditSlots::TGo4ParaEditSlots(), TGo4PreviewPanelSlots::TGo4PreviewPanelSlots(), TGo4RecieverInfo::TGo4RecieverInfo(), TGo4RegisteredSlotsList::TGo4RegisteredSlotsList(), TGo4RemoteBrowserSlots::TGo4RemoteBrowserSlots(), TGo4ScriptSlots::TGo4ScriptSlots(), TGo4StartClientSlots::TGo4StartClientSlots(), TGo4TreeViewerSlots::TGo4TreeViewerSlots(), TGo4WindowEditSlots::TGo4WindowEditSlots(), TGo4GUIRegistry::UnRegisterClass(), TGo4GUIRegistry::UnRegisterDependentClass(), and TGo4ScriptSlots::ViewPanelPad().

double sigma
 

Definition at line 405 of file random-coll.c.

Referenced by TGo4MbsRandom::gauss_rnd(), and TGo4FitPeakFinder::SergeyLinevPeakFinder().


Generated on Tue Nov 8 10:56:13 2005 for Go4-v2.10-5 by doxygen1.2.15