Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:25

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("ANASKIM")
0003 
0004 process.load('Configuration/StandardSequences/Services_cff')
0005 process.load('FWCore.MessageLogger.MessageLogger_cfi')
0006 process.load('Configuration/StandardSequences/GeometryExtended_cff')
0007 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0008 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0009 process.load('Configuration/EventContent/EventContent_cff')
0010 
0011 process.GlobalTag.globaltag = 'GR09_R_34X_V5::All'
0012 
0013 process.source = cms.Source("PoolSource",
0014     fileNames = cms.untracked.vstring(
0015     'rfio:/castor/cern.ch/user/e/edwenger/MBSkimHIRECO_900GeV_2k_v3.root'
0016     #'file:/d100/data/MinimumBias-ReReco/Feb9ReReco_v2/BSCNOHALOSkim/HIRECO/MBSkimHIRECO_900GeV_2k_v3.root'
0017     ),
0018     lumisToProcess = cms.untracked.VLuminosityBlockRange(
0019     '123596:2-123596:max','123615:70-123615:max','123732:62-123732:109',
0020     '123815:8-123815:max','123818:2-123818:42','123908:2-123908:12',
0021     '124008:1-124008:1','124009:1-124009:68','124020:12-124020:94',
0022     '124022:66-124022:179','124023:38-124023:max','124024:2-124024:83',
0023     '124025:5-124025:13','124027:24-124027:max','124030:2-124030:max')
0024 )
0025 
0026 process.configurationMetadata = cms.untracked.PSet(
0027     version = cms.untracked.string('$Revision: 1.2 $'),
0028     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/HeavyIonsAnalysis/Configuration/test/skimHiCommon_cfg.py,v $'),
0029     annotation = cms.untracked.string('HI common skim')
0030 )
0031 
0032 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0033 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0034 
0035 # =============== Filter Path =====================
0036 process.load("HeavyIonsAnalysis.Configuration.analysisFilters_cff")
0037 process.load("HeavyIonsAnalysis.Configuration.analysisProducers_cff")
0038 process.skimHiCommon = cms.Path(process.bptxAnd *
0039                                 process.bscOr *
0040                                 process.allTracks
0041                                 )
0042 
0043 
0044 # =============== Output ================================
0045 process.load("HeavyIonsAnalysis.Configuration.analysisEventContent_cff")
0046 process.output = cms.OutputModule("PoolOutputModule",
0047     process.hiAnalysisSkimContent,
0048     SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('skimHiCommon')),
0049     dataset = cms.untracked.PSet(
0050       dataTier = cms.untracked.string('AOD'),
0051       filterName = cms.untracked.string('skimHiCommon')),
0052     fileName = cms.untracked.string('hiCommonSkimAOD.root')
0053 )
0054 
0055 process.outpath = cms.EndPath(process.output)
0056