Page MenuHomeHEPForge

lambda-root.script
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

lambda-root.script

/***********************************************************************
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
* *
* This file is part of EvtGen. *
* *
* EvtGen is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* EvtGen is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with EvtGen. If not, see <https://www.gnu.org/licenses/>. *
***********************************************************************/
{
TFile *myFile = new TFile("lambda.root","READ");
myFile->ls();
TCanvas *myCanvas = new TCanvas("c","LAMBDA",0,0,600,400);
TH1F *hist1=h1;
hist1->Fit("pol1");
hist1->Draw();
myCanvas.Update();
myCanvas->Print("lambda.eps");
}

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 30, 5:45 AM (11 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6556309
Default Alt Text
lambda-root.script (1 KB)

Event Timeline