Closed betchart closed 12 years ago
Hi Burt,
This looks fine to me. An alternative might be to do self.canvas.Clear("D") [1]. I sign off on either method (though haven't tested them).
Ted
[1] http://root.cern.ch/root/html/TCanvas.html#TCanvas:Clear
Hi Burt,
Actually, how about a clearCanvas(self) which is called by uponAcceptance? Then it is completely general.
Ted
I like the latter proposal. An alternative name for the function could be reset(), which doesn't implicate canvas at all (which I like, since my displayer offshoot doesn't actually clear the canvas).
Sounds good to me.
See if that works for you, and if it's good, pull it into the display branch. Before we pull display into master, I'd like to see if there are any other tweaks I need in order to inherit it in the displays_ttbar class.
Thanks. I will merge this into display now, and then test display and comment on that pull request.
How about this?