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: Thu Apr 18 22:49:37 CEST 2024

Total time taken to generate the page: 0.00959 seconds