C++ code to emulate the LiTE DTU logic
compile.sh contains the instruction to compile main.cpp contains the main loop BaselineSubtractor,iFIFOs,Encoder,oFIFO are the classes to emulate the LiTEDTU
The energy signals are imported from the Stefano simulation.