Skip to content
Snippets Groups Projects
Commit ad5bd11e authored by scott snyder's avatar scott snyder
Browse files

PyAnalysisUtils: Work around cling issue with detached debug info

When TH1::Draw is called, root tries to call a TCanvas method
to create the default canvas.  If that method has not been linked,
then root will search all DSOs on the library path until it find
that method.  (This mechanism is separate from the rootmap mechanism.)
However, root will also pick up detached debug files during this scan,
but will crash trying to read them.

Work around by ensuring thad TPad has been loaded before calling Draw.
parent 25cccb54
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment