Category Archives: ROOT chat

ROOT discussions

Homework

for the homework, we are given:

    TH1F *h1 = new TH1F("h1", "h1", 200, -5,5);
    TF1 *f1 = new TF1("f1", "[2]*TMath::Gaus(x,[0],[1])");
    f1->SetParameters(1,1,1);
    h1->FillRandom("f1");
    h1->Draw()
Try typing into google "TMath root" to find an expression for a poisson fit, rather than Gaus()..
Hope This Helps!!=D
-Ashley

Root Browser

When I run “TBrowser b”, it opens up TRootBrowserLite and gives me this message:

“You are using the old ROOT browser! A new version is available. To use it:
Select the ‘New Browser’ entry from the ‘File’ menu in the browser, or change
‘Browser.Name:’ from ‘TRootBrowserLite’ to ‘TRootBrowser’ in system.rootrc”

However, I changed “TRootBrowserLite” to “TRootBrowser”, but I then had a Break-gdb not found type of error. Anybody know what’s up with this?

Thanks,

Michael

Logging into lxplus

I was running the standard checks that Arno gave us to make sure everything is up and running on my computer. I discovered that I couldn’t run “xterm” while connected to lxplus.cern.ch I received the error “xterm Xt error: Can’t open display:”

Thanks to some help from Elim, I found out I was connected via “ssh user@lxplus.cern.ch” whereas I needed to be connected to “ssh -X user@lxplus.cern.ch”. Sure enough, I connected to ssh -X and was able to run “xterm” without a problem.

If you’re having problems with running “xterm”, try this out and see if it works.

Michael

Cyberduck

For all Mac users,

Take a moment to check out the Cyberduck application at http://cyberduck.ch/ to make things a little more convenient with server connections and directories.

It is also recommended that you use this in conjunction with Aquamacs at http://aquamacs.org/.

Michael