Skip to content

[metacling] TTree Scan MENU dialog does not work well if kMaxEntries is not modified #15963

Open
@ferdymercury

Description

@ferdymercury

Check duplicate issues.

  • Checked for duplicates

Description

If you open a TRootBrowser, double click on a TFile, right click on TTree, select Scan from the Menu, and write some values in varexp and selection, and click OK, the input is ignored.

image

************************************************************
*    Row   * time.time * time_fine * slope.slo * pileup.pi *
************************************************************
*        0 *    476428 *        44 * 372.48736 *         0 *
*        1 *   1494475 *        36 * 1432.6547 *         0 *
*        2 *   1526983 *        55 * 205.83961 *         0 *
*        3 *   1774924 *        49 * 297.62847 *         0 *
*        4 *   2046332 *       -56 * 790.71905 *         0 *
*        5 *   2850089 *        41 * 394.59698 *         0 *

Only if you change kMaxEntries to a fixed value, the dialog data are passed well to the function.

image

************************
*    Row   *      time *
************************
*     1799 * 1.045e+09 *
*     1800 * 1.045e+09 *
*     7161 * 1.727e+09 *
*     7162 * 1.727e+09 *
*     9036 * 1.757e+09 *

Reproducer

Open a TFile with a TRootBrowser, right-click on TTree, click on Scan, and write some values in varexp and selection, and click OK, the input is ignored.

ROOT version

ROOT v6.32.00
Built for linuxx8664gcc on May 28 2024, 05:02:02
From tags/v6-32-00@v6-32-00
With c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Binary directory: /opt/root/bin

Installation method

Binary Release

Operating system

Ubuntu 22.04

Additional context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions