Message: Re: Writing out information to draw the Bragg Peak Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Writing out information to draw the Bragg Peak 

Forum: Medical Applications
Re: None Writing out information to draw the Bragg Peak (Asya Demir)
Re: None Re: Writing out information to draw the Bragg Peak (michel maire)
Date: 09 Jan, 2012
From: Asya Demir <Asya Demir>

 Hello Michel,

Thank you for the information. I have done what you suggested; Namely I have replaced the GNUmakefile and the HistoManager files with the ones you provided. However, when I do make I get errors complaining about not finding aida-config. I tried to find what causes this problem, but unfortunately no luck. I have given the complete list of errors below. I appreciate your help in advance.

/bin/sh: aida-config: not found src/HistoManager.cc:38:18: error: TH1D.h: No such file or directory src/HistoManager.cc:39:19: error: TFile.h: No such file or directory Compiling HistoManager.cc ... /bin/sh: aida-config: not found src/HistoManager.cc:38:18: error: TH1D.h: No such file or directory src/HistoManager.cc:39:19: error: TFile.h: No such file or directory src/HistoManager.cc: In destructor ‘HistoManager::~HistoManager()’: src/HistoManager.cc:69: warning: possible problem detected in invocation of delete operator: src/HistoManager.cc:69: warning: invalid use of incomplete type ‘struct TFile’ include/HistoManager.hh:40: warning: forward declaration of ‘struct TFile’ src/HistoManager.cc:69: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. src/HistoManager.cc: In member function ‘void HistoManager::book()’: src/HistoManager.cc:81: error: invalid use of incomplete type ‘struct TFile’ include/HistoManager.hh:40: error: forward declaration of ‘struct TFile’ src/HistoManager.cc:92: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ src/HistoManager.cc: In member function ‘void HistoManager::save()’: src/HistoManager.cc:109: error: invalid use of incomplete type ‘struct TFile’ include/HistoManager.hh:40: error: forward declaration of ‘struct TFile’ src/HistoManager.cc:110: error: invalid use of incomplete type ‘struct TFile’ include/HistoManager.hh:40: error: forward declaration of ‘struct TFile’ src/HistoManager.cc: In member function ‘void HistoManager::FillHisto(G4int, G4double, G4double)’: src/HistoManager.cc:127: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ src/HistoManager.cc: In member function ‘void HistoManager::Scale(G4int, G4double)’: src/HistoManager.cc:186: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ src/HistoManager.cc: In member function ‘void HistoManager::saveAscii()’: src/HistoManager.cc:235: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ src/HistoManager.cc:236: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ /home/asiye/CLHEP/include/CLHEP/Units/PhysicalConstants.h: At global scope: /home/asiye/CLHEP/include/CLHEP/Units/PhysicalConstants.h:80: warning: ‘CLHEP::electron_charge’ defined but not used make: *** [/home/asiye/g4work/tmp/Linux-g++/TestEm7/HistoManager.o] Error 1 asiye@mehmet-desktop:~/g4work/TestEm7$ make Making dependency for file src/HistoManager.cc ... /bin/sh: aida-config: not found src/HistoManager.cc:38:18: error: TH1D.h: No such file or directory src/HistoManager.cc:39:19: error: TFile.h: No such file or directory Compiling HistoManager.cc ... /bin/sh: aida-config: not found src/HistoManager.cc:38:18: error: TH1D.h: No such file or directory src/HistoManager.cc:39:19: error: TFile.h: No such file or directory src/HistoManager.cc: In destructor ‘HistoManager::~HistoManager()’: src/HistoManager.cc:69: warning: possible problem detected in invocation of delete operator: src/HistoManager.cc:69: warning: invalid use of incomplete type ‘struct TFile’ include/HistoManager.hh:40: warning: forward declaration of ‘struct TFile’ src/HistoManager.cc:69: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. src/HistoManager.cc: In member function ‘void HistoManager::book()’: src/HistoManager.cc:81: error: invalid use of incomplete type ‘struct TFile’ include/HistoManager.hh:40: error: forward declaration of ‘struct TFile’ src/HistoManager.cc:92: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ src/HistoManager.cc: In member function ‘void HistoManager::save()’: src/HistoManager.cc:109: error: invalid use of incomplete type ‘struct TFile’ include/HistoManager.hh:40: error: forward declaration of ‘struct TFile’ src/HistoManager.cc:110: error: invalid use of incomplete type ‘struct TFile’ include/HistoManager.hh:40: error: forward declaration of ‘struct TFile’ src/HistoManager.cc: In member function ‘void HistoManager::FillHisto(G4int, G4double, G4double)’: src/HistoManager.cc:127: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ src/HistoManager.cc: In member function ‘void HistoManager::Scale(G4int, G4double)’: src/HistoManager.cc:186: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ src/HistoManager.cc: In member function ‘void HistoManager::saveAscii()’: src/HistoManager.cc:235: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ src/HistoManager.cc:236: error: invalid use of incomplete type ‘struct TH1D’ include/HistoManager.hh:41: error: forward declaration of ‘struct TH1D’ /home/asiye/CLHEP/include/CLHEP/Units/PhysicalConstants.h: At global scope: /home/asiye/CLHEP/include/CLHEP/Units/PhysicalConstants.h:80: warning: ‘CLHEP::electron_charge’ defined but not used make: *** [/home/asiye/g4work/tmp/Linux-g++/TestEm7/HistoManager.o] Error 1

On Fri, 06 Jan 2012 16:43:45 GMT, michel maire wrote:

> On Thu, 05 Jan 2012 12:03:51 GMT, Asya Demir wrote:
> 
> > Dear all,
> > 
> > I am a very new user of Geant4. I am trying to obtain the Bragg Peak
> > using proton beam incident on water. I know that there are example
> > applications, such as TestEm7. However, unfortunately I could not view
> > the results since I was not able to install the necessary programs (aida
> > etc). 
> 
>  I send modified TestEm7 for direct interface with root. 
>  Replace GNUmakefile and HistoManager by the attached files. 
> 
>    Attachment:
>       http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2012/01/06/08.40-52148-GNUmakefile.txt
>       http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2012/01/06/08.40-79195-HistoManager.hh.txt
>       http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2012/01/06/08.41-35762-HistoManager.cc.txt
> 
>      Michel
> 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Writing out information to draw the Bragg Peak   (Jacquemier Jean - 10 Jan, 2012)
2 None: Re: Writing out information to draw the Bragg Peak   (michel maire - 10 Jan, 2012)
 Add Message Add Message
to: "Re: Writing out information to draw the Bragg Peak"

 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 ]