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
Click For 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++?
 
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
1K
Replies
86
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
69
Views
10K
  • · Replies 9 ·
Replies
9
Views
3K