@@ -15,16 +15,16 @@ This is a tool to convert ridffile to rootfile using ANAROOT decoder. (https://r
ANAROOT is automatically installed by "cmake" in the project directory in order to make it easier to edit decoder file. The part of install of ANAROOT is written in ./CMakeLists.txt.
## Note
* Multihit TDC records all hit in one trigger, but this tool include only one hit event.
*Now, this stores the data of the last hit, but do we need to stores all hit or first hit?
*-> if first hit is more important, simply we can change in "main.cpp", but if all hits are needed, source files are needed to edit. (in preparation (okawa) )
* Multihit TDC records all hit in one trigger, but map tree include only one hit event. (last hit)
*raw data tree store all hit and calibration tree also contain all hit
*the format of timing branch of calibration tree are array (like branch[12]) in order to match the format of mhtdc
* The structure of the branches of rootfile depends on the map file, so now a single branch contains both ADC and TDC data and it is distinguished by channel.
* The structure of map tree branches depends on the map file, so now a single branch contains both ADC and TDC data and it is distinguished by channel.
* ex. "name[0]": ADC, "name[1]": TDC
* When the name contains "-", "/" or " " in mapfile and we use it as branch name, sometimes it is recognized as an operator, so this tool change them to "\_".
*The format of
*Calibration tree depends on the map tree. And the name of parameter file is important (cannot name arbitrary)
* Assume that calibration parameters of two energy output are the same