Added method to obtain channel numbers.
Added a very sloppy way of determining which version of ROOT is being used. This helps in selecting the appropriate line in TreeElementReader.cpp to be used at compile time.