This is not the final calibration for the 2006 data, but it's a big improvement over what's currently in the DB. It uses MIPs to set relative gains for the towers in an eta ring, and then the absolute scale is set by electron E/p.
This is a problem that we encountered in 2005, where several pairs of towers had good-looking spectra until the isolation cut was applied, and then quickly lost all their counts. Well, all of the towers that I had tagged with this problem in 2005 still have it in 2006, with one exception. Towers 1897 and 1898 seem to have miraculously recovered, and now towers 1877 and 1878 appear to have isolation failures. Perhaps this is a clue to the source of the isolation failures?
everything I could find on nov07:
<input URL="catalog:star.bnl.gov?production=P06ie,sanity=1,tpc=1,emc=1,trgsetupname= ppProduction||ppProductionTrans||ppProductionLong||pp2006MinBias||ppProductionJPsi||ppProduction62||ppProductionMB62, filename~st_physics,filetype=daq_reco_mudst" nFiles="all" />
Same as 2005. All MIP fits are basic Gaussians over the range 5..250 ADC-PED. Electron fits are Gaussian + linear in a very crude attempt to estimate hadronic background.
/star/u/kocolosk/emc/offline_tower_calibration/2006/nov07/
The gains look pretty balanced on the east side and west side. Note that I didn't multiply by sin(theta), so we expect an eta-dependence here. The widths plot is interesting because it picks out one very badly behaved crate on the east side at phi=0. I believe it is 0x0C, EC24E (towers 4020-4180). The tower fits are attached below if you're interested. Bad towers are marked in red.
E/p plots for all 40 eta-rings (first 20 on west side, 21-40 on east side) are attached below. In general, the electrons indicate a 9-10% increase in the MIP gains is appropriate. In the last two eta rings on each side, that number jumps to 20% and 40%. This is more or less consistent with the scale factors found in the 2003 calibration (the last time we used a full-scale energy of 60 GeV. If I scale the MIP gains and plot the full-scale E_T I get the plot on the left. Fitting the eta dependence with a pol0 over the middle 36 eta rings results in a ~62 GeV scale and a nasty chi2.
So after scaling with the electrons it looks like we are actually a couple of GeV high on the absolute scale. I'll see if this holds up once I've made the background treatment a little more sophisticated there. I also have to figure out what went wrong with the electrons out at the edges. I didn't E/p would be that sensitive to the extra material out there, but for some reason the normalization factors out there are far too large. Next step will be to comapre this calibration to one using electrons exclusively.
Calibration Uncertainty:
Here are some links that address different parts of the calibration uncertainty that are not linked from this page:
drupal.star.bnl.gov/STAR/subsys/bemc/calibrations/run6/btow/calibration-uncertainty-calculation
drupal.star.bnl.gov/STAR/blog-entry/mattheww/2009/apr/09/2006-calibration-uncertainty
drupal.star.bnl.gov/STAR/blog-entry/mattheww/2009/apr/27/crate-systematic-2006
~300k events processed using fastOffline:
Run 7079034 ~189K
Run 7079035 ~115K
Number of events with nonzero primary tracks = 109k / 309k = 35%
Still a few problems with pedestal widths in the database, although now they appear to be restricted to id > 4200. If I don't cut on adc>2*rms, the software id distribution of MIPs looks pretty isotropic:
The distribution of primary tracks also looks a lot better:
I was able to calculate MIP gains for each of the 40 eta-rings. The plot at the top fits a line to the full-scale transverse energies extracted from the gains (excluding the outer two eta-rings on each side). For the error calculations I used the error on the extraction of the mean of the MIP ADC peak and propagated this through the calculation. This is not exactly correct, but it's a pretty close approximation. In a couple of cases the error was exceedingly small (10^-5 ADC counts), so I forced it to an error of 1 GeV (the fit failed if I didn't).
As you can see in the text file, an error of 1 ADC in the MIP peak leads to an error of 3 GeV in the full-scale transverse energy. Therefore I would say that pedestal fluctuations (1-2 ADCs) give an additional error of 5 GeV to my calculations, which means that the majority of these eta-rings are consistent with a 60 GeV full-scale.
Note: The first attempt at this analysis was plagued by poor TPC tracking and also problems with corrupted BTOW pedestal widths in the database. I'm including the content of the original page here just to document those problems.
250k events processed using fastOffline:
Run 7069023 100K
Run 7069024 100K
Run 7069025 50K
Number of events with nGlobalTracks > 0 = 30166 (12%)
On the left you see the software id distribution of slope candidates (adc-ped>3*rms, no tracking cuts). There's a sharp cutoff at id==1800. But before you go blaming the BEMC for the missing MIPs, the plot on the right shows eta-phi distribution of global tracks without any EMC coincidence. The hot region in red corresponds to 0<id<1800:
As it turns out, the missing slope candidates are likely due to wide pedestals. The pedestal values look fine, but if I plot pedrms for id<1800 and id>1800 using the slope candidates that did survive:
Is it possible that the TPC track distribution is connected to this problem?
Using the gains we calculated for 2006 tower by tower from the MIPs and then corrected with the electron eta rings, I calculated how it differed from the ideal gain assuming containment of an EM shower with 60 GeV ET. After removing bad towers, we can fit the distribution of this ratio to a gaussian and we find there is approximately a 6% variation in the gains.
Summary:
The uncertainty on the 2006 BTOW Calibration is 1.6%. This value is the combination of a 1.3% overall uncertainty and a 0.9% uncertainty caused by variations in the different crates. This uncertainty should be treated as a measure of the bias in the 2006 Calibration.
Plan:
Attached is a document how the calibration uncertainty for 2006 will be calculated:
The uncertainty on the calibration will be assigned as the maximum between |E/p −1.0| and the uncertainty on the peak position.
Method:
We did some initial studies to determine the magnitude of each of these effects, and then we generated calibration trees covering the entire 200 GeV pp run from 2006. The code used to generate these trees is available in StRoot/StEmcPool/StEmcOfflineCalibrationMaker.
We made the following cuts on the tracks to select good electrons and an unbiased sample.
List 1:
After making these cuts, we fit the remaining sample to a gaussian plus a first order polynomial, based on a study of how to fit the background best.
Figure 1 uses an isolation cut to find a background rich sample to fit:
Figure 2 shows the stability of the E/p location (on the y-axis) between our fit and just a gaussian for different windows in dEdx (x-axis)
Figure 3 shows the E/p location (y-axis) for different annuli in dR (x-axis/1000), which motivated our dR cut to stay in a flat region:
After making all of these cuts, we fit E/p to the entire sample of all our electrons. We then add different cuts based on the trigger information to see how that might affect the bias. We looked at four scenarios:
List 2:
From these scenarios we chose the largest deviation from E/p = 1.0 as the overall uncertainty on the calibration. This happens to be scenario 3, working out to 1.3%.
Figure 4: E/p for different scenarios
We also observed a possible crate systematic by fitting E/p for each crate separately.
Figure 5 E/p for each crate:
According to the chi^2, there is a non statistical fluctuation. To figure out how much that is, we compared the RMS of these points to that when the data is randomly put into 30 partitions. It turns out that all of it is due to that one outlier, crate 12. Since crate 12 contributes 1/15 to each eta ring that it touches, the deviation of this point from the fit causes an uncertainty of 0.9%. This additional uncertainty increases the total uncertainty to 1.6%.
Side Note - Linearity:
After removing HT/HTTP events, we took a look at this plot of p (y-axis) vs E/p (x-axis). By eye, it looks pretty flat, which we verified by splitting into p bins.
Figure 6 p vs E/p
Figure 7 E/p vs p
Eta Dependence:
There was some question about whether there was eta dependence. This was investigated and found to be inconsequential: http://drupal.star.bnl.gov/STAR/node/14147/
Figure 8: Divided the sample into 3 separate time periods. Period 1 goes is before run 7110000. Period 2 is between runs 7110000 and 7130000. Period 3 is after run 7130000. The deviations are below 1.6%.
Figure 9: Agreement between east and west barrel:
Figure 10: ZDC Rate vs. energy/p
Figure 11: E/p fits for three different regions in ZDC rate: 0 - 8000, 8000-10000, 10000-20000 Hz.