Discussion Overview
The discussion revolves around the use of the T->SetBranchAddress function in a macro written for Emacs, specifically in the context of ROOT, a data analysis framework. Participants explore the meaning of this function, its relation to TTree and TBranch objects, and the declaration of variables in C/C++.
Discussion Character
- Technical explanation
- Conceptual clarification
- Exploratory
Main Points Raised
- One participant asks for clarification on the meaning of T->SetBranchAddress ("B_PX", &B_PX) in the context of an Emacs macro.
- Another participant explains that T->SetBranchAddress is related to a TTree object from ROOT, indicating that it allows reading a TBranch called "B_PX" from a file into a local variable B_PX.
- A participant seeks further clarification on what a TBranch or branch is, expressing interest in understanding its function.
- One participant describes a tree as a storage container for various data pieces, explaining how branches can represent different attributes of data entries.
- A question arises about how to declare variables, specifically inquiring about the use of float_t and int_t, and the difference between them.
- Another participant clarifies that Int_t is analogous to int (integer) and Float_t is similar to float, suggesting that understanding these types would benefit from studying an introductory C/C++ book.
Areas of Agreement / Disagreement
Participants generally agree on the basic functions of T->SetBranchAddress and the definitions of TTree and TBranch, but there are ongoing questions about variable declaration and types, indicating some uncertainty and a lack of consensus on those aspects.
Contextual Notes
Participants express varying levels of familiarity with C/C++ and ROOT, which may affect their understanding of the concepts discussed. There is also an implicit assumption that knowledge of programming is necessary to fully grasp the topics.