to compile
./CompileRootMacro ConvertDat2Root_NewDRS4.cpp
to run
./a_out CERN_July2015_beam_electrons_SH_82.dat
to run plotting script (useful for scanning to find maximum)
python plotAveragePulse.py CERN_July2015_beam_electrons_SH_82.root
to compile
./CompileRootMacro ConvertDat2Root_NewDRS4.cpp
to run
./a_out CERN_July2015_beam_electrons_SH_82.dat
to run plotting script (useful for scanning to find maximum)
python plotAveragePulse.py CERN_July2015_beam_electrons_SH_82.root