Difference: SiPixelQuality (28 vs. 29)

Revision 292017-03-20 - TamasVami

Line: 1 to 1
 
META TOPICPARENT name="CmsSusy"

Added:
>
>

Phase 1 procedure

Recipe sent to DQM development guys about the Failure scenarios
% --------------------------------------------------------------------------------------------------------------------
export SCRAM_ARCH=slc6_amd64_gcc530
cmsrel CMSSW_8_1_0
cd CMSSW_8_1_0/src
cmsenv
git cms-addpkg CondTools/SiPixel
git clone git@github.com:jkarancs/PhaseIPixelNtuplizer.git DPGAnalysis/PhaseIPixelNtuplizer

% --------------------------------------------------------------------------------------------------------------------
The dead components of the detector are stored in a DB object called SiPixelQuality. In this you can list the detid-s and the type of failure (whole module, half module, single roc)
in the 
CMSSW_8_1_0/src/CondTools/SiPixel/test/
directory you can find a file named
SiPixelBadModuleByHandBuilder_cfg.py
This is an example of a whole module: https://github.com/tvami/SiPixelQualtiyValidation/blob/master/0SiPixelBadModuleByHandBuilder_cfg_v25.py#L48-L51
a half module: https://github.com/tvami/SiPixelQualtiyValidation/blob/master/0SiPixelBadModuleByHandBuilder_cfg_v25.py#L38-L41
and a ROC: https://github.com/tvami/SiPixelQualtiyValidation/blob/master/0SiPixelBadModuleByHandBuilder_cfg_v33.py#L135-L139

You should also modify the tag name:
https://github.com/cms-sw/cmssw/blob/master/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilder_cfg.py#L30

Creating the DB object works with the cmsRun:
cmsRun SiPixelBadModuleByHandBuilder_cfg.py
% --------------------------------------------------------------------------------------------------------------------

For the MC simulation you should use a modification of the run_PhaseIPixelNtuplizer_MinBias_cfg.py file in the DPGAnalysis/PhaseIPixelNtuplizer directory.
I attach a modified one. Please look at the lines 182-199. 
Line 190 is your local (just created db file), l195 is the tag name that you again just modified and the "es_prefer_Quality" is responsible for the fact that we don't want to use the official conditions but the ones that you just created.

If line 160 saveRECO  = True is true then the RECO file will be saved (as far as I know, you need this)

% --------------------------------------------------------------------------------------------------------------------
You should run this on the grid:
source /cvmfs/cms.cern.ch/crab3/crab.csh
and the attached config file.
you should modify outLFNDirBase to your dir.
Also you might want to change totalUnits and unitsPerJob. The ration of the two defines the number of jobs in the grid.
inputFiles is the db that you created in the previous steps
Most of the other things are self-explanary by their names.
 

temp

271866 - 276314 276315 - 278270
Line: 694 to 737
 

META FILEATTACHMENT attachment="TimingStudy_RawData_CMSSW74X_cfg_data.py.txt" attr="" comment="TimingStudy74X" date="1473877390" name="TimingStudy_RawData_CMSSW74X_cfg_data.py.txt" path="TimingStudy_RawData_CMSSW74X_cfg_data.py" size="4485" stream="TimingStudy_RawData_CMSSW74X_cfg_data.py" tmpFilename="/usr/tmp/CGItemp18235" user="TamasVami" version="1"
Added:
>
>
META FILEATTACHMENT attachment="run_PhaseIPixelNtuplizer_MinBias_cfg_FS1.py.txt" attr="" comment="" date="1490045904" name="run_PhaseIPixelNtuplizer_MinBias_cfg_FS1.py.txt" path="run_PhaseIPixelNtuplizer_MinBias_cfg_FS1.py" size="13232" stream="run_PhaseIPixelNtuplizer_MinBias_cfg_FS1.py" tmpFilename="/usr/tmp/CGItemp10232" user="TamasVami" version="1"
META FILEATTACHMENT attachment="crab_config-MC_FS1.py.txt" attr="" comment="" date="1490045913" name="crab_config-MC_FS1.py.txt" path="crab_config-MC_FS1.py" size="1073" stream="crab_config-MC_FS1.py" tmpFilename="/usr/tmp/CGItemp10356" user="TamasVami" version="1"
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback