Root Programming: Input/Output Comparison

In summary, the conversation discusses how to compare input and output data for an experiment using root programming. The question is raised about how to draw both data sets on the same diagram, with suggestions to use the histogram function or write a script. It is mentioned that root is essentially just a collection of C++ libraries and someone offers to provide a more detailed example if needed.
  • #1
lamyaa
5
0
Hi all,

I want ask you about root programming , if I have A (mass number) for output and input data for experiment how I can comparison between A input and A output
see attachments
 

Attachments

  • A-input.jpg
    A-input.jpg
    32.8 KB · Views: 413
  • A-output.jpg
    A-output.jpg
    34.1 KB · Views: 398
Technology news on Phys.org
  • #2
Draw both in the same diagram? (histogram->Draw("SAME") iirc).
Draw a two-dimensional plot (probably not in the object browser)?
 
  • #3
thanks a lot ,

but I am beginner in this programming

please, can you explain this point in details

how I can draw both in the same diagram?
 
  • #4
It's not super easy to overlay two histograms on the same canvas in root using the root browser.

It's easiest to just use the command prompt or write a script to be executed by root. ROOT is essentially just a collection of C++ libraries, so there really isn't 'root programming' its just C++. One of the previous posters already gave the basic commands for that. I can give a more explicit example if you need it.
 
  • #5


Hi there,

I can provide some insights on how to compare input and output data in root programming. First, it is important to understand the purpose of the experiment and the significance of the A (mass number) data being used. This will help in determining the appropriate method for comparison.

One approach could be to plot the input and output data on a graph and visually compare the trends and patterns. This can help identify any discrepancies or similarities between the two sets of data. Another method could be to use statistical analysis techniques such as calculating the mean, standard deviation, and performing a t-test to determine if there is a significant difference between the input and output data.

It is also important to consider any potential sources of error in the experiment that could affect the A data. This could include experimental conditions, measurement errors, or data processing techniques. By understanding these factors, it can help in accurately comparing the input and output data.

I hope this helps in your root programming and data analysis. Best of luck with your experiment!
 

1. What is Root Programming?

Root Programming is a software framework used for data analysis and visualization in the field of high-energy physics. It was developed at CERN and is widely used in research and academia.

2. What is Input/Output Comparison in Root Programming?

Input/Output Comparison is the process of comparing the input data with the output data in Root Programming. This allows scientists to verify the accuracy of the analysis and detect any errors or discrepancies.

3. Why is Input/Output Comparison important in Root Programming?

Input/Output Comparison is important because it ensures the reliability and accuracy of the data analysis results. It allows scientists to identify and correct any errors, ensuring the validity of their research findings.

4. How is Input/Output Comparison performed in Root Programming?

In Root Programming, Input/Output Comparison is performed by comparing the input data with the output data using statistical tests and visualizations. This can be done through various tools and functions provided by the software framework.

5. What are the benefits of using Root Programming for Input/Output Comparison?

Root Programming offers a wide range of tools and functions specifically designed for data analysis and visualization, making it an efficient and reliable software for Input/Output Comparison. It also has a user-friendly interface, making it accessible to scientists with varying levels of technical expertise.

Similar threads

  • Programming and Computer Science
Replies
29
Views
1K
  • Programming and Computer Science
Replies
0
Views
515
Replies
11
Views
2K
  • Programming and Computer Science
Replies
6
Views
1K
  • Programming and Computer Science
Replies
3
Views
774
  • Programming and Computer Science
Replies
3
Views
783
  • Programming and Computer Science
Replies
8
Views
1K
  • Programming and Computer Science
Replies
25
Views
2K
  • Programming and Computer Science
Replies
1
Views
927
Replies
22
Views
1K
Back
Top