Coder Social home page Coder Social logo

canu's Introduction

CANU

root파일 여는법

root filename.root

root console에서 파일 내용물 확인

.ls

ex)

root [1] .ls
TFile**		mock_data.root
 TFile*		mock_data.root
  KEY: TTree	tree;1	tree

또는

new TBrowser()

TTree 변수 확인, tree는 TTree이름

tree->Print()

ex)

root [1] tree->Print()
******************************************************************************
*Tree    :tree      : tree                                                   *
*Entries :   100000 : Total =         2811854 bytes  File  Size =    1895866 *
*        :          : Tree compression factor =   1.48                       *
******************************************************************************
*Br    0 :isSignal  : isSignal/O                                             *
*Entries :   100000 : Total  Size=     100791 bytes  File Size  =      22771 *
*Baskets :        4 : Basket Size=      32000 bytes  Compression=   4.40     *
*............................................................................*
*Br    1 :x1        : x1/f                                                   *
*Entries :   100000 : Total  Size=     301182 bytes  File Size  =     242109 *
*Baskets :       10 : Basket Size=      32000 bytes  Compression=   1.24     *
*............................................................................*

변수로 histogram그리기

tree->Draw("변수명")

ex)

tree->Draw("x1")

canu's People

Contributors

swgwon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.