Switching ADC Inputs in a Root data file

I have a large group of root data files which have data from 12 ADC channels. I have a Macro to analyze and plot the data, but it is hard coded to accept data from ADC channels 6 & 8, while my data is recorded on 4 & 5. I could go through the analysis code and change everything so that it accepts 4 & 5, but I first wanted to know if it was possible to switch the inputs of the file, something like setting adc channel six equal to channel 4, and setting 8 to 5. I’m not sure if this post was clear, so if it needs to be clarified let me know. Thanks for your help!


I would recommend to change the analysis code. The change of names in the files depends on the type of data structures you have written.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.