Difference: AgingProcessAndJetResolutionPlots (1 vs. 5)

Revision 52017-10-05 - PawanKumarNetrakanti

Line: 1 to 1
 
META TOPICPARENT name="TWiki.WebPreferences"

Aging Process:

Setup the environment

Revision 42017-09-22 - SaraNabili

Line: 1 to 1
 
META TOPICPARENT name="TWiki.WebPreferences"

Aging Process:

Setup the environment

Line: 193 to 193
  Step3-Reco:
Changed:
<
<
Scenario#3: HCALECAL-aged SiPM -nonaged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-BIGSamples-step3-scenario3-ECAL_aged-HCAL_aged-SiPM_nonaged_MINIAODSIMoutput-c44fb673c801dfcf4c2a42605690049d/USER
>
>
Scenario#3: HCALECAL-aged SiPM -nonaged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-BIGSamples-step3-scenario3-ECAL_aged-HCAL_aged-SiPM_nonaged_FEVTDEBUGHLToutput-c44fb673c801dfcf4c2a42605690049d/USER
 
Changed:
<
<
Scenario#4: HCALECALSiPM -aged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-step3-scenario4-ECAL_aged-HCAL_aged-SiPM_aged-BIGSAMPLE_MINIAODSIMoutput-a98ecc9c77cb9757f1d7fe08b6423f0b/USER
>
>
Scenario#4: HCALECALSiPM -aged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-step3-scenario4-ECAL_aged-HCAL_aged-SiPM_aged-BIGSAMPLE_FEVTDEBUGHLToutput-a98ecc9c77cb9757f1d7fe08b6423f0b/USER
 
Changed:
<
<
Scenario#5: ECALSiPM -aged HCAL-nonaged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-BIGSamples-step3-scenario5-ECAL_aged-HCAL_nonaged-SiPM_nonaged_MINIAODSIMoutput-949417a78a2c6eaadb976f76cc8df7ef/USER
>
>
Scenario#5: ECALSiPM -aged HCAL-nonaged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-BIGSamples-step3-scenario5-ECAL_aged-HCAL_nonaged-SiPM_nonaged_FEVTDEBUGHLToutput-949417a78a2c6eaadb976f76cc8df7ef/USER
  -- SaraNabili - 2017-08-10

Revision 32017-09-20 - SaraNabili

Line: 1 to 1
 
META TOPICPARENT name="TWiki.WebPreferences"

Aging Process:

Setup the environment

Line: 184 to 179
  -jet_inspect_graphs_x -inputs jra_f_g.root -algs ak4pf -variables RelRspVsRefPt:JetEta@0
Added:
>
>

QCD Big Samples Address


Step2-Digi:

Scenario#3: HCALECAL-aged SiPM -nonaged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-BIGSamples-step2-scenario3-ECAL_aged-HCAL_aged-SiPM_nonaged-4c155d28b1672184f7cca6f2d0bc2b1e/USER

Scenario#4: HCALECALSiPM -aged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-step2-scenario4-ECAL_aged-HCAL_aged-SiPM_aged-BIGSAMPLE-6f664cc8d299e3a8eac833e5cc41683c/USER

Scenario#5: ECALSiPM -aged HCAL-nonaged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-BIGSamples-step2-scenario5-ECAL_aged-HCAL_nonaged-SiPM_nonaged-88afad9c022307bbaf11a4ceb0b8bcee/USER

Step3-Reco:

Scenario#3: HCALECAL-aged SiPM -nonaged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-BIGSamples-step3-scenario3-ECAL_aged-HCAL_aged-SiPM_nonaged_MINIAODSIMoutput-c44fb673c801dfcf4c2a42605690049d/USER

Scenario#4: HCALECALSiPM -aged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-step3-scenario4-ECAL_aged-HCAL_aged-SiPM_aged-BIGSAMPLE_MINIAODSIMoutput-a98ecc9c77cb9757f1d7fe08b6423f0b/USER

Scenario#5: ECALSiPM -aged HCAL-nonaged: /QCD_Flat_Pt-15to7000_TuneCUETP8M1_14TeV_pythia8/snabili-Data_analysis-BIGSamples-step3-scenario5-ECAL_aged-HCAL_nonaged-SiPM_nonaged_MINIAODSIMoutput-949417a78a2c6eaadb976f76cc8df7ef/USER

 -- SaraNabili - 2017-08-10

Revision 22017-08-10 - SaraNabili

Line: 1 to 1
 
META TOPICPARENT name="TWiki.WebPreferences"

Aging Process:

Setup the environment

Line: 185 to 185
  -jet_inspect_graphs_x -inputs jra_f_g.root -algs ak4pf -variables RelRspVsRefPt:JetEta@0

-- SaraNabili - 2017-08-10

Added:
>
>

META FILEATTACHMENT attachment="run_JRA_cfg.py.txt" attr="" comment="" date="1502384434" name="run_JRA_cfg.py.txt" path="run_JRA_cfg.py.txt" size="4853" user="snabili" version="1"
META FILEATTACHMENT attachment="jra_dr_finebinning.config" attr="" comment="" date="1502384434" name="jra_dr_finebinning.config" path="jra_dr_finebinning.config" size="4244" user="snabili" version="1"

Revision 12017-08-10 - SaraNabili

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWiki.WebPreferences"

Aging Process:

Setup the environment

- voms-proxy-init -voms cms

- cmsenv

- source /cvmfs/cms.cern.ch/crab3/crab.csh

Build two separate folders:

HCAL-AGED and HCAL-NONAGED

STEP1 DIGITIZATION:

run these lines in each folder:

cmsDriver.py step2 --conditions 91X_upgrade2023_realistic_v3 -s DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@fake2 --datatier GEN-SIM-DIGI-RAW -n -1 --geometry Extended2023D17 --era Phase2C2 _timing --eventcontent FEVTDEBUGHLT --customise SLHCUpgradeSimulations /Configuration/aging.customise_aging_4500_ultimate --no_exec --filein step1.root --fileout >& step2_Ttbar_14TeV_Timing+TTbar_14TeV_TuneCUETP8M1_2023D17_GenSimHLBeamSpotFull14_Timing+DigiFull_Timing_2023D17+RecoFullGlobal_Timing_2023D17+HARVESTFullGlobal_Timing_2023D17.log

ECAL-AGED, HCAL-AGED, SiPM -NONAGED Folder :

edit step2_DIGI_L1_DIGI2RAW_HLT.py by adding these four lines at the end of the code:

process.HBDarkeningEP.drdA = cms.double(5.00) #### Brown model

process.HBDarkeningEP.drdB = cms.double(0.675) #### Brown model

from SLHCUpgradeSimulations.Configuration.aging import turn_off_SiPM_aging ### SiPM off

process = turn_off_SiPM_aging(process) ### SiPM off


ECAL-AGED, HCAL-NONAGED, SiPM -NONAGED Folder :

replace:

from SLHCUpgradeSimulations.Configuration.aging import customise_aging_4500

process = customise_aging_4500(process)

by these two lines:

from SLHCUpgradeSimulations.Configuration.aging import ageEcal

process = ageEcal(process,4500,7.0e34)

--------------------------------------------------------------

produce step2.py code in order to run it in CRAB in each folder:

from UserUtilities import config, getUsernameFromSiteDB

   config = config()
   config.General.requestName = 'Data_analysis-step2-HCAL-aged/step2-HCAL-nonaged'
config.General.workArea = 'aging_projects-step2-HCAL-aged/step2-HCAL-nonaged'
   config.General.transferOutputs = True
   config.General.transferLogs = True
   config.JobType.pluginName = 'Analysis'
   config.JobType.psetName = 'step2_DIGI_L1_DIGI2RAW_HLT.py'
   config.Data.inputDataset = '/RelValQCD_Pt-   15To7000_Flat_14TeV/CMSSW_9_1_1_patch1-91X_upgrade2023_realistic_v1_D17-   v1/GEN-SIM'
   config.Data.inputDBS = 'global'
   config.Data.splitting = 'LumiBased'
   config.Data.unitsPerJob = 1
   config.Data.outLFNDirBase = '/store/user/%s/' % (getUsernameFromSiteDB())
   config.Data.publication = True
   config.Data.outputDatasetTag = 'Data_analysis-step2-HCAL-aged/step2-HCAL-nonaged '
   config.Site.storageSite = 'T3_US_UMD'
   config.Data.ignoreLocality = True
   config.Site.whitelist = ['T3_US_*']
  config.Site.ignoreGlobalBlacklist = True
--------------------------------------------------------------------------

STEP2 RECONSTRUCTION :

cmsDriver.py step3 --conditions 91X_upgrade2023_realistic_v3 -n -1 --era Phase2C2 _timing --eventcontent FEVTDEBUGHLT,MINIAODSIM --runUnscheduled -s RAW2DIGI,L1Reco,RECO,PAT --datatier GEN-SIM-RECO,MINIAODSIM --geometry Extended2023D17 --customise SLHCUpgradeSimulations /Configuration/aging.customise_aging_4500_ultimate --no_exec --filein .root --fileout

ECAL-AGED, HCAL-AGED, SiPM -NONAGED Folder :

edit step3_RAW2DIGI_L1Reco_RECO_PAT.py

add these two lines to the end of the code:

process.HBDarkeningEP.drdA = cms.double(5.00) #### Brown model

 process.HBDarkeningEP.drdB = cms.double(0.675) #### Brown model

from SLHCUpgradeSimulations.Configuration.aging import turn_off_SiPM_aging ### SiPM off

process = turn_off_SiPM_aging(process) ### SiPM off


ECAL-AGED, HCAL-NONAGED, SiPM -NONAGED Folder :

replace:

from SLHCUpgradeSimulations.Configuration.aging import customise_aging_4500
process = customise_aging_4500(process)

by these two lines:

from SLHCUpgradeSimulations.Configuration.aging import ageEcal

process = ageEcal(process,4500,7.0e34)


produce step3.py code in order to run it in CRAB in each folder:

from UserUtilities import config, getUsernameFromSiteDB

   config = config()
   config.General.requestName = 'Data_analysis-step3'
   config.General.workArea = 'aging_projects'
   config.General.transferOutputs = True
   config.General.transferLogs = True
   config.JobType.pluginName = 'Analysis'
   config.JobType.psetName = 'step3_RAW2DIGI_L1Reco_RECO_PAT.py'
   config.JobType.maxMemoryMB = 2500
   config.Data.inputDataset = '***'
   config.Data.inputDBS = 'phys03'
   config.Data.splitting = 'LumiBased'
   config.Data.unitsPerJob = 1
   config.Data.outLFNDirBase = '/store/user/%s/' % (getUsernameFromSiteDB())
   config.Data.publication = True
   config.Data.outputDatasetTag = 'Data_analysis-step3'
   config.Site.storageSite = 'T3_US_UMD'
   config.Data.ignoreLocality = True
   config.Site.whitelist = ['T3_US*']
   

config.Site.ignoreGlobalBlacklist = True

for HCAL-AGED and HCAL-NONAGED case I did place these produced sample in ***:

--- HCAL-AGED:

/RelValQCD_Pt-15To7000_Flat_14TeV/snabili-Data_analysis-step2-HCalEC_alaged-SiPM-nonaged-scenario3-4c155d28b1672184f7cca6f2d0bc2b1e/USER

--- HCAL-NONAGED:

/RelValQCD_Pt-15To7000_Flat_14TeV/snabili-Data_analysis-step2-scenario5-ECALaged-SiPMnonaged-HCALnonaged-88afad9c022307bbaf11a4ceb0b8bcee/USER

The name of the aged samples then is transferred into a text file: HCAL-AGED.txt and HCAL-NONAGED

PLOT PRODUCTION

cmsrel CMSSW_9_1_1_patch3

cd CMSSW_9_1_1_patch3/src

git clone https://github.com/cms-jet/JetMETAnalysis.git

cmsenv

scramv1 b

cd JetMETAnalysis /JetAnalyzers/test

cp data/users/eno/upgrade/CMSSW_9_1_0_pre3/src/JetMETAnalysis/JetAnalyzers/test/run_JRA_cfg.py .

add "options.parseArguments()" under the import statements in run_JRA_cfg.py

cd ..

voms-proxy-init -voms cms

I made two separate folders for HCAL-AGED & HCAL-NONAGED then I followed these step in each folder:

cmsRun /run_JRA_cfg.py inputFiles_load= ***.txt

*** is HCAL-NONAGED.txt and HCAL-AGED.txt text file from the aging process.

jet_response_analyzer_x config/jra_dr_finebinning.config -input JRA.root

jet_response_fitter_x -input jra.root

jet_response_and_resolution_x -input jra_f.root

To make Response and Resolution Plots:

- jet_inspect_graphs_x -inputs jra_f_g.root -algs ak4pf -variables RelResVsRefPt:JetEta@0

-jet_inspect_graphs_x -inputs jra_f_g.root -algs ak4pf -variables RelRspVsRefPt:JetEta@0

-- SaraNabili - 2017-08-10

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback