1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM")
5 process.configurationMetadata = cms.untracked.PSet(
6 version = cms.untracked.string(
'$Revision: 1.3 $'),
7 name = cms.untracked.string(
'$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/CSC_BeamHalo_cfg.py,v $'),
8 annotation = cms.untracked.string(
'CRAFT CSCSkim skim')
16 process.source = cms.Source(
"PoolSource",
17 fileNames = cms.untracked.vstring(
'/store/data/BeamCommissioning09/Cosmics/RECO/v2/000/123/151/5831FFE1-1CDE-DE11-AE90-001D09F2906A.root'),
18 secondaryFileNames = cms.untracked.vstring(
'/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/123/151/2C0CB595-0EDE-DE11-921B-0030487C6062.root')
21 process.maxEvents = cms.untracked.PSet(
22 input = cms.untracked.int32(1000)
29 process.load(
'Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
30 process.load(
'Configuration/StandardSequences/GeometryIdeal_cff')
33 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
34 process.GlobalTag.globaltag =
'GR09_P_V6::All' 36 process.load(
"Configuration/StandardSequences/RawToDigi_Data_cff")
37 process.load(
"Configuration/StandardSequences/ReconstructionCosmics_cff")
42 process.load(
"DPGAnalysis/Skims/CSCSkim_cfi")
46 process.cscSkim.minimumSegments = 1
47 process.cscSkim.minimumHitChambers = 1
50 process.hltBeamHalo = cms.EDFilter(
"HLTHighLevel",
51 TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"HLT"),
52 HLTPaths = cms.vstring(
'HLT_CSCBeamHalo',
'HLT_CSCBeamHaloOverlapRing1',
'HLT_CSCBeamHaloOverlapRing',
'HLT_CSCBeamHaloRing2or3'),
53 eventSetupPathsKey = cms.string(
''),
54 andOr = cms.bool(
True),
55 throw = cms.bool(
False),
56 saveTags = cms.bool(
False)
60 process.cscHaloSkim = cms.Path(process.hltBeamHalo+process.cscSkim)
62 process.options = cms.untracked.PSet(
63 wantSummary = cms.untracked.bool(
True)
68 process.outputSkim = cms.OutputModule(
"PoolOutputModule",
69 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
70 fileName = cms.untracked.string(
"cscskimEvents.root"),
71 dataset = cms.untracked.PSet(
72 dataTier = cms.untracked.string(
'RAW-RECO'),
73 filterName = cms.untracked.string(
'CSCSkim_BeamHalo')
75 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'cscHaloSkim'))
78 process.outpath = cms.EndPath(process.outputSkim)