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

  • Context: C/C++ 
  • Thread starter Thread starter welatiger
  • Start date Start date
  • Tags Tags
    Root
Click For Summary

Discussion Overview

The discussion revolves around how to learn the ROOT data analysis framework, particularly for those who are new to C++. Participants explore the necessary C++ knowledge and concepts required to effectively use ROOT, as well as the challenges faced by beginners.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification

Main Points Raised

  • Some participants suggest that a solid understanding of C++ fundamentals, including object-oriented programming concepts, is essential for learning ROOT.
  • One participant emphasizes the importance of grasping data analysis techniques in particle physics, including knowledge of plots, variables, and fitting functions.
  • Another participant expresses a negative view of ROOT as an introductory tool for C++, describing it as frustrating, while also noting a comparative appreciation for other statistical programs.
  • A participant inquires about the suitability of a specific C++ textbook for learning the language.

Areas of Agreement / Disagreement

Participants generally agree on the necessity of learning C++ basics before tackling ROOT, but there are differing opinions on the effectiveness of ROOT as a learning tool for C++.

Contextual Notes

Some assumptions about prior knowledge in programming and physics may not be explicitly stated, and the discussion does not resolve the varying perspectives on ROOT's utility as a learning resource.

Who May Find This Useful

Individuals interested in learning ROOT for data analysis in particle physics, particularly those new to C++ programming.

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++?
 

Similar threads

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