Last active
September 6, 2018 14:09
-
-
Save jmduarte/ca4df1e5f3cf702608ebb07d68554fd2 to your computer and use it in GitHub Desktop.
This file contains 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
cmsrel CMSSW_9_4_4/ | |
cd CMSSW_9_4_4/src/ | |
git clone git@github.com:cms-jet/JetToolbox.git JMEAnalysis/JetToolbox -b jetToolbox_94X_v2 | |
scram b -j 18 | |
cmsRun jettoolbox_cfg.py |
This file contains 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 | |
process = cms.Process('jetToolbox', eras.Run2_2017) | |
process.load("Configuration.EventContent.EventContent_cff") | |
process.load('Configuration.Geometry.GeometryRecoDB_cff') | |
process.load('Configuration.StandardSequences.MagneticField_38T_cff') | |
process.load('Configuration.StandardSequences.Services_cff') | |
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff') | |
process.GlobalTag.globaltag = '92X_upgrade2017_realistic_v1' | |
process.load('FWCore.MessageLogger.MessageLogger_cfi') | |
process.MessageLogger.cerr.FwkReport.reportEvery = 100 | |
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) | |
process.options.allowUnscheduled = cms.untracked.bool(True) | |
from JMEAnalysis.JetToolbox.jetToolbox_cff import jetToolbox | |
jetToolbox( | |
process, | |
'ak8', | |
'jetSequence', | |
'out', | |
PUMethod='Puppi', | |
miniAOD=True, | |
#Cut='pt > 200 && abs(eta) < 2.5', # Tight | |
#nameNewPFCollection='hltScoutingPFPacker', | |
#nameNewPFCollection='pippo', | |
runOnMC = False, | |
addPruning = True, | |
addSoftDrop = True, | |
addFiltering=True, | |
addNsub = True, | |
#addPrunedSubjets=True, addSoftDropSubjets=True, | |
#addNsubSubjets =True | |
associateTask=True | |
) | |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) ) | |
process.source = cms.Source("PoolSource", | |
fileNames = cms.untracked.vstring( | |
'/store/data/Run2017C/ParkingScoutingMonitor/MINIAOD/PromptReco-v3/000/301/998/00000/505CC329-C18E-E711-832E-02163E01A481.root', | |
), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment