GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Fast Simulations » Running analysis task in simfast macro
Re: Running analysis task in simfast macro [message #16854 is a reply to message #16852] Fri, 27 June 2014 16:41 Go to previous messageGo to previous message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *gsi.de
Hi Donghee,


exactly. The structure of my macro looks like

  
  ...
  PndFastSim* fastSim = new PndFastSim(false);
        
  // ... lots of stuff
  
  fRun->AddTask(fastSim);
	
  PndScrutAnaTask *scrutTask = new PndScrutAnaTask(pbarmom, outfile);
  fRun->AddTask(scrutTask);
  
  fRun->Init();
  fRun->Run(nEvents);
  ...


Best,
Klaus
 
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: One technical problem for vertex or 4c fitter in the analysis task
Next Topic: Mc Truth Match
Goto Forum:
  


Current Time: Fri Dec 03 08:48:50 CET 2021

Total time taken to generate the page: 0.02449 seconds