TTree::Draw + Projection = segfault?

From: Alexander Bürger <buerger_at_iskp.uni-bonn.de>
Date: Thu, 09 Feb 2006 12:27:46 +0100


Dear ROOTers,

using TTree::Draw to make a matrix which is then projected, the second time the matrix is produced (with different dimensions), there is a segfault when projecting again:

root [] T->Draw("nbf : bf.q >> nqbf(100,0,10000,20,0,20)","","colz") <TCanvas::MakeDefCanvas>: created default TCanvas with name c1 (Long64_t)16318
root [] nqbf->ProjectionX()->Draw()
root [] T->Draw("nbf : bf.q >> nqbf(100,0,10000,22,0,22)","","colz") (Long64_t)16318
root [] nqbf->ProjectionX()->Draw()

How can the segfault be avoided?

The ROOT version I have is CVS (from a few days ago) compiled on Scientific Linux (g++ 3.2.3).

Best wishes,

Alexander Received on Thu Feb 09 2006 - 12:27:51 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET