Low Gain Energies in GeTAMU
Created by: moukaddam
@adrien-matta: @shuyaota is requesting to include High and Low-Gain energies simultaneously in GeTamuPhysics class. His argument is that Low- and High-Gain are equally important in 2 experiments of our campaign. For now I have included distinct vectors in the GeTamuData class, i.e. by using the midas2nptool un-packer one can specify if he wants to read the Low-Gain channels (and the High-Gain) simultaneously from Midas, and store them in there specific vectors (parallel to the High-Gain ones). From thereon, the user can choose to call the Low- or the High-Gain in the Physics class. Obviously, the fact that the user have to manually choose the function names in not practical, especially when another collaborator updates the code. In contrast, the downside of adding another set of physics data for the Low-Gain (in parallel to the High-Gain ones) is that the Physics Class will loose its generic design.
Suggestion: I can reconfigure the Physics class by adding an argument in the constructor of getamu (by default it will to use the High-Gain). The argument can go in the GeTamuData getter functions and can decide which Getter to use (High or Low). The same argument can be used upload the calibration tokens specific for the gain used. In this case the physics class is essentially the same, ant he user can call either gains from the project analysis.cxx
@adrien-matta What's your suggestion on that.