TOF monitor system - PowerPoint PPT Presentation

About This Presentation
Title:

TOF monitor system

Description:

TOF monitor system Qian LIU – PowerPoint PPT presentation

Number of Views:110
Avg rating:3.0/5.0
Slides: 18
Provided by: hawaiiEdu
Category:

less

Transcript and Presenter's Notes

Title: TOF monitor system


1
TOF monitor system
  • Qian LIU

2
Outline
  • TOF Monitor system introduction (briefly)
  • Arithmetic of TOF Monitor system analysis program
  • How to run the program

3
TOF Monitor System

4
TOF Monitor System Analysis
  • What we do measure is T and Q of TOF and
    Ref-PMT.
  • In program, theyve been stored to an array
    T450 and Q450
  • 0175 is East Barrel TOF, start as BIE0 and BOE0.
  • 176223 is East End-cap.
  • 224399 is West Barrel TOF, start as BIW0 and
    BOW0.
  • 400447 is West End-cap.
  • 448449 is Ref-PMT
  • Since the raw data coming from the two racks,
    they are stored in fRackTree2. Then combine the
    two racks data to fDataTree. (this is because in
    the raw data it is stored separately and may not
    sandwich).
  • The time difference is stored into S450 and all
    events data are stored in fSDataTree.

5
The error message from reading data 1. Are you
analysising TOF Monitor data? The input file name
must start with (file name check) 2. Reading
input file ERROR! 3. There is no data in this
file! 4. Can not open file ! 5. Input file is too
large! Is it TOF Monitor data? (gt100M) 6. File
head is not 0x1234aaaa! 7. File date is not
correct, change it to Jan! 8. File 2nd head is
not 0x1234aabb! 9. File 3rd head is not
0x1234bbbb! 10. Rob's head is not 0x1234cccc! 11.
Rod's head is not 0xdd1234dd! 12. Rod's head is
not 0xee1234ee! 13. This is not TOF data at
all! 14. No such TOF rack at all! 15. Status is
not 3! (solenoid status) The error message from
combine two racks data 16. Storing rack data
ERROR! 17. Two racks' data entries are not
equal! 18. Two racks' data lvID are not equal!
(event ID) 19. Two racks' solenoid types are not
equal!
6
Generate T Histogram
  • T histogram 1. draw it with cut T ! -1. 2. If
    the T is overflow, set crossband true.
  • Overflow means T data is larger than 0x3ffff,
    so back to 0.

7
Generate Q Histogram
  • Q Histogram 1. draw it with cut Qgt0 . 2. An
    arithmetic is adopted to set the low and up edge.
  • If the entries in this edge less than the total
    events
  • 10, an error message will be displayed.
  • The mean value, sigma, chisquare, error of mean,
  • error of sigma are stored in Qm450,
    Qs450 ,
  • Qxs450, Qme450, Qse450.
  • Then Generate 2D Q plot.

8
Generate T diff Histogram
  • T diff histogram 1. if the crossband is true, a
    correction will be performed. 2. An arithmetic is
    adopted to set the low and up edge.
  • 3. the data is stored in fSDataTree.
  • The mean value, sigma, chisquare, error of mean,
  • error of sigma are stored in Sm450,
    Ss450 ,
  • Sxs450, Sme450, Sse450.
  • Then generate 2D T diff plot.

9
Read history data from database
  • Read history data from database and store to
    fDBtree. The cut is the same high voltage for
    TOF (abslt5V), and the same temperature for
    Ref-PMT (abslt0.5 degree). (Maximum number of
    selected record is 1000).
  • A flag for each TOF is used. Its 8 Bit. The low
    4 bit (03) for Qm, Qs, Sm, Ss, separately. If
    its 1, it means it could be used for history
    check. The high 4 bit (47) for Qm, Ss, Sm, Ss.
    If its 1, it means it is in 3sigma of the
    average value.
  • Since this check may take for a while, Im
    thinking remove this part to a separate program,
    and automatically run at midnight. Of course, it
    can also be run manually.

10
Generate Qm History Hist.
  • Now no correction is performed.
  • Since the histogram may not be a Gaussian, I will
    use the Mean and RMS to judge the data status.

11
How to run it
  • Easy. The only thing you need to do is select a
    file you want to analysis from the file menu.

12
The log view
13
Manual

14
Mahalo
15
Kinematics
  • BESII

J/psi decays to pppipi
16
Kinematics
  • BESIII

Error matrix for x,y,z is set as 100 0
0 0 100 0 0 0 100
17
Kinematics
  • BESIII

Set all covariance error to 0, and error to 100.
Write a Comment
User Comments (0)
About PowerShow.com