FairRoot/PandaRoot
|
#include <limits.h>
#include <float.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
Go to the source code of this file.
Classes | |
struct | vec_t |
struct | dble_vec_t |
Macros | |
#define | RANLXD_C |
#define | BASE 0x1000000 |
#define | MASK 0xffffff |
#define | STEP(pi, pj) |
Functions | |
static void | error (int no) |
static void | update (void) |
static void | define_constants (void) |
void | rlxd_init (int level, int seed) |
void | ranlxd (double r[], int n) |
int | rlxd_size (void) |
void | rlxd_get (int state[]) |
void | rlxd_reset (int state[]) |
Variables | |
static int | init =0 |
static int | pr |
static int | prm |
static int | ir |
static int | jr |
static int | is |
static int | is_old |
static int | next [96] |
static double | one_bit |
static vec_t | carry |
union { | |
dble_vec_t vec [12] | |
int num [96] | |
} | x |
#define BASE 0x1000000 |
Definition at line 361 of file ranlxd.cxx.
#define MASK 0xffffff |
Definition at line 362 of file ranlxd.cxx.
#define RANLXD_C |
Definition at line 41 of file ranlxd.cxx.
#define STEP | ( | pi, | |
pj | |||
) |
Definition at line 384 of file ranlxd.cxx.
Referenced by update().
|
static |
|
static |
Definition at line 419 of file ranlxd.cxx.
References exit(), and printf().
Referenced by RhoCandidate::Correlation(), PndTrkTracking2::EliminateSpuriousSZ_bis(), PndTrkTracking2::EliminateSpuriousSZ_ter(), KFParticleBaseSIMD::GetMomentum(), KFParticleBaseSIMD::GetPt(), PndLmdSensorAligner::readPairsFromBinary(), RKTrackRep::RKutta(), rlxd_get(), rlxd_init(), and rlxd_reset().
void ranlxd | ( | double | r[], |
int | n | ||
) |
Definition at line 571 of file ranlxd.cxx.
References is, n, rlxd_init(), update(), and x.
Referenced by mzrnd().
void rlxd_get | ( | int | state[] | ) |
Definition at line 594 of file ranlxd.cxx.
References vec_t::c1, vec_t::c2, vec_t::c3, vec_t::c4, error(), pr, rlxd_size(), and x.
void rlxd_init | ( | int | level, |
int | seed | ||
) |
Definition at line 501 of file ranlxd.cxx.
References vec_t::c1, vec_t::c2, vec_t::c3, vec_t::c4, define_constants(), error(), i, pr, seed, and x.
Referenced by mz_pp_to_leplep_vandewi_init(), mz_pp_to_pipi_vandewi_init(), and ranlxd().
void rlxd_reset | ( | int | state[] | ) |
Definition at line 618 of file ranlxd.cxx.
References vec_t::c1, vec_t::c2, vec_t::c3, vec_t::c4, define_constants(), error(), ir, pr, rlxd_size(), and x.
int rlxd_size | ( | void | ) |
Definition at line 588 of file ranlxd.cxx.
Referenced by rlxd_get(), and rlxd_reset().
|
static |
Definition at line 453 of file ranlxd.cxx.
References d, ir, is, jr, pi, pr, prm, STEP, and x.
Referenced by Photospp::PH_HEPEVT_Interface::get(), GFKalman::processHit(), and ranlxd().
|
static |
Definition at line 376 of file ranlxd.cxx.
|
static |
Definition at line 374 of file ranlxd.cxx.
Referenced by autocutx(), crosstag(), cutfinderx(), evaltrig(), PndLLbarAnaTask::Exec(), PndHypMicroWriter::Exec(), PndHypMicroIdealWriter::Exec(), PndFTSCAGBTracker::FitTracks(), KFParticleBaseSIMD::InvertSym3(), RhoError::RhoError(), simubg(), softtrigger_kin5(), softtrigger_toy12(), TMVAApply(), TMVATester(), and toy_core().
|
static |
Definition at line 374 of file ranlxd.cxx.
Referenced by PndTrkCombiLegendreTransform::ComputeThetaR(), PndFastSim::cutAndSmear(), PndMdtParamDigi::Init(), rlxd_reset(), and update().
|
static |
Definition at line 374 of file ranlxd.cxx.
Referenced by createRootGeometry_RICH(), PndMdtDigitization::Digitize(), PndMdtParamDigi::Digitize(), PndMdtPointsToWaveform::Digitize(), PndLmdBPtestTask::Exec(), PndTrkCTGeometryCalculations::IntersectionsWithClosedbiHexagonLeft(), PndSttTrackFinderReal::IntersectionsWithClosedbiHexagonLeft(), PndTrkCTGeometryCalculations::IntersectionsWithClosedbiHexagonRight(), PndSttTrackFinderReal::IntersectionsWithClosedbiHexagonRight(), PndTrkCTGeometryCalculations::IntersectionsWithClosedPolygon(), PndSttTrackFinderReal::IntersectionsWithClosedPolygon(), PndTrkCTGeometryCalculations::IntersectionsWithOpenPolygon(), PndSttTrackFinderReal::IntersectionsWithOpenPolygon(), PndGemTrackFinderQA::PrepareMCTracks(), PndGemTrackFinderOnHits::PrintMCTrackSegments(), PndGemTrackFinderOnHitsTB::PrintMCTrackSegments(), ranlxd(), PndLmdAlignManager::readConfigFile(), PndLmdSensorAligner::readPairsFromBinary(), and update().
|
static |
Definition at line 374 of file ranlxd.cxx.
|
static |
Definition at line 374 of file ranlxd.cxx.
Referenced by update().
|
static |
Definition at line 374 of file ranlxd.cxx.
Referenced by PndDrcReco::CanvasSave(), check_complete(), check_pid(), comp_complete(), comp_multiFiles(), comp_pid(), comp_recoqa(), PndEmcStructure::crystal_name_analysis(), evaltrig(), eventDisplay(), PndGemDigiAna::Finish(), PndGemFindHitsAna::Finish(), PndGemFindHitsQA::Finish(), PndGemMagneticFieldVsTrackParameters::Finish(), PndGemTrackFinderQA::Finish(), get_tuples(), PndDrcAccuDigiPixelDraw::Init(), PndTrackCandDraw::Init(), LoadManySimFiles(), lutaddbar(), main(), chigen::PythiaChiGen::next(), plot_all(), plotmyhistos(), PndEmcStructure::PndEmcStructure(), PndMasterTask::PrintTaskList(), PndEmc::ProcessHits(), PndMasterTask::SetVerbose(), sizetree(), tut_makegifs(), DrawHits::WriteToFile(), and PndDrcRecoLookupMap::WriteToFile().
int num[96] |
Definition at line 381 of file ranlxd.cxx.
Referenced by PndLmdStripClusterTask::AddMSErr(), ana_d0d0b(), ana_d0d0b_micro(), ana_dsdsj(), ana_dsdsj2(), ana_dsdsj2_EvtLoop(), ana_dsdsj_full(), ana_etac_3pi0(), ana_Lambda(), ana_Lambda_fit(), ana_Lambda_fit2(), ana_pid(), PndRiemannTrack::calcSZChi2(), create_lumi(), create_lumi_geanetest(), PndDrc::ProcessHits(), PndBranchBurstBuilder_eventBased::SetNEvents(), GFBookkeeping::setNumber(), PndLmdTrackQ::SetNumDoubleMChits(), PndRecoDafFit::SetNumIterations(), PndRecoKalmanFit::SetNumIterations(), PndRecoDafFit2::SetNumIterations(), PndRecoKalmanFit2::SetNumIterations(), PndRecoMultiKalmanTask2::SetNumIterations(), PndRecoKalmanTask2::SetNumIterations(), PndRecoMultiKalmanTask::SetNumIterations(), PndRecoKalmanTask::SetNumIterations(), PndLmdTrackQ::SetNumMChits(), PndRecoDafFit::SetTrackRep(), PndRecoKalmanFit::SetTrackRep(), PndRecoMultiKalmanTask::SetTrackRep(), PndRecoKalmanTask::SetTrackRep(), PndTrkBoundaryParStraws2::SttTubeList(), and PndRiemannTrack::szFit().
|
static |
Definition at line 375 of file ranlxd.cxx.
|
static |
Definition at line 374 of file ranlxd.cxx.
Referenced by ana_dsdsj_full(), rlxd_get(), rlxd_init(), rlxd_reset(), and update().
|
static |
Definition at line 374 of file ranlxd.cxx.
dble_vec_t vec[12] |
Definition at line 380 of file ranlxd.cxx.
Referenced by PndTrkTools::ComputePocaToPointOnCircle3(), PndLmdAlignQA::createHist(), PndDrcReco::DetermineCherenkov(), PndSttHelixHitProducer::Exec(), PndSttTrackFitterQATask::Exec(), PndLmdTrackFinderCATask::Exec(), OnlineDBuilderTask::Exec(), PndMvdAllDataEventAna::FillHitProjHistos(), PndLmdTrackFinderTask::FindHitsI(), PndStraightLineTrackFinderTask::FindHitsI(), PndLmdTrackFinderTask::FindHitsII(), PndStraightLineTrackFinderTask::FindHitsII(), PndLmdTrackFinderTask::FindHitsIII(), PndStraightLineTrackFinderTask::FindHitsIII(), GFDetPlane::getGraphics(), PndMQTopixHitProducer::GetTransformation(), PndMvdTopixHitProducer::GetTransformation(), PndTrackCandDraw::GetVector(), PndSttHelixTrackFitter::IntersectionFinder(), PndTrkLegendreNew::IntersectionFinder(), PndTrkCombiLegendreTask::IntersectionFinder(), PndTrkTrackFinder::IntersectionFinder(), PndPidIdealFwdOnlyAssociatorTask::IsForward(), PndEmcStructure::locateIndex(), and PndDrcLutFill::ProcessPhotonHit().
union { ... } x |