GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Fast Simulations » [FIXED] first try with fast simulation problem (error and break and aborting execution)
Re: first try with fast simulation problem [message #16275 is a reply to message #16273] Wed, 09 April 2014 14:08 Go to previous messageGo to previous message
Alexandros is currently offline  Alexandros
Messages: 51
Registered: January 2014
Location: KVI
continuous participant
From: *kvi-cart.rug.nl
I changed it again:

// the output file examined
TString InFile="psi4160_fast.root";
TString OutFile="psi4160_out.root";

// initialization
FairLogger::GetLogger()->SetLogToFile(kFALSE);
FairRunAna* fRun = new FairRunAna();
fRun->SetWriteRunInfoFile(kFALSE);

fRun->SetInputFile(InFile);
fRun->SetOutputFile(OutFile);
fRun->Init();

// create an output file for all histograms
TFile *out = TFile::Open("psi4160.root","RECREATE");

// create ntuples for psi(4160), D0 and anti-D0
RhoTuple *npsi4160 = new RhoTuple("npsi4160","npsi4160 Analysis");
RhoTuple *nd0 = new RhoTuple("nd0","nD0 Analysis");
RhoTuple *nantid0 = new RhoTuple("nantid0","nanti-D0 Analysis");

// *** Now the analysis stuff *** //

// the data reader object
PndAnalysis* theAnalysis = new PndAnalysis();
if(nevts==0) nevts= theAnalysis->GetEntries();

and again there is a fatal error:

FairRootManager::OpenOutFile("psi4160_out.root")
Error in <TFile::ReadBuffer>: error reading all requested bytes from file psi4160_fast.root, got 230 of 300
Error in <TFile::Init>: psi4160_fast.root failed to read the file type data.
[FATAL ] [09.04.2014 14:01:32] [FairRootManager.cxx::OpenInChain:348] Error opening the Input file
[FATAL ] [09.04.2014 14:01:32] We stop the execution of the process at this point.
[FATAL ] [09.04.2014 14:01:32] For later analysis we write a core dump to core_dump_18283


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Photons reconstruction
Next Topic: [Fixed] PndPidCandidate in the scrut task.
Goto Forum:
  


Current Time: Fri Mar 29 12:39:12 CET 2024

Total time taken to generate the page: 0.01146 seconds