Hello Dr @couet ,
I usually find Errors occured (getting same significance values for all diffrent crosssection rootfiles). This is not occured unless if i have only one value for diffrent
cross scetion. Kindly,please give me a solution for this problem
thanks
Ahmed Sayed
Notes: for more details I attached screenshot from this error , used root files, analysis file.C,analysis file.h and Used Stack
Of course my Sir.In the beginning i used a BLSSM for eight signals Such that h90B1 ,h90BP2 etc .The rest represent backgrounds that use sm-full model for monte carlo
.The final state for every decay is bb.The channel is proton-proton at 7 TEV at COM . Signals are
p p < h1, h1 < b b that has diffrent parameter
Cards that have same name of root file for simplicity such that h90BP1,h90BP2, etc.And the BGs
are
PP < h , h < b b
PP < z , z < b b
PP < b b / h z
As mentioned below the screenshot significance values are the same for all signals. For more details please kindly ,open
The stack_Signal.C to find followed steps to
Calculate significance.According to observation of signals over backgrounds i calculate signal significance from this relation
Significance =Signal/sqrt(BG) . It is expected that obtain different significance values but unfortunately i get same value for these eight signals . I dont know why ?
I usually find Errors occured (getting same significance values for all diffrent crosssection rootfiles). This is not occured unless if i have only one value for diffrent
cross scetion. Kindly,please give me a solution for this problem
.In the beginning i used a BLSSM for eight signals Such that h90B1 ,h90BP2 etc .The rest represent backgrounds that use sm-full model for monte carlo
.The final state for every decay is bb.The channel is proton-proton at 7 TEV at COM . Signals are
p p < h1, h1 < b b that has diffrent parameter
Cards that have same name of root file for simplicity such that h90BP1,h90BP2, etc.And the BGs
are
PP < h , h < b b
PP < z , z < b b
PP < b b / h z
As mentioned below the screenshot significance values are the same for all signals. For more details please kindly ,open
The stack_Signal.C to find followed steps to
Calculate significance.According to observation of signals over backgrounds i calculate signal significance from this relation
Significance =Signal/sqrt(BG) . It is expected that obtain different significance values but unfortunately i get same value for these eight signals . I dont know why ?
I might be mistaken, but based on your description, it seems that your issue isn’t caused by any specific ROOT tools or classes. Instead, it appears to be related to the algorithm and computational techniques you’re using. If you can identify a specific problem or error directly related to ROOT tools, please send us a small reproducible example highlighting the issue.
Ok, in short . please ,kindly Opeth this file (Signal_stack.C ) the you find this computational values that made me errors.I will send you a screenshot to understand me
Error is found as shown black screenshot (same significance value for diffrent signals). i dont know is this error related to root or a certain mistake in
computational values.Please check this
root [0] .x Stack_Hist_Signals.C
Error in <HandleInterpreterException>: Trying to access a pointer that points to an invalid memory address.
Execution of your code was aborted.
In file included from input_line_8:1:
/Users/couet/Downloads/Stack_Hist_Signals.C:87:7: warning: invalid memory pointer passed to a callee:
hmc[0][i]->SetLineColor(kYellow);
^~~~~~~~~
root [1]
I have modified the macro as follow:
the ROOT files paths were not correct in my context
Your example does not work for me. I get this error:
Processing Stack_Hist_Signals.C...
Error in <HandleInterpreterException>: Trying to access a pointer that points to an invalid memory address.
Execution of your code was aborted.
In file included from input_line_8:1:
/Users/couet/Downloads/Stack_Hist_Signals.C:142:6: warning: invalid memory pointer passed to a callee:
hmc[0][i]->SetLineColor(kYellow);
^~~~~~~~~