Hi,
there is a bug with the /analysis/h2/setX
commad.
Version Geant4 11.1.2
examples/extended/eventgenerator/exgps/macros/test01.mac
This macro with added line /control/verbose 1
results to:
### Run 0 starts.
... set ntuple merging row mode : row-wise - done
... create file : test01.root - done
... open analysis file : test01.root - done
... open analysis file : test01.root - done
G4WT0 > /analysis/setFileName test01
G4WT0 > /analysis/h1/set 3 110 -1.1 1.1 none
G4WT0 > /analysis/h1/set 4 130 -15 375 deg
G4WT0 > /analysis/h2/setX 4 120 0 360 deg
G4WT0 > /analysis/h2/setY 4 100 -1 1 none
G4WT0 >
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W001
issued by : G4Analysis::CheckDimension
Illegal value of number of x bins: nbins <= 0.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
G4WT0 >
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W001
issued by : G4Analysis::CheckDimension
Illegal value of x (min >= max)
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
G4WT0 >
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W001
issued by : G4Analysis::CheckDimension
Illegal value of number of y bins: nbins <= 0.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
G4WT0 >
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W001
issued by : G4Analysis::CheckDimension
Illegal value of y (min >= max)
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
G4WT0 > /run/printProgress 10000
But replacing the two lines with the third:
#/analysis/h2/setX 4 120 0 360 deg
#/analysis/h2/setY 4 100 -1 1 none
/analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
everything works fine.
### Run 0 starts.
... set ntuple merging row mode : row-wise - done
... create file : test01.root - done
... open analysis file : test01.root - done
... open analysis file : test01.root - done
G4WT0 > /analysis/setFileName test01
G4WT0 > /analysis/h1/set 3 110 -1.1 1.1 none
G4WT0 > /analysis/h1/set 4 130 -15 375 deg
G4WT0 > /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
G4WT0 > /run/printProgress 10000
This Bug is not in version 11.0.0
Please, can someone confirm this behavior?
Best regards
Henning