initialize some internal variables. add maximum profile bin calculation on the fly
Merge branch 'RecoRetreat' of http://github.com/larlight/LArLight into RecoRetreat