GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » Error matrix for EMC
Re: Error matrix for EMC [message #11053 is a reply to message #11044] Mon, 04 October 2010 12:10 Go to previous messageGo to previous message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
Hi Mohammad,

I have found the following arguments to prefer abort() over exit(), which are suitable in this case.
Quote:


If there is a (critical) error and you call exit(), then you won't know where the error occurred (the program will exit cleanly). If you call abort(), you'll be able to catch the error at the point where it occurs. It's a debugging aid, which is why it's normally called by assert().



And I have added #include <cstdlib> to PndEmcErrorMatrixPar.h as well.

Dima
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Geometry for tiles in front of EMC
Next Topic: which geometry file?
Goto Forum:
  


Current Time: Tue Apr 16 12:00:38 CEST 2024

Total time taken to generate the page: 0.01044 seconds