This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Auto generated configuration file | |
| # using: | |
| # Revision: 1.19 | |
| # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v | |
| # with command line options: l1Ntuple -s RAW2DIGI -n 1 --python_filename runAxoemu_cfg_fromAOD_sR2R.py --era=Run2_2017 --data --conditions=130X_dataRun3_Prompt_v4 --customise=L1Trigger/Configuration/customiseUtils.L1TGlobalMenuXML --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulFromNANO --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleNANOEMU --filein=/store/data/Run2023C/JetMET0/AOD/PromptReco-v4/000/368/566/00000/0036fca6-ffd3-4c07-afa9-5be8eaa50bce.root --fileout=L1Ntuple_fromNano.root --no_output | |
| import FWCore.ParameterSet.Config as cms | |
| from Configuration.Eras.Era_Run2_2017_cff import Run2_2017 | |
| process = cms.Process('RAW2DIGI',Run2_2017) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/afs/cern.ch/user/a/alobanov/work/L1T/phase2/menu/13X/6Jul_Snap3_wNtupler_PR/CMSSW_13_1_0/src/L1Trigger/Phase2L1GT/interface/L1GTScales.h b/L1Trigger/Phase2L1GT/interface/L1GTScales.h | |
| index 899a03d55d5..f70b0dc3149 100644 | |
| --- a/afs/cern.ch/user/a/alobanov/work/L1T/phase2/menu/13X/6Jul_Snap3_wNtupler_PR/CMSSW_13_1_0/src/L1Trigger/Phase2L1GT/interface/L1GTScales.h | |
| +++ b/L1Trigger/Phase2L1GT/interface/L1GTScales.h | |
| @@ -28,7 +28,7 @@ namespace l1t { | |
| L1GTScales(const edm::ParameterSet &); | |
| - static void fillDescriptions(edm::ParameterSetDescription &); | |
| + static void fillPSetDescription(edm::ParameterSetDescription &); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import FWCore.ParameterSet.Config as cms | |
| from Configuration.StandardSequences.Eras import eras | |
| from PhysicsTools.NanoAOD.nano_eras_cff import * | |
| from PhysicsTools.NanoAOD.common_cff import * | |
| process = cms.Process("L1Ph2Nano", eras.Phase2C9) | |
| process.load('Configuration.StandardSequences.Services_cff') | |
| process.load("FWCore.MessageLogger.MessageLogger_cfi") | |
| process.options = cms.untracked.PSet( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # method to read L1 bits | |
| # only unprescaled ones are considered for the total L1 decision | |
| def read_L1_bits_alias(fnames, prescale_file_name = None, use_prescale_file=True, L1bitTree = "l1uGTTree/L1uGTTree"): | |
| L1bittrees = [] | |
| for filepath in fnames: | |
| file = uproot.open(filepath) | |
| L1bittrees.append( file[L1bitTree] ) | |
| # we need to make sure to apply prescales properly! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [320.7, 321.5, 322.7, 323.4, 324.7, 325.4, 326.6, 327.4, 328.6, 329.4, 330.7, 331.6, 332.9, 333.7, 335.0, 335.9, 337.2, 338.1, 339.4, 340.3, 341.7, 342.8, 344.2, 345.3, 346.8, 347.8, 349.3] | |
| 1 320.7 | |
| 2 321.5 | |
| 3 322.7 | |
| 4 323.4 | |
| 5 324.7 | |
| 6 325.4 | |
| 7 326.6 | |
| 8 327.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Backgrounds | |
| /RelValQCD_Pt-15To7000_Flat_14TeV/CMSSW_9_3_0-93X_upgrade2023_realistic_v2_2023D17noPU-v1/GEN-SIM-RECO | |
| ## Electrons | |
| # SM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #!----------------------------------- | |
| #! Replace "oldtext" with "newtext" | |
| #! inside all pdf files in the directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def countISR(jets, genParts): | |
| nISR = 0 | |
| for jet in jets: | |
| matched = False | |
| for genPart in genParts: #use GenPart | |
| if matched: break |