I am using one if condition in my root code aB0Mode%100000==1877 But I am getting following error: error: invalid operands to binary expression (‘double’ and ‘double’). If I use float/Float_t to define it then also I am getting same error.
Could you please suggest me what to do ?
Thanks in Advance.
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
Int_t(aB0Mode + 0.5)
Hi I have sorted this out. It was just int type and I was making it complicated.
By the way I have applied one condition in my code if and else and in both condition I want to draw histogram. So, I filled the histogram but It is not showing plots. Definitely I am missing something. Like this.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.