Hi all,
I want to draw a line on the histogram as a cut and exclude the upper part. I want to only consider the part below the line. I tried like this
double xmin = -0.63;
double xmax = 0.97;
double ymin = 1.22;
double ymax = 1.50;
TLine *cut = new TLine(xmin,ymin,xmax,ymax);
dedxH.Fill(dedx);
dedxH.SetOption(“Colz”);
if (cut->IsInside(log10§, dedx)) continue;
But I get an error saying
" ‘TLine’ was not declared in this scope
TLine *cut = new TLine(xmin,ymin,xmax,ymax); " and I can not cut and get the histogram.
Your help will be appriciated. TIA
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided