Skip to content
Snippets Groups Projects
Commit e50843ab authored by Soshi Tsuno's avatar Soshi Tsuno Committed by Julien Maurer
Browse files

Adding calibration macro (ATLASRECT-7338)

Adding calibration macro (ATLASRECT-7338)
parent eacf3313
No related branches found
No related tags found
No related merge requests found
#g++ -O2 'root-config --libs --cflags' CalibrateIBL.C -o CalibrateIBL.exe
g++ -O2 -L/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/sw/lcg/releases/LCG_101_ATLAS_24/ROOT/6.24.06a/x86_64-centos7-gcc11-opt/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -pthread -std=c++17 -m64 -I/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/sw/lcg/releases/LCG_101_ATLAS_24/ROOT/6.24.06a/x86_64-centos7-gcc11-opt/include CalibrateIBL.C -o CalibrateIBL.exe
source diff could not be displayed: it is too large. Options to address this: view the blob.
#!/bin/bash
##################################################################
# Charge Calibration using conventional method
# Usage : sh Calib.sh
# Detail : README or Note(link)
##################################################################
ITSNAME="[CALIB TOOL]"
echo "${ITSNAME} Setup the ATLAS software environment"
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
setupATLAS
asetup master,latest,Athena
echo ""
echo ""
echo "${ITSNAME} Create reference file from DB"
AtlCoolConsole.py COOLOFL_PIXEL/CONDBR2 > PixCalib-DATA-RUN2-UPD4-21.log << EOF
usetag PixCalib-DATA-RUN2-UPD4-21
more /PIXEL/PixCalib
exit
EOF
echo ""
echo ""
echo "${ITSNAME} Start calibration"
root -b -q PixelCalib.C > output.dat
echo ""
echo ""
echo "${ITSNAME} Finish calibration"
echo "${ITSNAME} Fix calibration result"
python3 recover.py output.dat output_recover.dat
echo ""
echo ""
echo "${ITSNAME} Finish to fix calibration result"
echo "${ITSNAME} Finish Calibration!"
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment