Check the results of the pi0 calibration

1. Produce dedicated PDF files:

cd /group/calo/CalibWork/plotsCalib/
./postCalibScript.sh
(takes some time to produce all the files...)

2. Get bad cells and modify the XML file:

  • Get list of bad cells with
cd $(date +"%Y/%m/%d")
ll SecondPass/7/*/bad/
  • And with
. /group/calo/sw/scripts/setup.sh
root plotLambdaMap.cxx
→ Modify Calibration_2018XXXX.xml to remove the identified bad cells (failing fits) using the cell index
→ If you have any suspicion for a cell, remove it from the .xml file: No change to the HV will be applied)

3. Inspect the following PDF files, by eye: Check that the fits are ok for all the cells

secondPass7.pdf
inner_secondPass.pdf 
middle_secondPass.pdf 
outer_secondPass.pdf 
→ Modify Calibration_2018XXXX.xml to remove the identified bad cells (failing fits) using the cell index
→ If you have any suspicion for a cell, remove it from the .xml file: No change to the HV will be applied)

4. Modify the reference file

Only when you are sure that you removed all bad cells from Calibration_2018XXXX.xml

cd /group/calo/LEDReferences/
cp $(date +"/group/calo/CalibWork/plotsCalib/%Y/%m/%d")/Calibration_2018XXXX.xml .

  • Edit the xml input file in
/group/calo/LEDReferences/updateEcalLEDreference.cxx

  • Then:
root updateEcalLEDreference.cxx
This creates new reference files: referenceDownNew.root and referenceUpNew.root
the 2d histograms (ratio_led2d_h, ratio_led2d_e) should be ==1 for HCAL and identical to the lambda map from plotLambdaMap.cxx for ECAL
CHECK: You can compare these new references with previous one using the macro:
  root /group/calo/LEDReferences/ratioRef.cxx 

  • Move the original referenceDown.root and referenceUp.root files changing their name (to keep previous changes):
cp referenceDown.root referenceDown_Upto_2018XXXX.root
cp referenceUp.root referenceUp_Upto_2018XXXX.root

  • And update the reference files:
cp referenceDownNew.root referenceDown.root
cp referenceDownNew.root referenceUp.root
Warning, important These 2 files (referenceDowm.root and referenceUp.root) are used by the LED autoupdate, any modification to these file will affect the HV

5. HV modification:

→ The HV changes will be automatically applied at the next LED autoupdate (end of current fill)

6. Check the pi0 mass at the following fill:

sigma_pi0_lumi_time_All.eps
CHECK: Macro to plot the pi0 mass as a function of time:
  root -b -q /group/calo/CalibWork/plotsCalib/pi0VsTime_CB.cxx+  
will produce useful plots like:
mean_pi0_lumi_time_All.eps

-- JeanFrancoisMarchand - 2018-05-24

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2018-05-24 - JeanFrancoisMarchand
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback