-- SeoKonKang - 02 Feb 2010

import FWCore.ParameterSet.Config as cms

process = cms.Process("SEOGONISKIM")
process.load("FWCore.MessageLogger.MessageLogger_cfi")

# activate the following lines to get some output
#process.MessageLogger.destinations = cms.untracked.vstring("cout")
#process.MessageLogger.cout = cms.untracked.PSet(threshold = cms.untracked.string("INFO"))
process.options = cms.untracked.PSet(
 wantSummary = cms.untracked.bool(True)
)

from HLTrigger.HLTfilters.hltHighLevelDev_cfi import hltHighLevelDev

process.phyDecl = hltHighLevelDev.clone(HLTPaths = ['HLT_PhysicsDeclared'], HLTPathsPrescales = [1])

process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')

process.L1T1=process.hltLevel1GTSeed.clone()
process.L1T1.L1TechTriggerSeeding = cms.bool(True)
process.L1T1.L1SeedsLogicalExpression = cms.string('0 AND (40 OR 41) AND NOT (36 OR 37 OR 38 OR 39)')

process.bscnobeamhalo = cms.Path(process.L1T1)
process.primaryVertexFilter = cms.EDFilter("VertexSelector",
                  src = cms.InputTag('offlinePrimaryVertices'),
                  cut = cms.string("!isFake && tracksSize > 3 && abs(z)<=15 && position.Rho<=2"),
                  filter = cms.bool(True)
)

process.primaryVertexPath = cms.Path(process.primaryVertexFilter)

process.totalpath = cms.Path(process.phyDecl*process.L1T1*process.primaryVertexFilter)


process.configurationMetadata = cms.untracked.PSet(
    version = cms.untracked.string('$Revision: 1.1 $'),
    name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/bscnobeamhalo_cfg.py,v $'),
    annotation = cms.untracked.string('BSC skim')
)

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(-1)
)



process.out = cms.OutputModule("PoolOutputModule",
    fileName = cms.untracked.string('DataRun123596Skim.root'),
    outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
    dataset = cms.untracked.PSet(
            dataTier = cms.untracked.string('RAW-RECO'),
            filterName = cms.untracked.string('BSCNOBEAMHALO')),
    SelectEvents = cms.untracked.PSet(
        SelectEvents = cms.vstring('totalpath')
    )
)

process.e = cms.EndPath(process.out)


Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2010-02-02 - SeoKonKang
 
KOREA-CMS
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback