mana-core-rootutils / RootUtils / InitHist.h

// This file's extension implies that it's C, but it's really -*- C++ -*-.
// $Id: InitHist.h,v 1.1 2007-10-07 00:01:54 ssnyder Exp $

 * @file  RootUtils/InitHist.h
 * @author scott snyder
 * @date Oct 2007
 * @brief Initialize root's getline history.
 *        You'll need this if you use TTreeViewer using python
 *        as your interactive shell.  TTreeViewer pushes information
 *        onto the getline history list.  However, getline is initialized
 *        only when CINT is used as the shell.  If that isn't the case,
 *        then such attempts to push to the history will crash.


namespace RootUtils {

 * @brief Initialize root's getline history.
class InitHist
   * @brief Initialize root's getline history.
   * This could (almost) just as well be a free function.
   * The only reason to put it inside a class is that root doesn't
   * auto-load functions, only classes.
  static void Initialize();

} // namespace RootUtils

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.