Difference between revisions of "Offline Monitoring Data Validation CPP"

From GlueXWiki
Jump to: navigation, search
(BCAL: Most of the BCAL instructions removed. The task is reduced an reference is made to the automated system that makes plots versus runs.)
(FCAL)
Line 243: Line 243:
 
::The goal is to find any blocks that do not deliver a signal for each run, these must be made ''dead channels'' in the Monte Carlo simulation for that specific run. Watch out for individual blocks as well as groups of 16 channels in a 4x4 orientation, which indicates a faulty fADC.  
 
::The goal is to find any blocks that do not deliver a signal for each run, these must be made ''dead channels'' in the Monte Carlo simulation for that specific run. Watch out for individual blocks as well as groups of 16 channels in a 4x4 orientation, which indicates a faulty fADC.  
  
 +
 +
Other quantities of interest are the location of the '''pi0 peak in the two-photon invariant mass''', the '''location and width of the timing peak''' as well as ensuring good quality of the '''charged tracks matching''' with hits in the FCAL. However - all these quantities will be checked in an automated fashion in the future. Outliers then should be inspected carefully - which involves the following sets of plots in addition to the occupancy:
  
 
# '''Check FCAL Hits 1''':
 
# '''Check FCAL Hits 1''':

Revision as of 14:58, 13 December 2023

This page contains the procedure for checking if CPP/NPP production runs are of good quality and can be used for physics analysis.

Procedure

For each production run, do the following:

  • Go to the Offline Plot Browser page.
  • Make sure that you are looking at the correct monitoring version (currently ver24).
  • Follow the steps outlined in the checklist below.
  • Workers should check each plot for their assigned subsystem and leave notes in the corresponding spreadsheet if any significant deviations are seen
  • On the spreadsheet page for the relevant subsystem, enter "Y" in the "Overall Quality" field if all monitoring histograms are acceptable, otherwise enter "N"
  • We will iterate this procedure until the process converges

Expert Actions

  • Certify that each subsystem is okay
  • Set run status in RCDB based on monitoring results
    • (script provided)

Run Statuses

  • -1 - unchecked
  • 0 - rejected (not physics-quality)
  • 1 - approved
  • 2 - approved long/"mode 8" data
  • 3 - calibration / systematic studies

Checklist

Monitoring Spreadsheet

Reference run for 2022-05: 100987

Instructions Status and Responsible Parties

  • Ready:
    • CDC: Naomi Jarvis
    • CTOF: Albert Fabrizi
    • FDC: Lubomir Pentchev
    • FMWPC: Albert Fabrizi
    • PS: Experts: Alex Somov, Olga Cortes. Instructions from Sean Dobbs
    • TAGH: Experts: Alex Somov, Bo Yu. Instructions from Sean Dobbs
    • TAGM: Experts: Richard Jones, Ellie Prather. Instructions from Sean Dobbs
    • TOF: Beni Zihlmann
    • Timing: Sean Dobbs
    • Analysis: Alex Austregesilo
  • In progress:
    • BCAL: Mark Dalton, Zisis Papandreou
    • FCAL: Mark Dalton, Malte Albrecht

Monitoring Volunteers

  • Ready to start:
    • CDC: Alison Laduke
    • CTOF: Albert Fabrizi
    • FDC: Dene Hoffman
    • FMWPC: Albert Fabrizi
    • PS: Ahmed Foda
    • TAGH: Saheli Rakshit
    • TAGM: Saheli Rakshit
    • TOF: Jesse Hernandez
    • Timing: Nizar Septian
    • Analysis: Zach Baldwin
  • Standby:
    • BCAL: Zisis Papandreou/Regina + Tolga Erbora
    • FCAL: Ahmed Foda

General Notes

BCAL

  • Check Occupancy - Reference: [ link ]
  • Check Hit Efficiency - Reference: [ link ]

BCAL Reference Plots

BCAL Notes

The BCAL is used to measure the energy and time of showers.

  1. Occupancy and Efficiency
    • The first thing is to make sure that all the channels work. This only needs to be done once. If there are serious efficiency problems with a channel it must be disables in data and MC.
    1. Occupancy: This should be approximately flat. There can be hot channels when the baseline drifts. A very hot channel might explain low efficiency in that area. For online monitoring, pedestal calibrations may be necessary.
    2. Hit Efficiency: This should be approximately flat. If there are features we should understand why. In CPP/NPP it appears there is fluctuation on the lower Cellids for hit efficiency. The tolerable deviation is (TBD)%.
  2. Timing
  3. Matching
    • Matching will be checked with the automated system but this still needs to be developed.


CDC

  • Check Occupancy - Reference: [ link ]
  • Check Time-to-distance - Reference: [ link ]
  • Check dE/dx - Reference: [ link ]
  • Check Efficiency- Reference: [ link ]

CDC Reference Plots

CDC Notes

General note: The electronics for the top right quadrant of the detector were borrowed, and used for the muon chambers. The forward trigger configuration did not favour the CDC and its plots from CPP suffer from much fewer statistics than GlueX or PrimEx. It is not a critical detector for this experiment and because of the difficulty of calibrating the data, the usual requirements were relaxed. Many of the runs don't have enough statistics to evaluate them properly. If the run is not definitely bad, then please mark it as good.
CDC Occupancy: It hurts me to look at these plots. For the remaining 3/4 of the detector, there should be a uniform decrease in intensity from the center of the detector outward. Random white cells scattered throughout occur when not enough data were collected, eg empty target runs, trigger tests or no beam. Several contiguous white, dark blue or bright yellow cells which don't match the neighboring cells are a problem.
Time-to-distance: 𝛿, the change in length of the LOCA caused by the straw deformation, is plotted against the measured drift time, t drift. The color scale indicates the distance of closest approach between the track and the wire, obtained from the tracking software. The red lines are contours of the time-to-distance function for constant drift distances from 1.5 mm to 8 mm, in steps of 0.5 mm. They should lie over the top of the dark blue contour lines separating the colour blocks. For the plot of residuals vs drift time, the mean should be less than 20um and the sigma should be less than 200um.
dE/dx: At 1.5GeV/c the fitted peak mean should be within 10% of 2.02 keV/cm.
Efficiency: The efficiency should be 0.9 or higher at 0 to 0.5cm and then fall to around 0.6 or above at 0.75cm.

CTOF

  • ADC and TDC Occupancy - Reference: [ link ]
  • Timing and Pulse Integral - Reference: [ link ]


CTOF Reference Plots

CTOF Notes

Occupancy: Should show bars 2 and 3 for both ADC and TDC have magnitudes higher more hits than 1 and 4 (2 and 3 are closer to beam line). Occupancy for digi hits only!
Timing: TDC timing should have a hot peak centered close to zero, with a flat pedestal. The difference in ADC and TDC time should also show a distribution centered close to zero. These are all Calibrated hits.
Pulse Integral: Pulse integral values have a large peak very close to zero relative to the rest of the distribution.

FCAL

  • Check Occupancy - Reference: [ link ]
  • Check FCAL Hits 1 - Reference: [ link ]
  • Check FCAL Hits 2 - Reference: [ link ]
  • Check FCAL Clusters 1 - Reference: [ link ]
  • Check FCAL Recon. 1 - Reference: [ link ]
  • Check FCAL Recon. 2 - Reference: [ link ]
  • Check Recon. FCAL Matching - Reference: [ link ]

FCAL Reference Plots

FCAL Notes

Is used for neutral particle detection and pion identification.

  1. Check Occupancy:
For monitoring purposes, the occupancy of the detector should be checked for every run once - so this is only needed for the first ever monitoring launch per run period.
The goal is to find any blocks that do not deliver a signal for each run, these must be made dead channels in the Monte Carlo simulation for that specific run. Watch out for individual blocks as well as groups of 16 channels in a 4x4 orientation, which indicates a faulty fADC.


Other quantities of interest are the location of the pi0 peak in the two-photon invariant mass, the location and width of the timing peak as well as ensuring good quality of the charged tracks matching with hits in the FCAL. However - all these quantities will be checked in an automated fashion in the future. Outliers then should be inspected carefully - which involves the following sets of plots in addition to the occupancy:

  1. Check FCAL Hits 1:
  2. Check FCAL Hits 2:
  3. Check FCAL Clusters 1:
  4. Check FCAL Recon. 1:
  5. Check FCAL Recon. 2:
  6. Check Recon. FCAL Matching:


FDC

  • Check Package 1 Occupancy - Reference: [ link ]
  • Check Package 2 Occupancy - Reference: [ link ]
  • Check Package 3 Occupancy - Reference: [ link ]
  • Check Package 4 Occupancy - Reference: [ link ]

FDC Reference Plots

FDC Notes

There are two HV sectors, in Package 2 cell 6 (28 wires) and Package 3 cell 4 (20 wires), that are always OFF and seen in the occupancy plots as empty sectors. There are also strips with lower or no efficiency that are always there, mostly in Package 3 and 4 (see the reference plots), which also normal. What is not normal are groups of wires (of the order of 8 to 24 wires) that are noisy. They will show as brighter stripes in the occupancy. The problem is that they may lock the F1TDCs. This happened several times in the past years. In general, look for groups of channels that are overactive or have lower efficiency.

FMWPC

  • FMWPC Wire Occupancy - Reference: [ link ]
  • FMWPC Time and Pulse Integral - Reference: [ link ]

FMWPC Reference Plots

FMWPC Notes

Occupancy: This should show a double peak structure located at the wires close to the beam line and a steady decrease in hits as the wire number gets further from beam line.
Timing: Shows many small peaks over the whole distribution per chamber. Timing configuration and calibration may have to be done to actually analyze the data from these plots. For now the digi hits can be used for monitoring but the factory (calibrated) hits should be used for analysis until these timing plots are better understood.
Pulse Integral: Should show hot zone around 600, with a flat distribution for the remainder of the range.

PS

  • Check Occupancy - Reference: [ link ]
  • Check Timing Alignment - Reference: [ link ]

PS Reference Plots

PS Notes

PS Occupancy: PS Occupancy (bottom) should be fairly flat with a couple bad channels. PSC Occupancy (top) should have similar rates in TDC and ADC, with the same shape as the reference histogram. PS Timing: All plots should be centered at zero. The right column reflect the tagger energy, the bottom right is empty (should be updated?).

TAGH

  • Check Tagger Occupancy - Reference: [ link ]
  • Check TAGH Hits 2 - Reference: [ link ]

TAGH Reference Plots

TAGH Notes

Tagger occupancy: TAGH - Generally the fADC and TDC occupancies should be similar and mostly flat, except for a drop near the left hand side, which represents the location of the coherent peak. TAGH - expect the choppy pattern in the reference image, which reflects the varying size of the different counters
TAGH Hits 2: This plot is complicated - the main thing to look for is the time(TDC)-time(ADC) vs. channel plot to be centered around zero. Keep an eye out for any extra or unusual dead channels.

TAGM

  • Check Timing ADC-RF - Reference: [ link ]
  • Check Timing T-ADC - Reference: [ link ]

TAGM Reference Plots

TAGM Notes

Generally both distributions should be centered near zero. There is some variation in intensity due to the shape of the photon beam energy dependence (coherent peak) and the inefficiency of some of the channels.

TOF

  • Check Occupancy - Reference: [ link ]
  • Check TOF Matching 1 - Reference: [ link ]

TOF Reference Plots

TOF Notes

  • Occupancy plot: missing paddles would appear as "gaps" and indicate most likely HV loss.
  • Time-Based Tracks: matching of track position at TOF location in x of horizontal paddles and y for vertical paddles, in the third column of he picture, all paddles(x-axis-bins) should have their intensity centered close to zero. This is indicative of a good timing calibration of each paddle/PMT.



Timing

  • Check HLDT Calorimeter Timing - Reference: [ link ]
  • Check HLDT Drift Chamber Timing - Reference: [ link ]
  • Check HLDT PID System Timing - Reference: [ link ]
  • Check HLDT Tagger Timing - Reference: [ link ]
  • Check HLDT Tagger/RF Align 2 - Reference: [ link ]

Timing Reference Plots

Timing Notes

  • Calorimeter Timing - Generally the left two peaks should be aligned near zero. The pattern in the right two plots should look like the reference.
  • Drift Chamber Timing - In each case, the main peaks should line up at zero, but often have other structures. Ignore the first few bins of the lower left plot (they mostly say something about the noise in the detector). The signal / noise ratio (main peak vs. other) can change for empty target runs
  • PID System Timing - The TOF peaks should be near zero. The pattern in the TDC-ADC plot reflect the different occupancies. The SC plots are empty since it was not installed this run.
  • Tagger Timing - The signal to background levels of the left two plots depend on the electron beam current. Look for clean peaks in the left two plots, with well-defined edges of the distribution. The right two plots should peak near zero - the blank spots are due to channels that are dead or not installed, and the variation in intensity mostly reflects the photon beam intensity.
  • Tagger/RF Timing - Look for the nice "picket fences" on the right two plots, and that in the bottom left plot each channel peaks at zero.


Analysis

  • Tracking 1 - [ link ]
  • Tracking 3 - [ link ]
  • Check BCAL pi0 - Reference: [ link ]
  • Check BCAL/FCAL pi0 - Reference: [ link ]
  • Check CPP - Reference: [ link ]

Analysis Reference Plots

Analysis Notes

Generally in these plots, there will be a difference between Pb and empty target. It is mainly intended as a final check that all components work together and proper events are reconstructed.

  • Tracking 1 - Note the spikes in the upper right plot are because we have 4 hypotheses fit to a track by default. The lower left plot does have a peak at zero.
  • Tracking 3 - All four plot should have the pion band around 2keV/cm. Only the top left one should have an additional banana-shaped band for the protons.
  • Check BCAL pi0 - The fitted peak should near at the correct pi0 mass of 135 MeV.
  • Check BCAL/FCAL pi0 - The fitted peak should be lower than the correct pi0 mass, I think because the wrong vertex is used.
  • Check CPP - The top left plot should have a peak at 193.5 GeV, the bottom middle plot a visible rho peak at 0.75GeV and the bottom right plot a sin(2phi) shape for diamond runs. Note that the yields in the center pad in the top row may vary significantly depending on the target, and the large peak at threshold in the bottom middle plot disappears when the target is empty.