/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Calibration/IsolatedParticles/test/python/proto_runIsolatedGenParticles_cfg.py
60 строк
3 KB
Sunanda
Modify one analyzer (StudyCaloResponse) to handle MC samples
13 фев 2021, 20:34
13 фев 2021, 20:34
3507da9
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("L1SKIM") process.load("FWCore.MessageService.MessageLogger_cfi") process.MessageLogger.cerr.FwkReport.reportEvery = 100000 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) #process.load(INPUTFILELIST) process.source = cms.Source("PoolSource",fileNames =cms.untracked.vstring( '/store/mc/Summer11/QCD_Pt-1800_TuneZ2_7TeV_pythia6/AODSIM/PU_S3_START42_V11-v2/0000/04C728A6-927D-E011-8313-00304867915A.root' # '/store/mc/Summer11/MinBias_TuneZ2_7TeV-pythia6/GEN-SIM-RECO/IDEAL_PU_S4_START42_V11-v1/0000/0014B7FC-43B7-E011-9EB8-003048678FB8.root' )) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) ##################### digi-2-raw plus L1 emulation ######################### process.load("Configuration.StandardSequences.Services_cff") process.load('Configuration.StandardSequences.GeometryRecoDB_cff') process.load('Configuration.StandardSequences.MagneticField_cff') process.load('TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff') #################### Conditions and L1 menu ################################ process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') from Configuration.AlCa.autoCond import autoCond process.GlobalTag.globaltag=autoCond['run1_mc'] process.primaryVertexFilter = cms.EDFilter("GoodVertexFilter", vertexCollection = cms.InputTag('offlinePrimaryVertices'), minimumNDOF = cms.uint32(4) , maxAbsZ = cms.double(20.0), maxd0 = cms.double(10.0) ) process.load("Calibration.IsolatedParticles.isolatedGenParticles_cfi") process.isolatedGenParticles.GenSrc = "Dummy" process.isolatedGenParticles.UseHepMC = False process.isolatedGenParticles.Verbosity = 0 process.TFileService = cms.Service("TFileService", fileName = cms.string('IsolatedTracksGenParticles.root') ) # define an EndPath to analyze all other path results process.hltTrigReport = cms.EDAnalyzer( 'HLTrigReport', #HLTriggerResults = cms.InputTag( 'TriggerResults','','REDIGI36X') HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT') ) process.load("L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi") #process.l1GtTrigReport.L1GtRecordInputTag = 'simGtDigis' process.l1GtTrigReport.L1GtRecordInputTag = 'gtDigis' process.l1GtTrigReport.PrintVerbosity = 0 #============================================================================= process.p1 = cms.Path(process.primaryVertexFilter*process.isolatedGenParticles)