https://github.com/root-project/root
- HEAD
- refs/heads/latest-stable
- refs/heads/master
- refs/heads/v5-34-00-patches
- refs/heads/v6-06-00-patches
- refs/heads/v6-08-00-patches
- refs/heads/v6-10-00-patches
- refs/heads/v6-12-00-patches
- refs/heads/v6-14-00-patches
- refs/heads/v6-16-00-patches
- refs/heads/v6-18-00-patches
- refs/heads/v6-20-00-patches
- refs/heads/v6-22-00-patches
- refs/heads/v6-24-00-patches
- refs/heads/v6-26-00-patches
- refs/heads/v6-28-00-patches
- refs/heads/v6-30-00-patches
- refs/heads/v6-32-00-patches
- refs/tags/v6-01-03-CMS
- refs/tags/v6-07-07-aliceml
- refs/tags/v6-12-05-art-rc1
- refs/tags/v6-22-00-rc1
- refs/tags/v6-33-01
- v6.30.06
- v6-32-04
- v6-32-02
- v6-32-00-rc1
- v6-32-00
- v6-31-01
- v6-30-08
- v6-30-04
- v6-30-03
- v6-30-02
- v6-30-01
- v6-30-00a
- v6-30-00-rc1
- v6-30-00
- v6-29-02
- v6-29-01
- v6-28-12
- v6-28-10
- v6-28-08
- v6-28-06
- v6-28-04
- v6-28-02
- v6-28-00-rc1
- v6-28-00
- v6-27-02
- v6-26-16
- v6-26-14
- v6-26-12
- v6-26-10
- v6-26-08
- v6-26-06
- v6-26-04
- v6-26-02
- v6-26-00
- v6-25-02
- v6-25-01
- v6-24-08
- v6-24-06
- v6-24-04
- v6-24-02
- v6-24-00-rc1
- v6-24-00
- v6-23-02
- v6-23-01-RF-binSampling
- v6-23-01
- v6-22-08
- v6-22-06
- v6-22-04
- v6-22-02
- v6-22-00
- v6-21-02
- v6-20-08
- v6-20-06
- v6-20-04
- v6-20-02
- v6-20-00-rc1
- v6-20-00
- v6-19-02
- v6-19-01
- v6-18-04
- v6-18-02
- v6-18-00-rc1
- v6-18-00
- v6-17-02
- v6-16-00-rc1
- v6-16-00
- v6-15-02
- v6-14-08
- v6-14-06
- v6-14-04
- v6-14-02
- v6-14-00-rc1
- v6-14-00
- v6-13-08
- v6-13-06
- v6-13-04
- v6-13-02
- v6-12-06
- v6-12-04
- v6-12-02
- v6-11-02
- v6-10-08
- v6-10-06
- v6-10-04
- v6-10-02
- v6-10-00
- v6-09-04
- v6-09-02
- v6-09-01
- v6-08-06
- v6-08-04
- v6-08-02
- v6-08-00-rc1
- v6-08-00
- v6-07-06
- v6-07-04
- v6-07-02
- v6-07-01-SMC
- v6-07-01-ROOTaaS-1
- v6-06-08
- v6-06-06
- v6-06-04
- v6-06-02
- v6-06-00-rc1
- v6-06-00
- v6-05-02
- v6-05-01
- v6-04-18
- v6-04-16
- v6-04-14
- v6-04-12
- v6-04-10
- v6-04-08
- v6-04-06
- v6-04-04
- v6-04-02
- v6-04-00-patches
- v6-04-00
- v6-03-04
- v6-03-02
- v6-03-01-GEANT
- v6-02-12
- v6-02-10
- v6-02-08
- v6-02-05
- v6-02-04
- v6-02-03
- v6-02-02
- v6-02-01
- v6-02-00-rc1
- v6-02-00-patches
- v6-02-00
- v6-00-02
- v6-00-01
- v6-00-00-patches
- v6-00-00
- v5-99-06
- v5-99-05-lhcb
- v5-99-05
- v5-99-04
- v5-99-03-02
- v5-99-03-01
- v5-99-03
- v5-99-02
- v5-34-38
- v5-34-36
- v5-34-34
- v5-34-32
- v5-34-30
- v5-34-28
- v5-34-26
- v5-34-25
- v5-34-24
- v5-34-23
- v5-34-22
- v5-34-21
- v5-34-20
- v5-34-19
- v5-34-18
- v5-34-17
- v5-34-16
- v5-34-15
- v5-34-14
- v5-34-13
- v5-34-12
- v5-34-11
- v5-34-10
- v5-34-09
- v5-34-08
- v5-34-07
- v5-34-06
- v5-34-05
- v5-34-04
- v5-34-03
- v5-34-02
- v5-34-01
- v5-34-00-rc1
- v5-34-00
- v5-33-02b
- v5-33-02a
- v5-33-02
- v5-32-04
- v5-32-03
- v5-32-02
- v5-32-01
- v5-32-00-rc2
- v5-32-00-rc1
- v5-32-00-patches
- v5-32-00
- v5-30-06
- v5-30-05
- v5-30-04
- v5-30-03
- v5-30-02
- v5-30-01
- v5-30-00-rc2
- v5-30-00-rc1
- v5-30-00-patches
- v5-30-00
- v5-29-02
- v5-28-00h
- v5-28-00g
- v5-28-00f
- v5-28-00e
- v5-28-00d
- v5-28-00c
- v5-28-00b
- v5-28-00a
- v5-28-00-patches
- v5-28-00
- v5-27-06d
- v5-27-06c
- v5-27-06b
- v5-27-06a
- v5-27-06-patches
- v5-27-06
- v5-27-04
- v5-27-02
- v5-26-00g
- v5-26-00f
- v5-26-00e
- v5-26-00d
- v5-26-00c
- v5-26-00b
- v5-26-00a
- v5-26-00-patches
- v5-26-00
- v5-25-04
- v5-25-02
- v5-25-01-alice
- v5-24-00b-caf
- v5-24-00b
- v5-24-00a
- v5-24-00-patches
- v5-24-00
- v5-23-04
- v5-23-02
- v5-22-00j
- v5-22-00i
- v5-22-00h
- v5-22-00g
- v5-22-00f
- v5-22-00e
- v5-22-00d
- v5-22-00c
- v5-22-00b
- v5-22-00a
- v5-22-00-patches
- v5-22-00
- v5-21-06
- v5-21-04
- v5-21-02
- v5-21-01-alice
- v5-20-00-patches
- v5-20-00
- v5-19-04
- v5-19-02a
- v5-19-02
- v5-18-00f
- v5-18-00e
- v5-18-00d
- v5-18-00c
- v5-18-00b
- v5-18-00a
- v5-18-00-patches
- v5-18-00
- v5-17-08
- v5-17-06
- v5-17-04
- v5-17-03a
- v5-17-02
- v5-16-25
- v5-16-24
- v5-16-23
- v5-16-22
- v5-16-21
- v5-16-20
- v5-16-19
- v5-16-18
- v5-16-17
- v5-16-16
- v5-16-15
- v5-16-14
- v5-16-00
- v5-15-08-caf
- v5-15-08
- v5-15-06
- v5-15-04
- v5-15-02
- v5-14-00i
- v5-14-00h
- v5-14-00g
- v5-14-00f
- v5-14-00e
- v5-14-00d
- v5-14-00c
- v5-14-00b
- v5-14-00a
- v5-14-00-patches
- v5-14-00
- v5-13-06
- v5-13-04e
- v5-13-04d
- v5-13-04c
- v5-13-04b
- v5-13-04a
- v5-13-04-patches
- v5-13-04
- v5-13-02
- v5-12-00h
- v5-12-00g
- v5-12-00f
- v5-12-00e
- v5-12-00d
- v5-12-00c
- v5-12-00b
- v5-12-00a
- v5-12-00-patches
- v5-12-00
- v5-11-06a
- v5-11-06
- v5-11-04
- v5-11-02
- v5-11-01-alice
- v5-10-00f
- v5-10-00e
- v5-10-00d
- v5-10-00c
- v5-10-00b
- v5-10-00a
- v5-10-00-patches
- v5-10-00
- v5-09-01-alien
- v5-08-00b
- v5-08-00a
- v5-08-00-patches
- v5-08-00
- v5-06-00
- v5-05-01-alien
- v5-04-00
- v5-03-01-alien
- v5-02-00
- v4-04-02g
- v4-04-02f
- v4-04-02e
- v4-04-02d
- v4-04-02c
- v4-04-02b
- v4-04-02a
- v4-04-02-patches
- v4-04-02
- v4-03-04a
- v4-03-04-patches
- v4-03-04
- v4-03-02
- v4-02-00
- v4-01-04a
- v4-01-04
- v4-01-02
- v4-00-08f
- v4-00-08e
- v4-00-08d
- v4-00-08c
- v4-00-08b
- v4-00-08a
- v4-00-08-patches
- v4-00-08
- v4-00-06a
- v4-00-06
- v4-00-04
- v4-00-03
- v4-00-02
- v4-00-01
- v3-10-03
- v3-10-02
- v3-10-01a
- v3-10-01
- v3-05-07a
- v3-05-07
- v3-05-06
- v3-05-05
- v3-05-04
- v3-05-03
- v3-05-02
- v3-05-01
- v3-05-00
- v3-04-02
- v3-04-01
- v3-03-09b
- v3-03-09a
- v3-03-09
- v3-03-08
- v3-03-07
- v3-03-06
- v3-03-05
- v3-03-04
- v3-03-03
- v3-03-02
- v3-03-01
- v3-02-07
- v3-02-06
- v3-02-05
- v3-02-04
- v3-02-03
- v3-02-02
- v3-02-01
- v3-02-00
- v3-01-06
- v3-01-05
- v3-01-03
- v3-01-02
- v3-01-01
- v3-00-06
- v3-00-05
- v3-00-04
- v3-00-02
- v3-00-01
- v2-26-final
- v2-26-01
- v2-26-00
- v2-25-final
- v2-25-03
- v2-25-02
- v2-25-01
- v2-25-00
- v2-24-05
Raw File
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.![swh spinner](/static/img/swh-spinner.gif)
Processing "take a new snapshot" request ...
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: e647e2a9fc95a4c83f6581993e044ba261731f04 authored by Unknown Author on 18 August 2006, 13:34:07 UTC
This commit was manufactured by cvs2svn to create tag 'v5-12-00c'.
This commit was manufactured by cvs2svn to create tag 'v5-12-00c'.
Tip revision: e647e2a
mrt.py
"""
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.
"""
import sys, string
from ROOT import TFile, TNtuple
ifn = 'aptuple.txt'
ofn = 'aptuple.root'
print 'opening file', ifn, '...'
infile = open( 'aptuple.txt', 'r' )
lines = infile.readlines()
title = lines[0]
labels = string.split( lines[1] )
print 'writing file', ofn, '...'
outfile = TFile( ofn, 'RECREATE', 'ROOT file with an NTuple' )
ntuple = TNtuple( 'ntuple', title, string.join( labels, ':') )
for line in lines[2:]:
words = string.split( line )
row = map( float, words )
apply( ntuple.Fill, row )
outfile.Write()
print 'done'