Difference between revisions of "Pair Spectrometer Low Granularity Calibration"

From GlueXWiki
Jump to: navigation, search
(SOURCE:)
(PSC Raw Data vs Skims)
Line 15: Line 15:
 
===PSC Raw Data vs Skims===
 
===PSC Raw Data vs Skims===
  
When callibrating the PSCs it is important to distinguish between raw data and data skims.
+
When callibrating the PSCs it is important to distinguish between raw data and data skims. Each have their uses, but using raw data when doing analysis rather than a skim might give inaccurate information, and using a skim cannot determine background or the spectrum of multiplicity.
  
 
====PSC Raw Data====
 
====PSC Raw Data====

Revision as of 15:49, 14 July 2015

PSC Calibration

Figure 1.Top Down View of the Hall D Pair Spec. from original schematics

For the better part of the last five years (since appx. 2010) Hall D in conjunction with UNCW has been constructing a Pair Spectrometer (pair-spec). The purpose of which is to convert coherent Bremsstrahlung photons into electron/positron pairs. These charged pairs can be separated and extracted for data about the beam. This is particularly useful data because it is being collected after it has traveled from the tagger magnet, and through the collimator.

In 2013 the counters for the low-granularity section of the pair spectrometer were constructed. In 2014 they were tested, and then installed in Hall D. In fall of 2014, and spring of 2015 test beam was run through the hall as part of a 12 GeV commissioning run. We can take data from the commissioning runs to calibrate the pair-spectrometer to give us data within acceptable accuracy. That is the purpose of this page, to explain, and walk through the calibration process.

PSC Data Recognition and Analysis

Fully calibrating the Pair Spectrometer involves a multitude of data from different sources. The first step is simply accessing the data. Jefferson lab uses a data storage and scientific computing array in CEBAF. It is collectively known as ifarm. Each hall and respective departments store the data from each run on the ifarm server back. When accessing ifarm via secure shell (ssh) we gain access to the repository of data collected.

PSC Raw Data vs Skims

When callibrating the PSCs it is important to distinguish between raw data and data skims. Each have their uses, but using raw data when doing analysis rather than a skim might give inaccurate information, and using a skim cannot determine background or the spectrum of multiplicity.

PSC Raw Data

PSC raw data is data straight from the flash ADC and TDC. There is an associated time signature in the case of TDC data, and 100 small samples of signal characteristics in the case of ADC data that is broken into 4ns segments. You can think of ADC data as the raw digital version of the peak on an oscilloscope (an analog instrument). This is the case for both raw and skimmed data. What distinguishes them is raw data is events that have not been selected for. It is a measurement of every event through the detector, regardless of its usefulness.

PSC Skims

PSC skims simply mean that events have been selected for. In essence we are using a trigger to know when to count an event. The skims used for calibration of the PSC select for a multiplicity of two. In other words detectors 1-8 and 9-16 both get hit at the same time. Then, the ADC data is saved and it triggers the TDC data to save as well for those events. In this case it is highly unlikely that erroneous data is collected. However, because there needs to be two events at the same time (and only two) then a majority of the data from the raw data is lost. Retention might only a few percent of the original occupancy.

Plugins

In order to do data analysis we first need to be able to build our data into histograms within the ROOT analysis package. ROOT is a powerful object-oriented analysis package developed by Rene Brun et al. at CERN, and incorporated into the ifarm server system. In order to obtain data from runs and turn that data into graphs we need to run the ROOT package and source the environmental variables.

Source

in ifarm65 located at /w/halld-scifs1a/home/user/work/HDBuildManager/builds/dev/scripts/env/env_halld_Sp15.csh

First we have to source the environment so that we can run ROOT and our plugins with the data we desire. Sourcing provides all the environmental variables needed to full the actions of the analysis package.

PSC Multiplicity Count

PSC Counter Occupancy

PSC ADC Average Amplitude

PSC TDC Average Time