Dear Rooters,
I am a very new user of RooFit package. I am trying to create a toy montelcarlo with following steps:
1_ Create a background model : RooAddPdf 2_ Create a signal model : RooAddPdf 3_ Create signal+background. 4_ Generate Date : RooDataSet.
So far it is fine now I need to do following:
5_ Go to each data entry stored in RooDataSet object so created. 6_ Calculate the value of Signal PDF at that data point. 7_ Cakulate the value of BackGrnd PDF at that data point. 8_ Print out following text table : (Each row corresponding to a generated event)
dataPoint : sigPDF : bakPDF
Can amyone help me with steps 5, 6,7 ??
Thanks
Anil Singh
Received on Thu Apr 23 2009 - 17:05:02 CEST
This archive was generated by hypermail 2.2.0 : Thu Apr 23 2009 - 17:50:01 CEST