Message: Re: aida problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: aida problem 

Forum: Analysis
Re: Question aida problem (riazi)
Date: 04 Jan, 2010
From: Guy Barrand <Guy Barrand>

   Hi

  If I look in the code of :
    examples/advanced/hadrontherapy/src/HadrontherapyAnalysisManager.cc
of the G4-9.3, in :
   void HadrontherapyAnalysisManager::book()

I see that the kind of storage is hardcoded in this example :

  theTree = treeFact -> create(fileName,"hbook",false,true);
  theTree = treeFact -> create(analysisFileName,"ROOT",false,true,opts);

Here it is hardcoded to "ROOT". Instead, you must arrange to pass "AIDA" or "XML" if you want for example to produce at the AIDA XML format...

 In fact anyway there is something wrong in this example : the first "theTree = treeFact->create"
line should be commented out ! (It will create a .hbook file for nothing !)

  Cheers

    Guy

 Add Message Add Message
to: "Re: aida problem"

 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 ]