Added ROOT6 compatibility
Merge pull request #1389 from dinardo/ROOT6-Compatible-Pixel-BeamMonitor

ROOT6 -- Added ROOT6 compatibility to Pixel/BeamMonitor