(*) Updating gen_cmalgo script

Kazu
(*) Implement EventBegin, EventEnd, IterationBegin, and IterationEnd

Kazu
Merge branch 'trunk' of github.com:/larlight/LArLight into trunk
AngleCompat to set histogram under _fout --kazu