BSMD ADC saturation simulation

There's been quite some discussion about the saturation of the BSMD ADCs around 850.  We don't have this feature in the simulator, so here's my attempt to put it in.

Here's a plot of the ADC and energy distributions from the slow simulator in DEV without any reconfiguration.  This is the output of testSimulatorMaker.C using 1000 events from photon MC (photon_25_35_10.geant.root):

Note the sharp ADC peaks at 1023 for the SMDs and the PRS.  Now if I configure the simulator with the options (not yet in CVS)

emcSim->setMaximumAdc(kBarrelSmdEtaStripId, 850.0);
emcSim->setMaximumAdcSpread(kBarrelSmdEtaStripId, 15.0);

emcSim->setMaximumAdc(kBarrelSmdPhiStripId, 850.0);
emcSim->setMaximumAdcSpread(kBarrelSmdPhiStripId, 15.0);


Update

These changes were checked into CVS on October 08 2007