cms-l1t-offline / cmssw

CMS Offline Software
cms-sw.github.io/cmssw
Apache License 2.0
16 stars 25 forks source link

Recipe for developing L1T Calo calibrations for 2018 #672

Open rekovic opened 6 years ago

rekovic commented 6 years ago

Developing L1T Calo Calibrations for 2018

The recipe to set-up a local release area to develop L1T Calo Layer 2 Calibration constants for 2018 is based on CMSSW_10_1_0 plus code from github respository rekovic:

cmsrel CMSSW_10_1_0
cd CMSSW_10_1_0/src
cmsenv
git cms-init
git remote add rekovic git@github.com:rekovic/cmssw.git
git fetch rekovic l1t-integration-CMSSW_10_1_0-tempForCalibration l1t-integration-CMSSW_10_1_0-calib-v1
git cms-merge-topic -u rekovic:l1t-integration-CMSSW_10_1_0-calib-v1
git cms-merge-topic -u 22849
git clone https://github.com/cms-l1t-offline/L1Trigger-L1TCalorimeter.git L1Trigger/L1TCalorimeter/data
scramv1 b -j 8

Notes: Code in the branch rekovic l1t-integration-CMSSW_10_1_0-tempForCalibration is basically rebased tags (v97.20 - v97.22) from l1t-integration-CMSSW_10_0_0 branch to 10_1_0:

bundocka commented 6 years ago

cmsDriver commands:

MC

cmsDriver.py l1Ntuple -s RAW2DIGI --era=Run2_2018 --mc --python_filename=mc.py --no_output -n 202 --conditions=101X_upgrade2018_realistic_v6 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulMCFromRAWSimHcalTP --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMUGEN_MC --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloParams_2018_v1_1_inconsistent --custom_conditions=HcalGains_2018_v3.0_mc,HcalGainsRcd,frontier://FrontierProd/CMS_CONDITIONS --custom_conditions=HcalSiPMParameters_2018_v2.0_mc,HcalSiPMParametersRcd,frontier://FrontierProd/CMS_CONDITIONS --filein=/store/mc/RunIISpring18DR/QCD_Pt-15to3000_TuneCP5_Flat_13TeV_pythia8/GEN-SIM-RAW/NZSPU0to70_100X_upgrade2018_realistic_v10-v1/100000/00818B45-1522-E811-910B-1866DAEA7E64.root

Data

cmsDriver.py l1Ntuple -s RAW2DIGI --era=Run2_2018 --data --python_filename=data.py -n 303 --no_output --conditions=101X_dataRun2_Prompt_v7 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulFromRAWsimEcalTP --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleAODRAWEMU --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloParams_2018_v1_1_inconsistent --customise_commands='process.CaloTPGTranscoder.linearLUTs = cms.bool(False)' --customise_commands='process.HcalTPGCoderULUT.linearLUTs = cms.bool(False)' --filein=/store/express/Run2017F/ExpressPhysics/FEVT/Express-v1/000/305/636/00002/581DD5E7-10BA-E711-8E38-02163E011B94.root

abrinke1 commented 6 years ago

Hi @bundocka , As a complete novice to this, is there a reason you're not using "--customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulMCFromRAWSimEcalTP" in the MC as well? (If such an option exists.) Cheers, Andrew

abrinke1 commented 6 years ago

Answer to question above: unpacked HCAL TPs not known to be reliable in 10_0_X MC (frequently had problems in earlier releases).

abrinke1 commented 6 years ago

Hi Sandeep,

The instructions have been updated to include "git-cms-init" after "cmsenv". Have you tried that?

Cheers, Andrew

sandeepbhowmik1 commented 6 years ago

Hi Andrew,

yes it is fine now.

Thanks, Sandeep

Dr. Sandeep Bhowmik

Researcher (Postdoctoral Research Fellow) Laboratory of High Energy and Computational Physics National Institute of Chemical Physics and Biophysics KBFI, Rävala pst 10, 10143 Tallinn, Estonia


From: abrinke1 [notifications@github.com] Sent: 06 April 2018 12:45 To: cms-l1t-offline/cmssw Cc: Sandeep Bhowmik; Comment Subject: Re: [cms-l1t-offline/cmssw] Recipe for developing L1T Calo calibrations for 2018 (#672)

Hi Sandeep,

The instructions have been updated to include "git-cms-init" after "cmsenv". Have you tried that?

Cheers, Andrew

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/cms-l1t-offline/cmssw/issues/672#issuecomment-379217450, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATKPS9C7MWclJV512cPlXbA_KPpHNnR9ks5tl0c2gaJpZM4TIl9D.

bundocka commented 6 years ago

10_0_3 Recipe

cmsrel CMSSW_10_0_3 cd CMSSW_10_0_3/src cmsenv git cms-init git cms-addpkg L1Trigger/Configuration git cms-addpkg L1Trigger/L1TCalorimeter git remote add bundocka git@github.com:bundocka/cmssw.git git cms-merge-topic bundocka:add100XLayer1SF git clone https://github.com/cms-l1t-offline/L1Trigger-L1TCalorimeter.git L1Trigger/L1TCalorimeter/data scram b -j 8

cmsDriver commands:

MC

cmsDriver.py l1Ntuple -s RAW2DIGI --era=Run2_2018 --mc --python_filename=mc.py --no_output -n 202 --conditions=100X_upgrade2018_realistic_v11 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulMCFromRAWSimHcalTP --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMUGEN_MC --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloParams_2018_v1_1_inconsistent --custom_conditions=HcalChannelQuality_2018_v3.0_mc,HcalChannelQualityRcd,frontier://FrontierProd/CMS_CONDITIONS --filein=/store/mc/RunIISpring18DR/QCD_Pt-15to3000_TuneCP5_Flat_13TeV_pythia8/GEN-SIM-RAW/NZSPU0to70_100X_upgrade2018_realistic_v10-v1/100000/00818B45-1522-E811-910B-1866DAEA7E64.root

Data

cmsDriver.py l1Ntuple -s RAW2DIGI --era=Run2_2018 --data --python_filename=data.py -n 303 --no_output --conditions=100X_dataRun2_Prompt_v2 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulFromRAWsimEcalTP --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleAODRAWEMU --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloParams_2018_v1_1_inconsistent --customise_commands='process.CaloTPGTranscoder.linearLUTs = cms.bool(False)\n process.HcalTPGCoderULUT.linearLUTs = cms.bool(False)' --filein=/store/express/Run2017F/ExpressPhysics/FEVT/Express-v1/000/305/636/00002/581DD5E7-10BA-E711-8E38-02163E011B94.root