ROOT
6.07/01
Reference Guide
|
Variables | |
string | ifn = 'aptuple.txt' |
string | ofn = 'aptuple.root' |
tuple | infile = open( 'aptuple.txt', 'r' ) |
tuple | lines = infile.readlines() |
list | title = lines[0] |
tuple | labels = string.split( lines[1] ) |
tuple | outfile = TFile( ofn, 'RECREATE', 'ROOT file with an NTuple' ) |
tuple | ntuple = TNtuple( 'ntuple', title, string.join( labels, ':') ) |
tuple | words = string.split( line ) |
tuple | row = map( float, words ) |
Build ROOT Ntuple from other source. This program reads the `aptuple.txt' file row by row, then creates the Ntuple by adding row by row.
string mrt.ifn = 'aptuple.txt' |
Definition at line 11 of file mrt.py.
Referenced by TProofPerfAnalysis.FillFileDist(), TProofPerfAnalysis.FillFileDistOneSrv(), TProofPerfAnalysis.FillFileInfo(), and TProofPerfAnalysis.GetWrkFileList().
tuple mrt.infile = open( 'aptuple.txt', 'r' ) |
Definition at line 15 of file mrt.py.
Referenced by TAlienCollection.GetOutputFileName(), IsTextFile(), main(), ModelInspector(), OneSidedFrequentistUpperLimitWithBands(), ROOT::R.R_custom_completion(), TProofResourcesStatic.ReadConfigFile(), StandardBayesianMCMCDemo(), StandardBayesianNumericalDemo(), StandardFeldmanCousinsDemo(), StandardFrequentistDiscovery(), StandardHistFactoryPlotsWithCategories(), StandardHypoTestDemo(), StandardHypoTestInvDemo(), StandardProfileInspectorDemo(), StandardProfileLikelihoodDemo(), StandardTestStatDistributionDemo(), TGraph.TGraph(), TGraph2D.TGraph2D(), TGraphErrors.TGraphErrors(), and TwoSidedFrequentistUpperLimitWithBands().
tuple mrt.labels = string.split( lines[1] ) |
Definition at line 18 of file mrt.py.
Referenced by TH3.DoProject1D(), TH2.DoProjection(), TProfile.LabelsOption(), TProfile2D.LabelsOption(), TH1.LabelsOption(), THStack.Paint(), and TProfile.ProjectionX().
tuple mrt.lines = infile.readlines() |
Definition at line 16 of file mrt.py.
Referenced by TProofProgressMemoryPlot.DoAveragePlot(), TProofProgressMemoryPlot.DoMasterPlot(), TGVSlider.DoRedraw(), TGHSlider.DoRedraw(), TGDoubleVSlider.DoRedraw(), TGDoubleHSlider.DoRedraw(), TProofProgressMemoryPlot.DoWorkerPlot(), XrdProofdAdmin.ExecCmd(), Function(), TRint.PrintLogo(), TGX11.PutImage(), TGWin32.PutImage(), TProof.PutLog(), XrdProofdNetMgr.ReadBufferLocal(), TProofResourcesStatic.ReadConfigFile(), TMVA::RuleFitAPI.ReadModelSum(), TGLAnnotation.Render(), RooStats::HistFactory::HistoToWorkspaceFactoryFast.SetFunctionsToPreprocess(), TGTextView.ShowBottom(), and TGTextView.VLayout().
string mrt.ofn = 'aptuple.root' |
Definition at line 12 of file mrt.py.
Referenced by TQueryResultManager.SaveQuery().
Definition at line 21 of file mrt.py.
Referenced by TProofPlayerRemote.AddOutputObject(), TDocOutput.Convert(), TDocOutput.CreateClassTypeDefs(), TProof.HandleOutputOptions(), main(), TProofPlayerRemote.MergeOutputFiles(), TMVA::CCPruner.Optimize(), TProofLite.Process(), TProof.Process(), TDocOutput.ProcessDocInDir(), TFoam.RootPlot2dim(), TMVA::PDEFoam.RootPlot2dim(), rs603_HLFactoryElaborateExample(), TProofBench.SetOutFile(), writeedges(), writeelements(), writeneighbors(), writenodes(), writepoly(), and writevoronoi().
tuple mrt.row = map( float, words ) |
Definition at line 26 of file mrt.py.
Referenced by TFITSHDU._release_resources(), RooDataHist.add(), TResponseTable.AddElement(), TUnfold.AddMSparse(), TUnfold.AddRegularisationCondition(), TMVA::MethodANNBase.AddWeightsXMLTo(), assembly(), TMVA::VariablePCATransform.AttachXMLTo(), TTreeSQL.CheckTable(), ClassImp(), TAlien.Command(), RooFitResult.correlation(), RooFitResult.covariance(), TTreeSQL.CreateBranches(), TIndexTable.CreateDescriptor(), TSQLFile.DeleteKeyFromDB(), TGQuartz.DrawFTGlyphIntoPixmap(), TGX11TTF.DrawImage(), TGWin32.DrawImage(), TGTable.ExpandRows(), TTableSorter.FillIndexArray(), TGTable.FindCell(), TResponseTable.FindResponseLocation(), TGTableLayout.FindRowColSizesHomogeneous(), TGTableLayout.FindRowColSizesMultiplyAttached(), TGTableLayout.FindRowColSizesSinglyAttached(), TFITSHDU.GetArrayRow(), TGTable.GetCell(), TAlien.GetColumn(), TTreeSQL.GetColumnIndice(), TGTableLayout.GetDefaultSize(), TTreeSQL.GetEntries(), TSQLFile.GetLocking(), TSQLFile.GetLongString(), TUnfoldDensity.GetLxMinusBias(), TSQLObjectDataPool.GetObjectRow(), TProofServ.GetPriority(), TMySQLServer.GetTableInfo(), TSQLServer.GetTableInfo(), TODBCServer.GetTablesList(), TMySQLServer.GetTablesList(), TSQLServer.GetTablesList(), TFITSHDU.GetTabRealVectorCells(), TFITSHDU.GetTabRealVectorColumn(), TFITSHDU.GetTabStringColumn(), TGSimpleTableInterface.GetValue(), TTreeTableInterface.GetValue(), TTreeTableInterface.GetValueAsString(), gl2psPrintPostScriptPixmap(), TGTable.Init(), TMVA::LDA.Initialize(), RooFitResult.isIdentical(), TGTableLayout.Layout(), TFITSHDU.LoadHDU(), TMultiDimFit.MakeCoefficients(), TEveTrans.MultLeft(), TEveTrans.MultRight(), TMySQLResult.Next(), TPgSQLResult.Next(), TTreeResult.Next(), TOracleResult.Next(), TMatrixTSparseRow< Element >.operator()(), TMatrixTSparseDiag< Element >.operator()(), TMatrixTSparseRow< Element >.operator=(), TTable.Print(), TEveTrans.Print(), TFITSHDU.PrintFullTable(), TMatrixTSparse< Element >.RandomizePD(), TSQLFile.ReadConfigurations(), TMVA::VariablePCATransform.ReadFromXML(), TMVA::VariableDecorrTransform.ReadFromXML(), TSQLFile.ReadSQLClassInfos(), TMVA::Tools.ReadTMatrixDFromXML(), TMVA::VariablePCATransform.ReadTransformationFromStream(), TMVA::VariableDecorrTransform.ReadTransformationFromStream(), TMVA::MethodANNBase.ReadWeightsFromXML(), RooDataHist.reduceEng(), TEveTrans.RotateLF(), RooDataHist.set(), TGText.SetCurrentRow(), TResponseTable.SetResponse(), TGTableLayout.SetRowColSizesInit(), TGTable.ShrinkRows(), RooAbsData.split(), TSQLFile.SQLMaximumValue(), TSQLFile.SQLObjectInfo(), TSQLFile.SQLObjectsInfo(), sqlselect(), TSQLFile.StreamKeysForDirectory(), ROOT::Math::SVector< T, D >.Sub(), TUnfoldSys.SubtractBackground(), TRandom1.TRandom1(), TMVA::Tools.WriteTMatrixDToXML(), TMVA::VariablePCATransform.WriteTransformationToStream(), and TMVA::VariableDecorrTransform.WriteTransformationToStream().
tuple mrt.words = string.split( line ) |