Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SKIM")
0004 
0005 process.source = cms.Source("PoolSource",
0006                             fileNames = cms.untracked.vstring(
0007 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
0008 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
0009 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
0010 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
0011 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
0012 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
0013 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
0014 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
0015 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
0016 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
0017 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
0018 '/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root'),
0019 
0020 #  '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225-v1/0002/0A12CE23-D7F9-DD11-819E-00E081348D21.root'),
0021                             secondaryFileNames = cms.untracked.vstring(
0022 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/F6887FD0-9371-DE11-B69E-00304879FBB2.root',
0023 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/EEAF292E-9571-DE11-9A17-000423D94C68.root',
0024 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/ECC04DEB-9071-DE11-9F3A-001D09F23174.root',
0025 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/E8CE8710-9171-DE11-9211-000423D94534.root',
0026 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/DEB9057C-9471-DE11-BAF5-000423D94524.root',
0027 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/DC2A7158-A171-DE11-ACD3-001D09F24047.root',
0028 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/D6E68664-9271-DE11-AE97-000423D9970C.root',
0029 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/D2D94C9C-9171-DE11-AA96-000423D94AA8.root',
0030 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/B045C7CB-9371-DE11-AF39-001D09F24489.root',
0031 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/A2C791EF-9071-DE11-871D-001D09F2423B.root',
0032 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/9E1A4336-9071-DE11-81BD-001D09F251B8.root',
0033 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/8C28F89C-9171-DE11-B944-000423D9A2AE.root',
0034 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/82A37610-9371-DE11-A293-000423D98B6C.root',
0035 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/822D1510-9371-DE11-A329-000423D99A8E.root',
0036 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/76515611-9371-DE11-8BF2-001D09F24024.root',
0037 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/76434EA1-9171-DE11-B39F-000423D98E54.root',
0038 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/6E1DB87B-9471-DE11-B4E8-000423D98B28.root',
0039 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/6A15A1C7-9371-DE11-9ACB-0030487A18F2.root',
0040 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/4E95107B-9471-DE11-9E86-000423D944F0.root',
0041 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/42C723CA-9871-DE11-8614-000423D6B48C.root',
0042 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/3E934456-9271-DE11-BA19-000423D99AA2.root',
0043 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/3AF89B38-9371-DE11-AEE9-000423D33970.root',
0044 '/store/data/Commissioning09/Cosmics/RAW/v3/000/105/755/2C696C5B-9271-DE11-BD57-000423D94990.root')
0045 
0046 #        '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/578/085EFED4-E5AB-DD11-9ACA-001617C3B6FE.root')
0047 )
0048 
0049 process.configurationMetadata = cms.untracked.PSet(
0050     version = cms.untracked.string('$Revision: 1.2 $'),
0051     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/SP_TP_MM_cfg.py,v $'),
0052     annotation = cms.untracked.string('CRAFT SuperPointing TrackerPointing Multimuon skim')
0053 )
0054 
0055 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0056 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0057 
0058 
0059 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0060 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
0061 
0062 
0063 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0064 process.GlobalTag.globaltag = 'CRAFT09_R_V4::All' 
0065 
0066 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0067 process.load('Configuration/EventContent/EventContentCosmics_cff')
0068 
0069 ######################################Super Pointing#################################################
0070 
0071 process.cosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
0072                                                    SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
0073                                                    PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0074                                                    radius = cms.double(10.0),
0075                                                    maxZ = cms.double(50.0)
0076                                                    )
0077 
0078 process.cosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
0079                                          SALabel = cms.InputTag("cosmicMuons"),
0080                                          PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0081                                          radius = cms.double(10.0),
0082                                          maxZ = cms.double(50.0)
0083                                          )
0084 
0085 process.cosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
0086                                                        SALabel = cms.InputTag("cosmicMuons1Leg"),
0087                                                        PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0088                                                        radius = cms.double(10.0),
0089                                                        maxZ = cms.double(50.0)
0090                                                        )
0091 
0092 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
0093                                                          SALabel = cms.InputTag("globalCosmicMuonsBarrelOnly"),
0094                                                          PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0095                                                          radius = cms.double(10.0),
0096                                                          maxZ = cms.double(50.0)
0097                                                          )
0098 
0099 process.cosmictrackfinderP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0100                                                  SALabel = cms.InputTag("cosmictrackfinderP5"),
0101                                                  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0102                                                  radius = cms.double(10.0),
0103                                                  maxZ = cms.double(50.0)
0104                                                  )
0105 
0106 process.globalCosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
0107                                                SALabel = cms.InputTag("globalCosmicMuons"),
0108                                                PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0109                                                radius = cms.double(10.0),
0110                                                maxZ = cms.double(50.0)
0111                                                )
0112 
0113 process.rsWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0114                                                     SALabel = cms.InputTag("rsWithMaterialTracksP5"),
0115                                                     PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0116                                                     radius = cms.double(10.0),
0117                                                     maxZ = cms.double(50.0)
0118                                                     )
0119 
0120 process.globalCosmicMuons1LegFilter = cms.EDFilter("HLTMuonPointingFilter",
0121                                                              SALabel = cms.InputTag("globalCosmicMuons1Leg"),
0122                                                              PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0123                                                              radius = cms.double(10.0),
0124                                                              maxZ = cms.double(50.0)
0125                                                              )
0126 
0127 process.ctfWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0128                                                      SALabel = cms.InputTag("ctfWithMaterialTracksP5"),
0129                                                      PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0130                                                      radius = cms.double(10.0),
0131                                                      maxZ = cms.double(50.0)
0132                                                      )
0133 
0134 
0135 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
0136 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
0137 process.cosmicMuons1LegPath = cms.Path(process.cosmicMuons1LegFilter)
0138 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
0139 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
0140 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
0141 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
0142 process.globalCosmicMuons1LegPath = cms.Path(process.globalCosmicMuons1LegFilter)
0143 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
0144 
0145 
0146 
0147 process.outSP = cms.OutputModule("PoolOutputModule",
0148                                outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0149                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyPath',
0150                                                                                             'cosmicMuonsPath',
0151                                                                                             'cosmicMuons1LegPath',
0152                                                                                             'globalCosmicMuonsBarrelOnlyPath',
0153                                                                                             'cosmictrackfinderP5Path',
0154                                                                                             'globalCosmicMuonsPath',
0155                                                                                             'rsWithMaterialTracksP5Path',
0156                                                                                             'globalCosmicMuons1LegPath',
0157                                                                                             'ctfWithMaterialTracksP5Path')),                               
0158                                dataset = cms.untracked.PSet(
0159                              dataTier = cms.untracked.string('RAW-RECO'),
0160                                          filterName = cms.untracked.string('SuperPointing')),
0161                                fileName = cms.untracked.string('superPointing.root')
0162                                )
0163 
0164 #################################Tracker Pointing###############################################
0165 process.cosmictrackfinderP5TkCntFilter = cms.EDFilter("TrackCountFilter",
0166                                                       src = cms.InputTag('cosmictrackfinderP5'),
0167                                                       minNumber = cms.uint32(1) 
0168                                                       )
0169 
0170 process.ctfWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
0171                                                           src = cms.InputTag('ctfWithMaterialTracksP5'),
0172                                                           minNumber = cms.uint32(1) 
0173                                                           )
0174 
0175 process.rsWithMaterialTracksP5TkCntFilter = cms.EDFilter("TrackCountFilter",
0176                                                          src = cms.InputTag('rsWithMaterialTracksP5'),
0177                                                          minNumber = cms.uint32(1) 
0178                                                          )
0179 
0180 process.cosmicMuonsBarrelOnlyTkFilter = cms.EDFilter("HLTMuonPointingFilter",
0181                                                      SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
0182                                                      PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0183                                                      radius = cms.double(90.0),
0184                                                      maxZ = cms.double(130.0)
0185                                                      )
0186 
0187 process.cosmicMuonsBarrelOnlyTkPath = cms.Path(process.cosmicMuonsBarrelOnlyTkFilter)
0188 process.cosmictrackfinderP5TkCntPath = cms.Path(process.cosmictrackfinderP5TkCntFilter)
0189 process.ctfWithMaterialTracksP5TkCntPath = cms.Path(process.ctfWithMaterialTracksP5TkCntFilter)
0190 process.rsWithMaterialTracksP5TkCntPath = cms.Path(process.rsWithMaterialTracksP5TkCntFilter)
0191 
0192 
0193 process.outTP = cms.OutputModule("PoolOutputModule",
0194                                outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0195                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicMuonsBarrelOnlyTkPath',
0196                                                                                             'cosmictrackfinderP5TkCntPath',
0197                                                                                             'ctfWithMaterialTracksP5TkCntPath',
0198                                                                                             'rsWithMaterialTracksP5TkCntPath')),
0199                                dataset = cms.untracked.PSet(
0200                              dataTier = cms.untracked.string('RAW-RECO'),
0201                                          filterName = cms.untracked.string('TrackingPointing')),
0202                                fileName = cms.untracked.string('trackerPointing.root')
0203                                )
0204 
0205 
0206 ####################################### Multi Muon ###########################################################
0207 
0208 process.multiCosmicMuonFilter = cms.EDFilter("TrackCountFilter",
0209                                              src = cms.InputTag('cosmicMuonsBarrelOnly'),
0210                                              minNumber = cms.uint32(5) 
0211                                              )
0212 
0213 process.multiLHCMuonFilter = cms.EDFilter("TrackCountFilter",
0214                                           src = cms.InputTag('lhcStandAloneMuonsBarrelOnly'),
0215                                           minNumber = cms.uint32(5) 
0216                                           )
0217 
0218 process.multiCosmicMuonPath = cms.Path(process.multiCosmicMuonFilter)
0219 process.multiLHCMuonPath = cms.Path(process.multiLHCMuonFilter)
0220 
0221 process.outMM = cms.OutputModule("PoolOutputModule",
0222                                 process.RECOEventContent,
0223                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('multiCosmicMuonPath',
0224                                                                                             'multiLHCMuonPath')),
0225                                dataset = cms.untracked.PSet(
0226                              dataTier = cms.untracked.string('RECO'),
0227                                          filterName = cms.untracked.string('multiCosmicMuon')),
0228                                fileName = cms.untracked.string('multiMuon.root')
0229                                )
0230 
0231 process.outMM.outputCommands.append('drop *_MEtoEDMConverter_*_*')
0232 
0233 
0234 process.this_is_the_end = cms.EndPath(process.outSP+process.outTP+process.outMM)
0235 
0236 
0237