C/C++ How Can You Learn ROOT If You're New to C++?

  • Thread starter Thread starter welatiger
  • Start date Start date
  • Tags Tags
    Root
AI Thread Summary
To effectively learn ROOT, a C++ library used primarily in particle physics, a solid understanding of C++ is essential. Key concepts include object-oriented programming principles such as classes, inheritance, pointers, and functions. Familiarity with data analysis in particle physics, including various plots, types of variables, and statistical fitting functions like Breit-Wigner, is also beneficial. While ROOT can be challenging for beginners, mastering C++ fundamentals is crucial before diving into ROOT's functionalities. Additionally, resources like "Object-Oriented Programming in C++" by Robert Lafore are recommended for learning C++.
welatiger
Messages
85
Reaction score
0
How to learn ROOT ??

What do i need to learn ROOT ?
and what do i need in c++ to learn ROOT?
 
Technology news on Phys.org


ROOT is basically a library of (a lot of) classes and things for C++, so in my opinion you at least need to learn how to express yourself in C++, and how an object oriented language like C++ works. To understand the things that ROOT can do it is good if you know stuff about how data is analysed in particle physics, what different plots are used for, different types of variables, special fitting functions (Breit-Wigner for example), some statistics etc.I know it's not very easy to learn ROOT though, I've tried myself and if you're an absolute beginner it's very tough.

Personally, I would begin by learning the basics of C++, the syntax, different basic classes etc. Then I would start focusing on the physics stuff.
 


You want to learn the basics of C++ really well. Stuff like pointers, functions, classes, inheritance, and object-orientism. IMO, ROOT is a terrible way to be introduced to C++ and is really annoying in a lot of ways.

However, now that I'm using some other statistical programs like R I keep on wanting to yell at it "why isn't this like ROOT!" :)
 


thanks so much
hoping i got it
IS "object-oriented programming in c++ by Robert Lafore" good to learn c++?
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...
Back
Top