Data analysis

  • ATLAS SCT hybrid - Measurement for Saclay Lab, January 2008
  • Basic steps how to evaluate data from test beam

    The steps are mainly common for 1D (pixel) and 2D (strip) sensors. Format of DST is common for both and evaluated macros are partly the sames and parlty they are derivate. In text below many examples are from DEPFET test beam in January 2006 in DESY, Hamburg, Germany.

    1. Reading of raw data format from test beam (only for experts)
    2. Basic preprocessing of data to prepare them for any physicist users and non-programmers
    3. Generation of DST data files with including some special information inside
    4. Prepare basic set of macros to help non experts to work with DST
    5. To do some special analysis on telescopes to support simulation results of quality of test beam geometry
    6. DUT analysis:
      1. Remove pedestal nad common noise of DUT
      2. Find hits/clusters on DUT
      3. Alignment of DUT and masking of bad channels
      4. Residual plots of DUT
      5. Efficiency of DUT, timing
      6. Noise occupancy of DUT
      7. Cluster size of DUT
      8. Bias of DUT
      9. Angle scans of DUT
      10. Interstrip analysis of all before of DUT
      11. Special analysis DAQ parameters of DUT
    7. If it is possible to do analysis compare with simulation to find space resolution in DUT position
    8. Laser tests

    Raw data

    Example (from DEPFET test beam in January 2006 in DESY, Hamburg, Germany) how to read source raw data file in ROOT include many more-less useful plots is on FirstRead.zip

    Data preprocessing

    Basic pre-processing of data include (more details, sources of theory and precise descriptions are on my lectures), there is shown example from DEPFET analysis:

    Track descritption: equation where x is corrected by alignment using equotions: equation

    DST production

    DST file was created by MakeNewDST_depfet.cpp, details of format are describe. Basic files are on http://ipnp.cz/kodys/depfet/TestbeamDESYJanuary2006/DST/

    Basic macros for evaluation

    Macros:    Possible is also looking to ROOT DST files straight from command line, there is example:
    root [0] new TCanvas()      //to create panel for looking plots
    (class TCanvas*)0x5a3a168
    root [1] TFile *f = new TFile("./dst/DST2116.root")  //open DST file - in ROOT memory
    root [2] DST->Draw("Channel2")          //to show histogram of all telescopes - mixture of all (wrong)
    root [3] DST->Draw("Channel2[0][1][1]")  //to show histogram of first each hit in tel 1 axis 1
    root [4] DST->Draw("Channel2[0][0][0]:Channel2[0][2][0]")  //scater plot - correlations btw tel0 and tel2
    root [5] DST->Draw("Channel2[0][0][0]:Channel2[0][2][0]","flag==1")  //the same but only if exist track
    root [6] DST->Draw("Channel2[0][0][0]:Channel2[0][0][1]","flag==1")  //correlation btw axis0 and axis1 (hitmap)
    root [7] DST->Draw("Channel2[0][1][1]","Channel2[0][1][1]<400&Channel2[0][1][1]>200&Flag=1") // hitmap in smaller region
    root [8] DST->Show()  //content of event 0
    root [9] DST->Show(10)  //content of event 10
    

    Space precision in DUT

    Special analysis for checking of precision of telescopes for different cut applied to Chi2 histogram base on some theory Using macros: UpgreatDST_depfet2.cpp, DepfetTelEval.cpp, DepfetTelEval3.cpp There was used two possible solutions:
    1. telescope errors was set to value calculate base on theory of Eta correction
    2. telescope errors was set to constant value 12 um

    Results: Telescope errors was set to value calculate base on theory of Eta correction:

                                        Chi2Cut: 10 30 50 70 100 %
    Tel 0 Resolution at Ifinity Energy, Axis 0 : 2.0 3.6 5.2 5.9 6.2
    Tel 0 Resolution at Ifinity Energy, Axis 1 : 4.8 6.7 7.3 7.2 7.0
    
    Tel 1 Resolution at Ifinity Energy, Axis 0 : 4.2 5.9 6.8 6.7 6.9
    Tel 1 Resolution at Ifinity Energy, Axis 1 : 1.1 2.8 4.6 5.4 5.8
    
    Tel 2 Resolution at Ifinity Energy, Axis 0 : 1.9 3.3 5.0 5.6 6.0
    Tel 2 Resolution at Ifinity Energy, Axis 1 : 1.9 3.6 5.1 5.7 6.0
    
    Tel 3 Resolution at Ifinity Energy, Axis 0 : 0.8 1.7 3.3 4.6 5.4
    Tel 3 Resolution at Ifinity Energy, Axis 1 : 2.2 3.4 5.1 5.6 5.8
    
                                                   Chi2Cut: 10 30 50 70 100 %
    DUT: Confidence Region of Track Ifinity Energy, Tel 0 : 4.2 6.8 9.9 12.5 14.5
    DUT: Confidence Region of Track Ifinity Energy, Tel 1 : 4.0 6.8 9.8 11.4 13.6
    Chi2Cut: 10 30 50 70 100 %
    DUT: Prediction of Intersection Ifinity Energy, Tel 0 : 9.3 15.1 22.2 28.3 32.1
    DUT: Prediction of Intersection Ifinity Energy, Tel 1 : 8.9 15.2 22.2 27.1 30.6
    
    Other text results:  Illustrated plots: note: big maxima in mid of residuals is effect of "magnetism" in case some telescope has very small error from Eta analysis, this give bigger spread of residuals because other telescopes with bigger error gives bigger "freedom" to track. This efefct is not visible in case all telescopes have the same error - see below.

    Telescope errors was set to constant value 12 um

                                        Chi2Cut: 10 30 50 70 100 %
    Tel 0 Resolution at Ifinity Energy, Axis 0 : 1.4 1.8 3.3 4.3 5.9
    Tel 0 Resolution at Ifinity Energy, Axis 1 : 1.2 2.0 2.8 4.2 5.5
    
    Tel 1 Resolution at Ifinity Energy, Axis 0 : 1.6 2.6 3.9 5.8 7.1
    Tel 1 Resolution at Ifinity Energy, Axis 1 : 1.6 2.2 3.8 5.1 6.7
    
    Tel 2 Resolution at Ifinity Energy, Axis 0 : 1.5 2.3 3.6 5.5 6.7
    Tel 2 Resolution at Ifinity Energy, Axis 1 : 1.2 2.4 3.9 5.3 6.4
    
    Tel 3 Resolution at Ifinity Energy, Axis 0 : 1.4 1.8 3.2 4.1 5.6
    Tel 3 Resolution at Ifinity Energy, Axis 1 : 1.1 1.9 3.0 4.2 5.4
    
                                                   Chi2Cut: 10 30 50 70 100 %
    DUT: Confidence Region of Track Ifinity Energy, Tel 0 : 3.0 5.0 7.1 9.4 11.4
    DUT: Confidence Region of Track Ifinity Energy, Tel 1 : 2.6 4.4 7.4 9.1 10.2
    Chi2Cut: 10 30 50 70 100 %
    DUT: Prediction of Intersection Ifinity Energy, Tel 0 : 5.7 10.3 13.0 22.1 25.7
    DUT: Prediction of Intersection Ifinity Energy, Tel 1 : 6.5 9.9 14.8 18.7 23.4
    
    Other text results:  Illustrated plots:

    DUT analysis

    Following part will be filled based on real work on test beam data evaluation Skeleton of macro for using is: ExampleReadDST.cpp, where is section labeled:
    // *********************************************************************************
    // ***************** Here you add your code for DUT evaluation *********************
    // *********************************************************************************
    
    for call your own macros and routines.
    Example how to use it is on: DUT1_DST.cpp

    Remove pedestal nad common noise of DUT

    Using macro: DUTAnalysis2.cpp call: DUTAnalysis1(...)

    Example how to use it is on: DUT1_DST.cpp

    Example of real data acquised DUTMap.gif

    Removing of pedestal DUTMap2.gif

    Removing of pedestal - detail, common noise is visible DUTMap2a.gif

    Removing of pedestal - detail, common noise is visible DUTMap2b.gif

    Removing of pedestal and common noise - detail DUTMap3.gif

    Removing of pedestal and common noise - detail DUTMap3a.gif

    Histogram of noise distribution DUTMap3a.gif

    Find hits/clusters on DUT

    Using macro: DUTAnalysis2.cpp call: DUTAnalysis4(...)

    Example how to use it is on: DUT1_DST.cpp

    Alignment of DUT and masking of bad channels

    Residual plots of DUT

    Efficiency of DUT and timing analysis

    Noise occupancy of DUT

    Cluster size of DUT

    Bias of DUT

    Angle scans of DUT

    Interstrip analysis of all before of DUT

    Special analysis

    Special analysis DAQ parameters of DUT e.g. scan of tunable voltages of DUT front end and DAQ electronics.

    Analysis and simulations

    Bachelor thesis from Daniel Scheirich show an example how analysis using simulation set resolution and efficiency conditions in DUT: Testing Semiconductor Detectors Using Beam of Charged Particles, Institute of Particle and Nuclear Physics, Charles Univestity, May 2006.

    Laser tests

    If there are available laser tests results or beta source measurements, compare them with test beam results.
    Homepage