GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » analysis of multiple files
Re: analysis of multiple files [message #13587 is a reply to message #13582] Fri, 08 June 2012 20:07 Go to previous messageGo to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 509
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hi,

The signal and background are mixed at digitization level, and when you do that you have to use:

FairRunAna::SetSignalFile(TString name, UInt_t identifier )


you can add as many signals as you like as long as they have different identifiers, if you add two different files with the same identifier it will be simply chained.


FairRunAna::SetBackgroundFile(TString name)
FairRunAna::AddBackgroundFile(TString name)


This will set the background file and chain the added files.


In fact your code should exit immediately when you call "fRun->SetBackgroundFile(inSimFile_bg);" but it is a bug which we should correct!

regards,

Mohammad
 
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: Problem with 4C-fit
Next Topic: Small positive chi2 values in PndKinFitter
Goto Forum:
  


Current Time: Fri Apr 26 06:35:12 CEST 2019

Total time taken to generate the page: 0.02340 seconds