/
githubmirror
/
cmssw
ОбзорДокументацияВойти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
cmssw/
.../scripts/cmt/
..
CMT_EOS.sh

psm dirs added for global runs treatment

4 года назад
GLOBAL_EOS.sh

AZ 14.01.2020

7 лет назад
GlobalRMT_EOS.sh

psm dirs added for global runs treatment

4 года назад
LogEleMapdb.h

AZ 14.01.2020

7 лет назад
Makefile

AZ 14.01.2020

7 лет назад
Readme

psm dirs added for global runs treatment

4 года назад
Readme2

AZ nov.2021 12_2_X_CMTforRun3

5 лет назад
a.py.beg

no comments

2 года назад
a.py.end

no comments

2 года назад
batchjobs.csh

AZ 14.01.2020

7 лет назад
batchjobs120.csh

AZ 14.01.2020

7 лет назад
change.csh

AZ 14.01.2020

7 лет назад
changeCMT.csh

AZ 14.01.2020

7 лет назад
changeGlobalRMT.csh

AZ 14.01.2020

7 лет назад
checkoutput120.csh

AZ 14.01.2020

7 лет назад
condor.jdl

CorrPlotsforCMTforRun3

4 года назад
das_client.py

[DQM] py2/3 compatibility:drop use of __future__

2 года назад
das_client.py_For_7

AZ 14.01.2020

7 лет назад
date_of_runs.csh

AZ 14.01.2020

7 лет назад
file_lists.csh

no comments

2 года назад
footer.txt

AZ 14.01.2020

7 лет назад
glu_runs.csh

AZ 14.01.2020

7 лет назад
glu_runs_fromfile.csh

AZ 14.01.2020

7 лет назад
header_GLOBAL_EOS.txt

AZ 14.01.2020

7 лет назад
index_ALLRUNLIST_EOS.sh

AZ 14.01.2020

7 лет назад
index_EOS.sh

AZ 14.01.2020

7 лет назад
index_toAddOnlyNewRunsCRAFT_EOS.sh

AZ nov.2021 12_2_X_CMTforRun3

5 лет назад
index_toAddOnlyNewRunsCosmics_EOS.sh

AZ nov.2021 12_2_X_CMTforRun3

5 лет назад
index_toAddOnlyNewRuns_EOS.sh

HCAL CMT tool update for Run3 (#29214)

6 лет назад
index_zhokin.sh

CorrPlotsforCMTforRun3

4 года назад
index_zhokinHcalNZS.sh

no comments

2 года назад
index_zhokinZeroBias.sh

CorrPlotsforCMTforRun3

4 года назад
mkcfg111_new120.csh

no comments

2 года назад
mkcfg222_new120.csh

no comments

2 года назад
mkcfg_new.csh

AZ 14.01.2020

7 лет назад
mkcfg_new120.csh

CorrPlotsforCMTforRun3

4 года назад
myjob.csh

AZ 14.01.2020

7 лет назад
parce_runs.csh

AZ 14.01.2020

7 лет назад
readmeCMT-cosmics

Add missing newline at the end of file

2 года назад
run_batch.csh

AZ 14.01.2020

7 лет назад
run_batch120.csh

AZ 14.01.2020

7 лет назад
run_batch1nd.csh

AZ 14.01.2020

7 лет назад
run_batch1nw.csh

AZ 14.01.2020

7 лет назад
run_batch2nd.csh

AZ 14.01.2020

7 лет назад
run_condor.csh

CorrPlotsforCMTforRun3

4 года назад
run_interactive.csh

AZ 14.01.2020

7 лет назад
run_limit.csh

AZ 14.01.2020

7 лет назад
runlist_1

Add missing newline at the end of file

2 года назад
runlist_cosmics

AZ nov.2021 12_2_X_CMTforRun3

5 лет назад
runlist_craft

AZ nov.2021 12_2_X_CMTforRun3

5 лет назад
runlist_run

no comments

2 года назад
runlist_test

AZ nov.2021 12_2_X_CMTforRun3

5 лет назад
runlist_testCRUZET

AZ nov.2021 12_2_X_CMTforRun3

5 лет назад
Readme
--------------------- For RUN3: Global runs of 2021,2022,...
======================================================
 
 
I. ------- Preparation of framework:
=====================================
 
ssh lxplus
 
cd your_working_dir
 
setenv SCRAM_ARCH slc7_amd64_gcc10
 
cmsrel CMSSW_12_3_0_pre4
 
cd CMSSW_12_3_0_pre4/src
 
cmsenv
 
git cms-addpkg DPGAnalysis/HcalTools
 
cd DPGAnalysis/HcalTools
 
II. ----- Compilation of main code CMTRawAnalyzer.cc
======================================================
 
scram b
 
cd your_dir_CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/cmt
( this is initial_dir )
 
IIIa.------- Necessary corrections:
======================================
 
1) correct file "file_lists.csh" for dataset used
on DAS site : https://cmsweb.cern.ch/das/
issue the command:
(as example:)
dataset run=346512
and see the dataset names containing RAW, NZS Hcal, like:
/HcalNZS/Commissioning2021-v1/RAW
 
2) correct file "runlist_run" to specify run list
 
IIIb.------- Possible corrections:
======================================
 
1) see https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideFrontierConditions#HLT_reconstruction_Global_tags
 
and specify in file " a.py.end " the HLT name in line "process.GlobalTag.globaltag ..."
 
 
IVa. ------- Running interactively:
====================================
setenv SCRAM_ARCH slc7_amd64_gcc10
cmsenv
voms-proxy-init -voms cms -rfc
 
./mkcfg_new120.csh runlist_run
 
- see, how many py-files in PYTHON_runlist_run dir..
 
- run ~ 15 jobs per PC: 1-15, 15-30, ...nn1- NN using commands:
 
./run_interactive.csh runlist_run nn1 NN
 
IVb. ------ Running using condor.jdl:
======================================
 
- specify if necessary the lines in file run_condor.csh :
 
setenv SCRAM_ARCH slc7_amd64_gcc10
 
cmsrel CMSSW_12_3_0_pre4
 
cd CMSSW_12_3_0_pre4/src
 
- and line with eos-directory,
where you are going to record the resulting root files:
 
/eos/cms/store/user/zhokin/CMT/RootFilesToBeMarched/2022
 
 
- specify the line "Transfer_Input_Files =" in file condor.jdl :
 
namely, correct path for CMTRawAnalyzer.cc, CMTRawAnalyzer.h and BuildFile.xml
 
(and specify IF NECESSARY runlist_run name used "arguments = runlist_run ..."
or just as example: cp runlist_craft runlist_run)
 
------ In advance, before condor starting issue commands:
 
voms-proxy-init -voms cms -rfc
 
voms-proxy-init -voms cms -rfc -out /afs/cern.ch/user/z/zhokin/private/x509up
 
chmod +x /afs/cern.ch/user/z/zhokin/private/x509up
 
 
- to start, issue main command:
 
condor_submit condor.jdl
 
- running...... wait, check using condor commands like:
 
condor_q
(see condor commands: https://twiki.cern.ch/twiki/bin/view/CMSPublic/CompOpsGlideinWMSCondorCommands )
condor_history |grep zhokin
(condor_rm 3748513.0 (it's to remove all jobs 3748513.0))
 
see obtained root files in dir:
 
cd /eos/cms/store/user/zhokin/CMT/RootFilesToBeMarched/2022
 
V. ------------------- Copying:
======================================
 
all good root files to be copied into /initial_dir/longruns/.
(example:
scp Global*.root /afs/cern.ch/work/z/zhokin/hcal/qq8/CMSSW_12_3_0_pre4/src/DPGAnalysis/HcalTools/scripts/cmt/longruns/.
)
check all root-files availability:
 
cd /initial_dir
./checkoutput120.csh PYTHON_runlist_run longruns > tmp.txt
 
see file tmp.txt and missed_run_parts to see which root file still to be reproduced:
crashed jobs to be re-runned interactively and copied into dir longruns/.
 
- merging run-root-piecies into one big run-root file:
 
./glu_runs_fromfile.csh longruns runlist_run
 
- copy into /eos using examples like:
 
eos cp Global_325001.root /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos/Global_325001.root
or
cp Global_555555.root /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos/Global_555555.root
cp Global_345821_1.root /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos/Global_345821.root
 
- for check:
eos ls -l /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/histos/
 
 
VI. --- Three steps to provide visualization of new global-runs:
================================================================
- correct in advance the file "index_zhokin.sh":
a) put last line number of CMT site;
b) check dataset name;
c) for printout:correct comments and type;
 
1) ./index_zhokin.sh runlist_run
 
[[[ (or absolet: try to correct file "index_toAddOnlyNewRuns_EOS.sh" for "dasgoclient.. dataset=..." and
"k=" - number(!) of new-recorded global-runs and execute:
( for tests use also: index_toAddOnlyNewRunsCRAFT_EOS.sh , index_toAddOnlyNewRunsCosmics_EOS.sh runlist_test )
1) ./index_toAddOnlyNewRuns_EOS.sh runlist_run
(use for craft test: ./index_toAddOnlyNewRunsCRAFT_EOS.sh runlist_test ) ]]]
 
eos cp OLDindex.html /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/OLDindex.html
 
eos cp index_draft.html /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/index.html
 
for check of new lines on CMT site see:
https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/CMT/
 
--------------------------------------
 
- in dir. .../macros/cmt/
./compile.csh RemoteMonitoringGLOBAL.cc
./compile.csh RemoteMonitoringMAP_Global.cc
 
- and again, in dir. /scripts/cmt/ execute:
2) ./CMT_EOS.sh runlist_run (or if test use runlist_test )
( a lot of printout.., wait a moment till the message:"CMT script done")
3) ./GlobalRMT_EOS.sh runlist_run (or if test use runlist_test )
(wait a moment till the message:"GlobalRMT script done")
See the results at https://cms-conddb.cern.ch/eosweb/hcal/HcalRemoteMonitoring/CMT/
 
-- IF NECESSARY: provide for each new run the CMTanalysis using Instruction below.
Edit default file CMTresults.html to provide the summary for each new run.
Copy each time corrected CMTresults.html file into /eos in corresponding dir. ,
as is shown below :
cp CMTresults.html /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/GLOBAL_325001/CMTresults.html