Pixel Analysis Tools Guide
Introduction
Logging in and setting up the environment
This step requires that you have a P5 Online Network account (cmsusr). Get one by contacting
danek.kotlinski@psiNOSPAMPLEASE.ch. Then log in as
ssh -Y srv-c2f38-15-01.cms
Setting up CMSSW
source /opt/offline/cmsset_default.sh
cmsrel CMSSW_8_0_19_patch1
cd CMSSW_8_0_19_patch1/src/
cmsenv
Follow the instructions at the
PixelOnlineSoftwareInstallation TWiki
mkdir -p TriDAS/pixel
cd TriDAS/pixel
export CERNUSER=YourUserNameAtCERN
svn co --username $CERNUSER https://svn.cern.ch/reps/cmspxldaq/POSRelease/trunk POSRelease
cd POSRelease
./create_setenv.sh -r $ROOTSYS
source setenv.sh
cd $BUILD_HOME
ln -s /nfshome0/pixelpro/TriDAS/DiagSystem DiagSystem #XDAQ11 only
ln -s /nfshome0/pixelpro/TriDAS/FecSoftwareV3_0 FecSoftwareV3_0
ln -s DiagSystem/LogReaderWithFileServer pixel/LogReaderWithFileServer #XDAQ11 only
cd $BUILD_HOME/pixel/POSRelease
./checkout.py
cd $BUILD_HOME/pixel
make install
make Set=pixel
Logging in as pixelpro
Some operations are only permitted when logged in as pixelpro. To do so
xsudo -u pixelpro -H zsh -l
Sourcing ROOT and Python (Ops! Buggy)
To set up root and python you can so
source ~/TriDAS/pixel/POSRelease/setenv.sh
However, this is currently buggy as
PyROOT is not compatible with this ROOT version. Use CMSSW instead (see above).
Scripts currently available in Pixel Analysis Tools
This is an overview over all available scripts in Pixel Analysis Tools available to analyse different calibrations
Scripts currently available in Pixel Analysis tools (on SVN)
Scripts currently available in /nfshome0/pixelpro/scripts/. To be moved/backed-up in SVN repositiory?
Location |
Name |
Comments/Action Items |
Main Author |
To be added to SVN repository (Y/N)? |
/nfshome0/pixelpro/scripts/ |
analyzeFMM.perl |
|
- |
|
|
analyzeFMM.perl_* (6 old, delete?) |
|
- |
|
|
ChangeLines.pl |
|
- |
|
|
confTimes.C |
|
- |
|
|
countHits.sh |
|
- |
|
|
countTimeouts.awk |
|
- |
|
|
DCStoTrkFECDpTime.awk |
|
- |
|
|
analyzeFMM.perl |
|
- |
|
|
DCStoTrkFECDpTime.C |
|
- |
|
|
dumpErrors.py |
|
- |
|
|
evtNumErr.awk |
|
- |
|
|
filterAddresslevels.sh |
|
- |
|
|
findBUSY.sh |
|
- |
|
|
findOOS.sh |
|
- |
|
|
findWARN.sh |
|
- |
|
|
getPSXconnections.sh |
|
- |
|
|
gettimsfpix.sh |
|
- |
|
|
makeDcuNtuple.C |
|
- |
|
|
NOR.py |
|
- |
|
|
piaReset.sh |
|
- |
|
|
PixelAliveLoopBPix.C |
|
- |
|
|
PixelAliveLoopFPix.C |
|
- |
|
|
readFEClog.awk |
|
- |
|
|
readFEClog.sh |
|
- |
|
|
readPSXlog.awk |
|
- |
|
|
readPSXlog.C |
|
- |
|
|
readPSXlog_perConnection.C |
|
- |
|
|
resyncs.sh |
|
- |
|
|
runmon.py |
|
- |
|
|
runmon_test.py |
|
- |
|
|
runsum_data1.py |
|
- |
|
|
runsum_errordetails.py |
|
- |
|
|
runsum_play.py |
|
- |
|
|
runsum.py |
|
- |
|
|
runsum.py_orig |
|
- |
|
|
runsum_simple.py |
|
- |
|
|
runsum_test.py |
|
- |
|
|
runsumxml.py |
|
- |
|
|
runsum_xurl.py |
|
- |
|
|
setenv_TTSTest.sh |
|
- |
|
|
seu_finder_prelim.py |
|
- |
|
|
seu_finder.py |
|
- |
|
|
stoptime.awk |
|
- |
|
|
writeRCMSxml.C |
|
- |
|
/nfshome0/pixelpro/scripts/analyze_thresholds |
plotThresholds.cc/.exe/.o |
- |
- |
- |
|
plotThresholds_fpix.cc/.exe/.o |
- |
- |
- |
|
run_thresholds.csh |
- |
- |
- |
|
run_thresholds_fpix.csh |
- |
- |
- |
|
PixelAliveLoopBPix.C |
- |
- |
- |
|
PixelAliveLoopFPix.C |
- |
- |
- |
|
psx_smi_connection_list |
- |
- |
- |
|
psx_smi_connection_list.test |
- |
- |
- |
|
readFEClog.awk |
- |
- |
- |
|
readFEClog.sh |
- |
- |
- |
|
readPSXlog.awk |
- |
- |
- |
|
readPSXlog.C |
- |
- |
- |
|
readPSXlog_perConnection.C |
- |
- |
- |
|
resyncs.sh |
- |
- |
- |
|
runmon.py |
- |
- |
- |
|
runmon_test.py |
- |
- |
- |
|
runsum_data1.py |
- |
- |
- |
|
runsum_errordetails.py |
- |
- |
- |
|
runsum_play.py |
- |
- |
- |
|
runsum.py |
- |
- |
- |
|
runsum.py_orig |
- |
- |
- |
|
runsum_simple.py |
- |
- |
- |
|
runsum_test.py |
- |
- |
- |
|
runsumxml.py |
- |
- |
- |
|
runsum_xurl.py |
- |
- |
- |
|
setenv_TTSTest.sh |
- |
- |
- |
|
seu_finder_prelim.py |
- |
- |
- |
|
seu_finder.py |
- |
- |
- |
|
stoptime.awk |
- |
- |
- |
|
writeRCMSxml.C |
- |
- |
- |
Scripts currently available in /pixelscratch/pixelscratch/data0/.
Current content mainly steering .csh files and input xml files. Run executables at pixelpro. Should rather be embedded in
PixelAnalysisTools and use absolute paths for input files, and relative paths following the same structure as in PAT. In this way, this can be run locally with an
SVN version of POS or from pixelscratch, using the exact same scripts. Also easier to keep content at pixelscratch up to date with
SVN.
Location |
Name |
Comments/Action Items |
Main Author |
To be added to SVN repository (Y/N)? |
pixelscratch/pixelscratch/data0/ |
SCurveAnalysis_WBC156.xml |
Move to designated steering file/xml folder in PixelAnalysisTools. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
SCurveAnalysis_WBC156_pixel.xml |
Move to designated xml folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
SCurveAnalysis_bpix_wbc_pixel.xml |
Move to designated xml folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
SCurveAnalysis_fpix_wbc_pixel.xml |
Move to designated xml folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
openFEDBaselineCalib.C |
|
- |
- |
|
run_alive.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_alive_bpix.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_alive_fpix.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_gain.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_gain_bpix.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_gain_fpix.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_gain_one.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_gain_pixel.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_scurve.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_scurve_bpix.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_scurve_bpix_wbc.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_scurve_fpix.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_scurve_fpix_wbc.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_scurve_one.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
|
run_scurve_wbc.csh |
Move to designated steering file folder in TriDAS/pixel/PixelAnalysisTools/. Executable/xml/input paths should be absolute or relative following the same structure as SVN PixelAnalysisTools |
- |
- |
Useful links
--
TheaAarrestad - 2016-09-16