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 #16264 is a reply to message #16260] Tue, 08 April 2014 16:23 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
More questions of course.... Rolling Eyes

After the simulation running i get this "xxxx_fast.root" file..
Can I use my old version of analysis macro or do i really need to use the ana_jpsi.C macro??
My previous macro was starting like this:


int i=0,j=0, k=0, l=0;


TString OutFile="xxxx_fast.root";


TString inPidFile = "pid_complete.root";
TString inParFile = "simparams.root";


TString pidParFile = TString(gSystem->Getenv("VMCWORKDIR"))+"/macro/params/all.par";


FairLogger::GetLogger()->SetLogToFile(kFALSE);
FairRunAna* fRun = new FairRunAna();
FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
fRun->SetInputFile(inPidFile);


FairParRootFileIo* parIO = new FairParRootFileIo();
parIO->open(inParFile);
FairParAsciiFileIo* parIOPid = new FairParAsciiFileIo();
parIOPid->open(pidParFile.Data(),"in");

rtdb->setFirstInput(parIO);
rtdb->setSecondInput(parIOPid);
rtdb->setOutput(parIO);

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

TFile *out = TFile::Open("psi4160.root","RECREATE");

i know that the answer is no but can I do it somehow??
 
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 Apr 19 18:25:54 CEST 2024

Total time taken to generate the page: 0.01401 seconds