- My blog
- Post new blog entry
- Top bloggers
- Recent posts
BSMD ADC saturation simulation
Updated on Mon, 2007-10-22 13:46. Originally created by kocolosk on 2007-09-24 15:03.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
SMD Energy in 2005 pp
Updated on Mon, 2007-09-24 12:36. Originally created by fsimon on 2007-09-24 12:31.Prompted by the recent discussion of the BSMD energy I looked at some histograms for hits from 2005 data. Currently I don't have individual strip energies, I only have SMD clusters saved.
First pass at a photon cross-section with LDA: to-do list
Updated on Tue, 2007-09-25 13:08. Originally created by wleight on 2007-09-20 14:31.The cross-section requires the following components:
P07ib embedding scheme test
Updated on Mon, 2007-09-17 18:35. Originally created by andrewar on 2007-09-17 18:35.- Jobs finished successfully
- MiniMc was generated (new feature as of Friday)
Diffusion and Delta Electrons in the FGT Simulator
Updated on Wed, 2007-08-29 16:03. Originally created by fsimon on 2007-08-29 16:03.In order to get the most realistic performance possible out of the FGT Slow Simulator, all important physical effects have to be incorporated.
Description of the slow simulator procedures for the BEMC
Updated on Mon, 2007-08-27 08:48. Originally created by kocolosk on 2007-08-27 08:39.BSMD
The SMDs can be simulated in one of two modes. In a rewrite of the slow simulator I call them kTestMode and kSimpleMode. kTestMode doesn't do anything interesting, so let's focus on kSimpleMode. Here are the steps to generate an ADC:
- ADC = energy deposit * sampling fraction(eta) / calib
- ADC += mRandom.Gaus(pedMean, pedRMS)
- ADC *= mRandom.Gaus(1.0 + calibOffset, calibSpread)
- force ADC between 0 and maxADC
The energy is then calculated from this ADC is the usual way: energy = (ADC - pedMean) * calib. Remember the BEMC calibration coefficients are stored as GeV/ADC.
BTOW - BPRS
The simulators for these two detectors have some additional modes (kPrimaryOnlyMode, kPrimarySecondaryFastMode, kPrimarySecondaryFullMode). Here's the setup for the kPrimaryMode:
- photoElectrons = energy deposit * (MIP photo electrons / MIP energy deposit)
- smear using Poisson distribution
- ADC = photoElectrons * sampling fraction(eta) * (MIP energy deposit / MIP photo electrons) / calib
- follow steps 2-4 of simple simulator to add pedestals, smear calibration, and check for valid range
The other two modes also take the secondary photostatistics from the PMT amplification into account. I'll focus on the full mode, as it's slightly easier to understand:
- build a set of secondary electron conversion coefficients (1 / dynode) using the relative voltage distribution among the dynodes and an approximate value for the total PMT amplification.
- Loop through dynodes and at each step
- nElectrons = mRandom.PoissonD( mSecondaryCoeff[i] * nElectrons + mDynodeNoise );
- ADC = nElectrons * mTotalDynodeGain *sampling fraction(eta) * (MIP energy deposit / MIP photo electrons) / calib
- follow steps 2-4 of simple simulator above
The mTotalDynodeGain in step 3 is the inverse of the product of the secondary electron conversion coefficients.
Tunable Parameters for BEMC slow simulator
Updated on Mon, 2007-08-27 08:55. Originally created by kocolosk on 2007-08-26 22:22.sampling fraction -- each sampling fraction is a 2nd order polynomial in eta. Here are the values currently being used:
BTOW = 14.69 - 0.1022*eta + 0.7484 * eta^2
BPRS = same as BTOW (pams/emc/inc/samplefrac_def.h includes different number)
BSMDE = 118500.0 - 32920.0*eta + 31130.0*eta^2
BSMDP = 126000.0 - 13950.0*eta + 19710.0*eta^2
Here are the numbers for BPRS from pams/emc/inc/samplefrac_def.h:
#define P0BPRS 559.7
#define P1BPRS -109.9
#define P2BPRS -97.81
max ADC value -- BTOW(3500), BPRS(220), SMDs(900)
Calibration offset (0.0) -- shifts all calibration coefficients during generation of ADCs.
Calibration spread (0.0) -- smears ADCs with a Gaussian. A spread of 0.15 for the BTOW has been used in recent analyses.
The following params are only used by the slow simulator for the BTOW and BPRS:
MIP photo electrons -- BTOW(63.0), BPRS(6.0)
MIP energy deposit -- BTOW(19.8 MeV), BPRS(2 MeV)
The ratio of these two is used to translate the energy deposit from GEANT into a number of photoElectrons which is then fed into the StPmtSignal simulator.
approximate PMT amplification (1.5e+6). Does NOT affect overall gain, which is a separate input parameter. Basically only determines some widths in the PMT simulator.
relative dynode voltage distribution {2.,2.,1.,1.,1.,1.,1.,1., 2., 3., 4.}
cathode noise (0.0) A probability for a thermal electron (or the average number of thermal electrons per pulse) to spontaneously emerge from the photocathode within the ADC gate.
dynode noise (0.0) A probability for a thermal electron (or the average number of thermal electrons per pulse) to spontaneously emerge from a dynode within the ADC gate. This probability is assumed to be the same for all dynodes.
For these 2 detectors one can choose between simple, fast, and full simulators. The only difference between full and fast is that at high numbers of photo electrons the PMT simulator switches to Gaussians instead of Poisson distributions. We've been inadvertently running the fast simulator for some time now due to a flip in indices in the simulator code, but according to V.Rykov's documentation the two are in good agreement. The simple simulator is the one used by the SMDs; no accounting for secondary photostatistics is done, so the ADC value is basically (energy deposited * sampling fraction * gain), plus pedestal noise and calibration smearing.
Kaon-pion correlations in d+Au: more HIJING studies of energy-momentum conservation effects
Updated on Thu, 2007-08-23 15:55. Originally created by kopytin on 2007-08-23 15:55.PDSF FAQ echo
Updated on Mon, 2007-09-17 18:48. Originally created by andrewar on 2007-08-22 12:22.Single-Photon Data-MC Comparison
Updated on Tue, 2007-08-21 07:58. Originally created by ahoffman on 2007-08-21 07:58.Data
Monte Carlo