Repository navigation
[hbook] Pass the full 64 bit buffer address to HBNAM #23938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
guitargeek
merged 1 commit into
root-project:master
from
guitargeek:h2root-cwn-address-23628
Nov 3, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| Converting directory //example | ||
| Converting CWN with ID= 100, nentries = 7 | ||
| Creating branch:Ivar, block:SCALARS, fullname:Ivar/I, nsub=0, itype=2, isize=4, ielem=1 | ||
| Creating branch:Fvar, block:SCALARS, fullname:Fvar/F, nsub=0, itype=1, isize=4, ielem=1 | ||
| Creating branch:Nel, block:ARRAYS, fullname:Nel/I, nsub=0, itype=2, isize=4, ielem=1 | ||
| Creating branch:Arr, block:ARRAYS, fullname:Arr[Nel]/F, nsub=1, itype=1, isize=4, ielem=3 | ||
| ****************************************************************************** | ||
| *Tree :h100 : cwn * | ||
| *Entries : 7 : Total = 3010 bytes File Size = 0 * | ||
| * : : Tree compression factor = 1.00 * | ||
| ****************************************************************************** | ||
| *Br 0 :Ivar : Ivar/I * | ||
| *Entries : 7 : Total Size= 667 bytes One basket in memory * | ||
| *Baskets : 0 : Basket Size= 64000 bytes Compression= 1.00 * | ||
| *............................................................................* | ||
| *Br 1 :Fvar : Fvar/F * | ||
| *Entries : 7 : Total Size= 667 bytes One basket in memory * | ||
| *Baskets : 0 : Basket Size= 64000 bytes Compression= 1.00 * | ||
| *............................................................................* | ||
| *Br 2 :Nel : Nel/I * | ||
| *Entries : 7 : Total Size= 661 bytes One basket in memory * | ||
| *Baskets : 0 : Basket Size= 64000 bytes Compression= 1.00 * | ||
| *............................................................................* | ||
| *Br 3 :Arr : Arr[Nel]/F * | ||
| *Entries : 7 : Total Size= 796 bytes One basket in memory * | ||
| *Baskets : 0 : Basket Size= 64000 bytes Compression= 1.00 * | ||
| *............................................................................* | ||
| TFile** cwn.root HBOOK file: cwn.hbook converted to ROOT | ||
| TFile* cwn.root HBOOK file: cwn.hbook converted to ROOT | ||
| KEY: TH1F h1;1 FVAR | ||
| KEY: TTree h100;1 cwn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| * Generator for cwn.hbook, the input of the h2root-cwn test. | ||
| * Build against CERNLIB, which must be linked without PIE so that the | ||
| * commons live in the low 32 bit address space: | ||
| * gfortran -fno-pie -no-pie -fno-automatic -o mkcwn mkcwn.f \ | ||
| * -lpacklib -lmathlib -lkernlib | ||
| PROGRAM MKCWN | ||
| INTEGER NWPAWC | ||
| PARAMETER (NWPAWC = 100000) | ||
| COMMON /PAWC/ H(NWPAWC) | ||
| INTEGER IVAR, NEL | ||
| REAL FVAR, ARR(3) | ||
| COMMON /CWNBLK/ IVAR, FVAR, NEL, ARR | ||
| INTEGER ISTAT, ICYCLE, I, J | ||
| CALL HLIMIT(NWPAWC) | ||
| CALL HROPEN(10, 'TEST', 'cwn.hbook', 'N', 1024, ISTAT) | ||
| IF (ISTAT .NE. 0) STOP 'HROPEN failed' | ||
| CALL HBOOK1(1, 'FVAR', 10, 0., 10., 0.) | ||
| CALL HBNT(100, 'cwn test', ' ') | ||
| CALL HBNAME(100, 'SCALARS', IVAR, 'IVAR:I*4,FVAR:R*4') | ||
| CALL HBNAME(100, 'ARRAYS', NEL, 'NEL[0,3]:I*4,ARR(NEL):R*4') | ||
| DO 20 I = 1, 7 | ||
| IVAR = I | ||
| FVAR = 0.5*I | ||
| NEL = MOD(I, 4) | ||
| DO 10 J = 1, NEL | ||
| ARR(J) = I + 0.1*J | ||
| 10 CONTINUE | ||
| CALL HFILL(1, FVAR, 0., 1.) | ||
| CALL HFNT(100) | ||
| 20 CONTINUE | ||
| CALL HROUT(0, ICYCLE, ' ') | ||
| CALL HREND('TEST') | ||
| CLOSE(10) | ||
| END |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.