Message: Re: Sampling .root histogram within Geant4? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Sampling .root histogram within Geant4? 

Forum: Analysis
Re: Question Sampling .root histogram within Geant4? (Jonning Kennethson)
Re: None Re: Sampling .root histogram within Geant4? (Andreas Pfeiffer)
Re: Question Re: Sampling .root histogram within Geant4? (Jonning Kennethson)
Re: None Re: Sampling .root histogram within Geant4? (Andreas Pfeiffer)
Re: None Re: Sampling .root histogram within Geant4? (Guy Barrand)
Re: Question Re: Sampling .root histogram within Geant4? (Jonning Kennethson)
Date: 11 Apr, 2011
From: Guy Barrand <Guy Barrand>

   Hi

 Then the error at reading :

   R__unzip: error in header

 comes from the fact the OpenScientist version used (16.10) does not take into account
 the "new" compression (based on zlib in fact) introduced in the ROOT/5.x. It appears that
 in the last 16.11.4 the modifs in the Rio package were already here but had not been enabled.
 The patch to take this compression into account is to put (from a 16.11.4 source kit) in :
    Rio/source/zlib/ZInflate.c
 after the line :
    #include "zlib.h"
 the line :
    #define R__ZLIB

  An off the list round trip with Jonning showed that it fixes this problem. This probably
 deserves a 16.11.5 patch release... Else, the sampling code "over AIDA" proposed in a
 previous mail seems to be ok too. (And that's right that it would be a good idea to put in 
 common this kind of code... ).

   Cheers. Guy

 Add Message Add Message
to: "Re: Sampling .root histogram within Geant4?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]