waves.C File Reference

#include "TROOT.h"
#include "TCanvas.h"
#include "TColor.h"
#include "TArc.h"
#include "TGraph.h"
#include "TF2.h"
#include "TLine.h"
#include "TLatex.h"
#include "TMath.h"
#include "TStyle.h"
#include "Riostream.h"

Go to the source code of this file.

Functions

Double_t interference (Double_t *x, Double_t *par)
Double_t result (Double_t *x, Double_t *par)
void waves (Double_t d=3, Double_t lambda=1, Double_t amp=10)

Variables

TF2finter


Function Documentation

Double_t interference ( Double_t x,
Double_t par 
)

Definition at line 20 of file waves.C.

References cos(), TMath::Pi(), and sqrt().

Referenced by result(), and waves().

Double_t result ( Double_t x,
Double_t par 
)

Definition at line 34 of file waves.C.

References i, and interference().

Referenced by _tt_check_patents_in_range(), _tt_check_patents_in_table(), _tt_face_check_patents(), TProofServ::AcceptResults(), RooAbsCollection::add(), PyROOT::Utility::AddBinaryOperator(), RooAbsCollection::addOwned(), TGHtml::AddStyle(), align(), alloc_barray(), alloc_sarray(), ROOT::Minuit2::StackAllocator::Allocate(), memstat::TMemStatMng::AllocHook(), TLatex::Analyse(), RooGExpModel::analyticalIntegral(), RooGaussModel::analyticalIntegral(), RooCBShape::analyticalIntegral(), RooTruthModel::analyticalIntegral(), RooAddition::analyticalIntegral(), ROOT::Math::GoFTest::AndersonDarlingTest(), Reflex::any_cast(), TGenListProxy::At(), TGenSetProxy::At(), TGenCollectionProxy::At(), bdf_cmap_char_index(), bdf_cmap_char_next(), TPySelector::Begin(), TMath::BesselI(), TMath::BesselI0(), TMath::BesselI1(), TMath::BesselJ0(), TMath::BesselJ1(), TMath::BesselK0(), TMath::BesselK1(), TMath::BesselY0(), TMath::BesselY1(), Bezier_Down(), TObjArray::BinarySearch(), TOrdCollection::BinarySearch(), TLDAPServer::Bind(), blur_asimage_gauss(), build_image_from_xml(), PyROOT::TMethodHolder< T, M >::CallFast(), CallPyObjMethod(), PyROOT::TMethodHolder< T, M >::CallSafe(), TPySelector::CallSelf(), CallSelfIndex(), TMath::CauchyDist(), TAlien::Cd(), cff_charset_cid_to_gindex(), cff_cmap_encoding_char_index(), cff_cmap_encoding_char_next(), cff_compute_bias(), cff_get_name_index(), cff_index_read_offset(), cff_parse_real(), cff_strcpy(), FTGlyphContainer::CharMap(), FTFont::CharMap(), TAlienPackage::CheckDependencies(), TAuthenticate::CheckNetrc(), TGeoElementTable::CheckTable(), cid_get_offset(), cid_get_postscript_name(), ClassImp(), TConfidenceLevel::CLb(), TClassEdit::CleanType(), TSessionViewer::CleanupSession(), TConfidenceLevel::CLsb(), combinedFit(), commit_xml_image_built(), TString::CompareTo(), TSystem::CompileMacro(), TFractionFitter::ComputeFCN(), TKDE::ComputeKernelIntegral(), TKDE::ComputeKernelL2Norm(), TKDE::ComputeKernelMu(), TKDE::ComputeKernelSigma2(), TLimit::ComputeLimit(), pcrecpp::Scanner::Consume(), TEntryListBlock::Contains(), ROOT::Minuit2::Minuit2Minimizer::Contour(), ROOT::Minuit2::MnContours::Contour(), RooAbsArg::crc32(), PyROOT::CreateConverter(), PyROOT::CreateExecutor(), RooAbsData::createHistogram(), RooAbsReal::createHistogram(), ROOT::CreateNameTypeMap(), RooStats::BernsteinCorrection::CreateQSamplingDist(), ROOT::Math::PositionVector3D< CoordSystem, Tag >::Cross(), ROOT::Math::DisplacementVector3D< CoordSystem, Tag >::Cross(), TSessionViewer::DeleteQuery(), demangle_fund_type(), demangle_qualified(), RooAbsArg::dependsOn(), DeRefGetAttr(), TPyDispatcher::DispatchVA(), TPie::DistancetoSlice(), do_arg(), do_type(), ROOT::Math::IntegrandTransform::DoEval(), ROOT::Math::GaussLegendreIntegrator::DoIntegral(), ROOT::Math::AdaptiveIntegratorMultiDim::DoIntegral(), DoIt(), TAdvancedGraphicsDialog::DrawConfidenceLevels(), TTreePlayer::DrawScript(), ROOT::Minuit2::eigenvalues(), ROOT::Minuit2::FumiliStandardChi2FCN::Elements(), ROOT::Minuit2::FumiliStandardMaximumLikelihoodFCN::Elements(), TGRegion::Eor(), TMVA::BinarySearchTreeNode::EqualsMe(), ROOT::Minuit2::MnUserTransformation::Errors(), TMVA::MethodFDA::EstimatorFunction(), TFoam::Eval(), TGraph::Eval(), TPython::Eval(), ROOT::Math::GSLDerivator::EvalBackward(), ROOT::Math::GSLDerivator::EvalCentral(), ROOT::Math::Chebyshev::EvalErr(), ROOT::Math::GSLDerivator::EvalForward(), TF1::EvalPar(), TFormula::EvalPrimitive(), RooGaussModel::evaluate(), RooAbsAnaConvPdf::evaluate(), TMVA::SVKernelFunction::Evaluate(), RooGExpModel::evaluate(), RooDataWeightedAverage::evaluatePartition(), RooChi2Var::evaluatePartition(), RooXYChi2Var::evaluatePartition(), RooNLLVar::evaluatePartition(), RooGenCategory::evalUserFunc(), TMVA::exampleGA(), TPython::Exec(), XrdProofdAdmin::Exec(), TPython::ExecScript(), PyROOT::TMethodHolder< T, M >::Execute(), fill_asimage(), RooAbsReal::fillHistogram(), PyROOT::TSetItemHolder< T, M >::FilterArgs(), find_key_mod(), TBranchElement::FindBranch(), RooAbsReal::findRoot(), TEfficiency::Fit(), TBinomialEfficiencyFitter::Fit(), fithist(), FitterPyCallback(), FitUsingRooFit(), FitUsingRooFit2(), flip_asimage(), fnt_cmap_char_next(), FollowGetAttr(), fpeaks(), fpeaks2(), ft_corner_orientation(), FT_Face_CheckTrueTypePatents(), FT_Face_GetCharsOfVariant(), FT_Face_GetCharVariantIndex(), FT_Face_GetCharVariantIsDefault(), FT_Face_GetVariantSelectors(), FT_Face_GetVariantsOfChar(), FT_Face_SetUnpatentedHinting(), FT_Get_Char_Index(), FT_Get_First_Char(), FT_Get_Gasp(), FT_Get_Module(), FT_Get_Name_Index(), FT_Get_Next_Char(), FT_Get_Postscript_Name(), FT_Get_TrueType_Engine_Type(), FT_Get_X11_Font_Format(), FT_Has_PS_Glyph_Names(), ft_lookup_glyph_renderer(), FT_Lookup_Renderer(), ft_lzwstate_get_code(), ft_lzwstate_io(), ft_module_get_service(), FT_Outline_Get_Orientation(), ft_service_list_lookup(), FT_Stream_GetChar(), FT_Stream_GetLong(), FT_Stream_GetLongLE(), FT_Stream_GetOffset(), FT_Stream_GetShort(), FT_Stream_GetShortLE(), FT_Stream_ReadChar(), FT_Stream_ReadLong(), FT_Stream_ReadLongLE(), FT_Stream_ReadOffset(), FT_Stream_ReadShort(), FT_Stream_ReadShortLE(), ftc_basic_family_get_count(), ftc_basic_gnode_compare_faceid(), FTC_Manager_FlushN(), ftc_snode_compare(), fun2(), TRandom::Gaus(), gaus2d(), gaus2dnormal(), gaus3d(), gdk_arg_context_new(), gdk_color_context_get_pixel(), gdk_drag_context_new(), gdk_dropfiles_filter(), gdk_error_trap_pop(), gdk_event_apply_filters(), gdk_event_translate(), gdk_font_full_name_get(), gdk_font_hash_lookup(), gdk_font_list_new(), gdk_init_check(), gdk_input_add_full(), gdk_keyval_to_lower(), gdk_keyval_to_upper(), gdk_pixmap_create_from_data(), GenEmulation(), GenObjectIsEqual(), GenObjectIsNotEqual(), TConfidenceLevel::Get3sProbability(), TConfidenceLevel::Get5sProbability(), get_dpy_drawable_size(), get_dpy_window_position(), get_value(), ROOT::GetArrayType(), TGFontPool::GetAttributeInfo(), TLDAPServer::GetAttributeTypes(), TConfidenceLevel::GetAverageCLs(), TConfidenceLevel::GetAverageCLsb(), TMVA::PDEFoam::GetAverageNeighborsValue(), TMVA::ResultsMulticlass::GetBestMultiClassCuts(), TKDTreeBinning::GetBinCenter(), TKDTreeBinning::GetBinMaxDensity(), TKDTreeBinning::GetBinMinDensity(), TKDTreeBinning::GetBinWidth(), TMVA::PDEFoam::GetCellDensity(), TMVA::PDEFoam::GetCellDiscr(), TMVA::PDEFoam::GetCellRegValue0(), ROOT::Fit::GetConfidenceIntervals(), TGenCollectionProxy::GetConversionReadMemberWiseActions(), TLDAPResult::GetCount(), TDataSetManagerFile::GetDataSetPath(), TDataSetManagerFile::GetDataSets(), TDirectoryFile::GetDirectory(), TDirectory::GetDirectory(), THDFSSystem::GetDirEntry(), TEntryList::GetEntryAndTree(), TEntryListFromFile::GetEntryAndTree(), TKDE::GetError(), TBackCompFitter::GetErrors(), TConfidenceLevel::GetExpectedCLb_b(), TConfidenceLevel::GetExpectedCLb_sb(), TConfidenceLevel::GetExpectedCLsb_b(), TKDE::GetFixedWeight(), GetFunctionName(), TAlienCollection::GetGridResult(), TMakeProject::GetHeaderName(), XrdNetDNS::getHostName(), TGHtml::GetImageAlignment(), TMVA::TNeuronInputSqSum::GetInput(), TMVA::TNeuronInputAbs::GetInput(), TMVA::TNeuronInputSum::GetInput(), TFormLeafInfoReference::GetLocalValuePointer(), TClassEdit::GetLong64_Name(), TMVA::MethodFisher::GetMvaValue(), TLDAPServer::GetNamingContexts(), TLDAPServer::GetObjectClasses(), TKDE::GetRAMISE(), TGenCollectionProxy::GetReadMemberWiseActions(), TDocMacroDirective::GetResult(), TDocLatexDirective::GetResult(), TDocHtmlDirective::GetResult(), TBackCompFitter::GetStats(), TLDAPServer::GetSubschemaSubentry(), TUri::GetUri(), gl2psTraverseBspTree(), globus_gsi_cred_check_proxy(), globus_gsi_cred_get_cert_type(), globus_gsi_cred_read(), globus_gsi_cred_read_cert(), globus_gsi_cred_read_key(), globus_gsi_cred_read_pkcs12(), globus_gsi_cred_read_proxy(), globus_gsi_cred_read_proxy_bio(), globus_gsi_cred_write(), globus_gsi_cred_write_proxy(), globus_i_gsi_cred_get_proxycertinfo(), globus_l_gfs_posix_stat(), globus_l_gsi_cred_get_service(), globus_l_gsi_cred_subject_cmp(), globus_l_gsi_credential_activate(), globus_l_gsi_credential_deactivate(), TMVA::DecisionTreeNode::GoesRight(), TASImage::Gray(), gxv_kern_coverage_validate(), handle_asxml_tag_background(), handle_asxml_tag_bevel(), handle_asxml_tag_blur(), handle_asxml_tag_color2alpha(), handle_asxml_tag_composite(), handle_asxml_tag_crop(), handle_asxml_tag_gradient(), handle_asxml_tag_hsv(), handle_asxml_tag_img(), handle_asxml_tag_mirror(), handle_asxml_tag_pad(), handle_asxml_tag_pixelize(), handle_asxml_tag_recall(), handle_asxml_tag_rotate(), handle_asxml_tag_save(), handle_asxml_tag_scale(), handle_asxml_tag_slice(), handle_asxml_tag_solid(), handle_asxml_tag_text(), handle_asxml_tag_tile(), TDocParser::HandleDirective(), PyROOT::HandleReturn(), TFormLeafInfoReference::HasCounter(), TFormLeafInfo::HasCounter(), PyROOT::im_call(), RooStats::BernsteinCorrection::ImportCorrectedPdf(), TPySelector::Init(), ROOT::Minuit2::MnUserTransformation::Int2extCovariance(), ROOT::Math::GSLInterpolator::Integ(), RooGaussKronrodIntegrator1D::integral(), RooImproperIntegrator1D::integral(), TF2::Integral(), TF3::Integral(), RooSegmentedIntegrator1D::integral(), RooAdaptiveGaussKronrodIntegrator1D::integral(), integral_TF1(), TF1::IntegralMultiple(), InteractiveFCN(), InteractiveFCNm(), InteractiveFCNm2(), TH3::Interpolate(), TMVA::MethodFDA::InterpretFormula(), TGRegion::Intersect(), TGTextLayout::IntersectText(), TestInverter< TMatrixDSym, Cramer >::Inv(), TestInverter< TMatrixDSym, Choleski >::Inv(), TestInverter< SymMatrix, Choleski >::Inv(), TestInverter< SymMatrix, BK >::Inv(), TestInverter< SymMatrix, Cramer >::Inv(), TestInverter< TMatrixDSym, Default >::Inv(), TestInverter< TMatrixDSym, BK >::Inv(), ROOT::Math::AxisAngle::Inverse(), invert(), TMVA::BinarySearchTree::InVolume(), TAlienPackage::IsDirectory(), TGX11::IsDNDAware(), jtransform_perfect_transform(), ROOT::Math::GoFTest::KolmogorovSmirnovTest(), LDAPExample(), length(), Line_Down(), TAlien::ListPackages(), load_gauss_scanline(), TGLite::Ls(), TROOT::Macro(), make_gradient_diag_height(), make_gradient_top2bottom(), MapContains(), TGuiBldNameFrame::MapItems(), RooAbsReal::matchArgs(), TMVA::MaximizeSignificance(), mcalloc(), TFileMerger::Merge(), TUri::MergePaths(), MetadataImporterPluginFactory(), ROOT::Minuit2::VariableMetricBuilder::Minimum(), ROOT::Minuit2::FumiliBuilder::Minimum(), Minuit2InteractiveFCN(), mirror_asimage(), TAlien::Mkdir(), mmalloc(), mmalloc_setkey(), mmemalign(), morecore(), PyROOT::mp_call(), mrealloc(), TMVA::Tools::MVADiff(), RooCFunction1Ref< VO, VI >::name(), RooCFunction4Ref< VO, VI1, VI2, VI3, VI4 >::name(), RooCFunction2Ref< VO, VI1, VI2 >::name(), RooCFunction3Ref< VO, VI1, VI2, VI3 >::name(), TEntryList::Next(), TEntryListBlock::Next(), TPySelector::Notify(), pcrecpp::RE::NumberOfCapturingGroups(), ObjectProxyExpand(), TNewQueryDlg::OnBtnCloseClicked(), TSessionServerFrame::OnBtnDeleteClicked(), PyROOT::op_nonzero(), PyROOT::op_reduce(), operator &(), ROOT::Minuit2::MnParameterScan::operator()(), ROOT::Minuit2::MnCovarianceSqueeze::operator()(), PyROOT::TTreeSetBranchAddress::operator()(), RooDataProjBinding::operator()(), ROOT::Math::GoFTest::operator()(), ROOT::Minuit2::MnVectorTransform::operator()(), RooHistError::BinomialSumEff::operator()(), RooHistError::PoissonSum::operator()(), ROOT::Minuit2::MnEigen::operator()(), RooHistError::BinomialSumAsym::operator()(), PyROOT::TTreeBranch::operator()(), ROOT::Minuit2::MnTiny::operator()(), Cint::G__CallFunc::operator=(), operator^(), operator|(), otv_Coverage_get_count(), otv_Coverage_get_last(), pad_asimage(), ROOT::Minuit2::MnUserTransformation::Params(), parse_font_matrix(), TGFontPool::ParseFontName(), TTreeDrawArgsParser::ParseName(), TTreeDrawArgsParser::ParseVarExp(), pcf_cmap_char_index(), pcf_cmap_char_next(), pfr_aux_name_load(), pfr_cmap_char_next(), pfr_header_check(), pfr_log_font_count(), TAlienPackage::PostInstall(), PyROOT::pp_get(), TEntryListBlock::PrintWithShift(), TPySelector::Process(), TROOT::ProcessLineFast(), TMVA::PDEFoam::Project2(), PyROOT::pt_new(), TAlien::Pwd(), PyCtorCallback(), TGLite::Query(), QuickLookGeneratorPluginFactory(), pcrecpp::RE::QuoteMeta(), ROOT::TBranchProxy::Read(), TFITSHDU::ReadAsHistogram(), TNetFile::ReadBuffer(), TXNetFile::ReadBuffer(), TXNetFile::ReadBufferAsync(), TNetFile::ReadBuffers(), TFile::ReadBuffers(), TDCacheFile::ReadBuffers(), TFormLeafInfoReference::ReadCounterValue(), TLatex::Readfs(), TFormLeafInfoReference::ReadValue(), TFormLeafInfoMethod::ReadValue(), TAlien::Register(), TProofLite::RegisterDataSet(), TProof::RegisterDataSet(), RooAbsCollection::remove(), RooSetProxy::remove(), request_virt_barray(), request_virt_sarray(), TSessionViewer::ResetSession(), TGHtml::ResolveUri(), TAlien::Rm(), TAlien::Rmdir(), RootdCheckTab(), RunTests(), GoFTStress::RunTests(), sample_volume(), sbrk_morecore(), ROOT::Minuit2::Minuit2Minimizer::Scan(), ROOT::Minuit2::MnScan::Scan(), TDataSetManagerFile::ScanDataSet(), TDataSetManager::ScanDataSet(), TLDAPServer::Search(), TF1::SetFitResult(), TGDNDManager::SetRootProxy(), TSessionFrame::ShutdownSession(), TPySelector::SlaveBegin(), TPySelector::SlaveTerminate(), source_context_new(), ROOT::TSchemaRuleProcessor::SplitDeclaration(), SRPAuthenticate(), ssl_select(), TAlien::Submit(), TGRegion::Subtract(), TAlienFile::SUrl(), THDFSFile::SysClose(), t1_cmap_custom_char_index(), t1_cmap_custom_char_next(), t1_cmap_std_char_index(), t1_cmap_std_char_next(), T1_Set_MM_Blend(), target_context_new(), TClassDynamicCast(), TClassStaticCast(), TCollectionAdd(), TCollectionExtend(), TCollectionMul(), TCollectionRemove(), TDirectoryWriteObject(), TPySelector::Terminate(), TBits::TestBitNumber(), testDerivation(), testDot_C(), testDot_S(), testDot_T(), testInnerProd_C(), testInnerProd_S(), testInnerProd_T(), testVavilov(), TFNPyCallback(), TGenCollectionProxy__SlowNext(), THNIMul(), TMinuitPyCallback(), TObjectContains(), TGHtml::Tokenize(), TEntryListBlock::Transform(), TSeqCollectionDelItem(), TSeqCollectionPop(), TSeqCollectionReverse(), TSeqCollectionSetItem(), TSeqCollectionSort(), tt_face_get_device_metrics(), tt_face_get_kerning(), tt_face_get_name(), tt_get_interface(), TGRegion::Unite(), GoFTStress::UnitTest1(), GoFTStress::UnitTest2(), GoFTStress::UnitTest3(), GoFTStress::UnitTest4(), GoFTStress::UnitTest5(), GoFTStress::UnitTest6(), GoFTStress::UnitTest7(), FitEditorUnitTesting::UnitTesting(), TSessionQueryFrame::UpdateInfos(), TPySelector::Version(), waves(), TMVA::PDEFoam::WeightLinNeighbors(), WinNTSelect(), XrdSecProtocolsslProcFile::Write(), TNetFile::WriteBuffer(), TKey::WriteFile(), and TKey::WriteFileKeepBuffer().

void waves ( Double_t  d = 3,
Double_t  lambda = 1,
Double_t  amp = 10 
)

Definition at line 51 of file waves.C.

References c1, TCanvas::cd(), TPad::cd(), d, dr, TF2::Draw(), TPad::Draw(), TArc::DrawArc(), finter, graph(), gStyle, i, interference(), kTRUE, line, TPad::Modified(), palette, pow(), TPad::Range(), result(), TF2::SetContour(), TPad::SetEditable(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TF1::SetNpx(), TF2::SetNpy(), TStyle::SetPalette(), TFormula::SetParameters(), title, and TCanvas::Update().


Variable Documentation

TF2* finter

Definition at line 16 of file waves.C.

Referenced by waves().


Generated on Tue Jul 5 16:09:33 2011 for ROOT_528-00b_version by  doxygen 1.5.1