Port of the full DPGAnalysis/SiPixelTools package from CVS.