File indexing completed on 2024-04-06 12:06:46
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SKIM")
0004
0005 process.configurationMetadata = cms.untracked.PSet(
0006 version = cms.untracked.string('$Revision: 1.2 $'),
0007 name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/CSC_Trial_BField_cfg.py,v $'),
0008 annotation = cms.untracked.string('CRAFT CSCSkim trial+BField skim')
0009 )
0010
0011
0012
0013
0014
0015
0016 process.source = cms.Source("PoolSource",
0017 fileNames = cms.untracked.vstring(
0018 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
0019 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
0020 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
0021 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
0022 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
0023 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
0024 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
0025 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
0026 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
0027 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
0028 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
0029 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root'),
0030
0031
0032 secondaryFileNames = cms.untracked.vstring(
0033 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/F6887FD0-9371-DE11-B69E-00304879FBB2.root',
0034 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/EEAF292E-9571-DE11-9A17-000423D94C68.root',
0035 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/ECC04DEB-9071-DE11-9F3A-001D09F23174.root',
0036 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/E8CE8710-9171-DE11-9211-000423D94534.root',
0037 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/DEB9057C-9471-DE11-BAF5-000423D94524.root',
0038 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/DC2A7158-A171-DE11-ACD3-001D09F24047.root',
0039 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/D6E68664-9271-DE11-AE97-000423D9970C.root',
0040 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/D2D94C9C-9171-DE11-AA96-000423D94AA8.root',
0041 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/B045C7CB-9371-DE11-AF39-001D09F24489.root',
0042 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/A2C791EF-9071-DE11-871D-001D09F2423B.root',
0043 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/9E1A4336-9071-DE11-81BD-001D09F251B8.root',
0044 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/8C28F89C-9171-DE11-B944-000423D9A2AE.root',
0045 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/82A37610-9371-DE11-A293-000423D98B6C.root',
0046 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/822D1510-9371-DE11-A329-000423D99A8E.root',
0047 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/76515611-9371-DE11-8BF2-001D09F24024.root',
0048 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/76434EA1-9171-DE11-B39F-000423D98E54.root',
0049 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/6E1DB87B-9471-DE11-B4E8-000423D98B28.root',
0050 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/6A15A1C7-9371-DE11-9ACB-0030487A18F2.root',
0051 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/4E95107B-9471-DE11-9E86-000423D944F0.root',
0052 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/42C723CA-9871-DE11-8614-000423D6B48C.root',
0053 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/3E934456-9271-DE11-BA19-000423D99AA2.root',
0054 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/3AF89B38-9371-DE11-AEE9-000423D33970.root',
0055 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/2C696C5B-9271-DE11-BD57-000423D94990.root')
0056
0057
0058 )
0059
0060 process.maxEvents = cms.untracked.PSet(
0061 input = cms.untracked.int32(10)
0062 )
0063
0064
0065
0066
0067
0068 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0069 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
0070
0071
0072 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0073 process.GlobalTag.globaltag = 'CRAFT09_R_V4::All'
0074
0075 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
0076 process.load("Configuration/StandardSequences/ReconstructionCosmics_cff")
0077
0078
0079
0080 import DPGAnalysis.Skims.CSCSkim_cfi
0081 process.extend(DPGAnalysis.Skims.CSCSkim_cfi)
0082
0083
0084
0085
0086
0087 process.mySkim = cms.Path(process.cscSkim)
0088
0089
0090
0091 process.outputSkim = cms.OutputModule(
0092 "PoolOutputModule",
0093 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0094 fileName = cms.untracked.string("cscskimEvents.root"),
0095 dataset = cms.untracked.PSet(
0096 dataTier = cms.untracked.string('RAW-RECO'),
0097 filterName = cms.untracked.string('CSCSkim_trial')
0098 ),
0099 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('mySkim'))
0100 )
0101
0102
0103
0104 process.cscbfield=DPGAnalysis.Skims.CSCSkim_cfi.cscSkim.clone()
0105 process.cscbfield.typeOfSkim = cms.untracked.int32(9)
0106
0107
0108
0109 process.BfieldStudySkim = cms.Path(process.cscbfield)
0110
0111
0112
0113 process.outputSkimBField = cms.OutputModule(
0114 "PoolOutputModule",
0115 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0116 fileName = cms.untracked.string("CSCEvents_BFieldStudy.root"),
0117 dataset = cms.untracked.PSet(
0118 dataTier = cms.untracked.string('RAW-RECO'),
0119 filterName = cms.untracked.string('CSCSkim_BFieldStudies')
0120 ),
0121 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('BfieldStudySkim'))
0122 )
0123
0124 process.outpath = cms.EndPath(process.outputSkim+process.outputSkimBField)
0125
0126