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("TEST")
0004 
0005 process.source = cms.Source("PoolSource",
0006                             fileNames = cms.untracked.vstring('file:78F01A3E-1F90-DD11-A216-000423D99160.root')
0007                             #secondaryFileNames = cms.untracked.vstring('file:raw_50908_210_CRZT210_V1P.root')                            
0008                             )
0009 
0010 process.configurationMetadata = cms.untracked.PSet(
0011     version = cms.untracked.string('$Revision: 1.1 $'),
0012     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/SuperPointing_and_pixcluster_cfg.py,v $'),
0013     annotation = cms.untracked.string('CRUZET4 SuperPointing skim')
0014 )
0015 
0016 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(5000))
0017 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0018 
0019 process.load("Configuration.StandardSequences.MagneticField_cff")
0020 process.load("Configuration.StandardSequences.Geometry_cff")
0021 
0022 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0023 process.GlobalTag.globaltag = 'CRZT210_V1::All' 
0024 process.prefer("GlobalTag")
0025 
0026 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0027 
0028 process.cosmicPixelClusterFilter = cms.EDFilter("PixelCountFilter",
0029                                                       src = cms.InputTag('siPixelClusters'),
0030                                                       minNumber = cms.uint32(2) 
0031                                                       )
0032 
0033 process.cosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
0034                                                    SALabel = cms.InputTag("cosmicMuonsBarrelOnly"),
0035                                                    PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0036                                                    radius = cms.double(10.0),
0037                                                    maxZ = cms.double(50.0)
0038                                                    )
0039 
0040 process.cosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
0041                                          SALabel = cms.InputTag("cosmicMuons"),
0042                                          PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0043                                          radius = cms.double(10.0),
0044                                          maxZ = cms.double(50.0)
0045                                          )
0046 
0047 process.cosmicMuons1LegBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
0048                                                        SALabel = cms.InputTag("cosmicMuons1LegBarrelOnly"),
0049                                                        PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0050                                                        radius = cms.double(10.0),
0051                                                        maxZ = cms.double(50.0)
0052                                                        )
0053 
0054 process.globalCosmicMuonsBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
0055                                                          SALabel = cms.InputTag("globalCosmicMuonsBarrelOnly"),
0056                                                          PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0057                                                          radius = cms.double(10.0),
0058                                                          maxZ = cms.double(50.0)
0059                                                          )
0060 
0061 process.cosmictrackfinderP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0062                                                  SALabel = cms.InputTag("cosmictrackfinderP5"),
0063                                                  PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0064                                                  radius = cms.double(10.0),
0065                                                  maxZ = cms.double(50.0)
0066                                                  )
0067 
0068 process.globalCosmicMuonsFilter = cms.EDFilter("HLTMuonPointingFilter",
0069                                                SALabel = cms.InputTag("globalCosmicMuons"),
0070                                                PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0071                                                radius = cms.double(10.0),
0072                                                maxZ = cms.double(50.0)
0073                                                )
0074 
0075 process.rsWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0076                                                     SALabel = cms.InputTag("rsWithMaterialTracksP5"),
0077                                                     PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0078                                                     radius = cms.double(10.0),
0079                                                     maxZ = cms.double(50.0)
0080                                                     )
0081 
0082 process.globalCosmicMuons1LegBarrelOnlyFilter = cms.EDFilter("HLTMuonPointingFilter",
0083                                                              SALabel = cms.InputTag("globalCosmicMuons1LegBarrelOnly"),
0084                                                              PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0085                                                              radius = cms.double(10.0),
0086                                                              maxZ = cms.double(50.0)
0087                                                              )
0088 
0089 process.ctfWithMaterialTracksP5Filter = cms.EDFilter("HLTMuonPointingFilter",
0090                                                      SALabel = cms.InputTag("ctfWithMaterialTracksP5"),
0091                                                      PropagatorName = cms.string("SteppingHelixPropagatorAny"),
0092                                                      radius = cms.double(10.0),
0093                                                      maxZ = cms.double(50.0)
0094                                                      )
0095 
0096 
0097 process.cosmicPixelClusterPath = cms.Path(process.cosmicPixelClusterFilter)
0098 process.cosmicMuonsBarrelOnlyPath = cms.Path(process.cosmicMuonsBarrelOnlyFilter)
0099 process.cosmicMuonsPath = cms.Path(process.cosmicMuonsFilter)
0100 process.cosmicMuons1LegBarrelOnlyPath = cms.Path(process.cosmicMuons1LegBarrelOnlyFilter)
0101 process.globalCosmicMuonsBarrelOnlyPath = cms.Path(process.globalCosmicMuonsBarrelOnlyFilter)
0102 process.cosmictrackfinderP5Path = cms.Path(process.cosmictrackfinderP5Filter)
0103 process.globalCosmicMuonsPath = cms.Path(process.globalCosmicMuonsFilter)
0104 process.rsWithMaterialTracksP5Path = cms.Path(process.rsWithMaterialTracksP5Filter)
0105 process.globalCosmicMuons1LegBarrelOnlyPath = cms.Path(process.globalCosmicMuons1LegBarrelOnlyFilter)
0106 process.ctfWithMaterialTracksP5Path = cms.Path(process.ctfWithMaterialTracksP5Filter)
0107 
0108 
0109 
0110 process.out = cms.OutputModule("PoolOutputModule",
0111                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('cosmicPixelClusterPath',
0112                                                                                             'cosmicMuonsBarrelOnlyPath',
0113                                                                                             'cosmicMuonsPath',
0114                                                                                             'cosmicMuons1LegBarrelOnlyPath',
0115                                                                                             'globalCosmicMuonsBarrelOnlyPath',
0116                                                                                             'cosmictrackfinderP5Path',
0117                                                                                             'globalCosmicMuonsPath',
0118                                                                                             'rsWithMaterialTracksP5Path',
0119                                                                                             'globalCosmicMuons1LegBarrelOnlyPath',
0120                                                                                             'ctfWithMaterialTracksP5Path')),                               
0121                                dataset = cms.untracked.PSet(
0122                              dataTier = cms.untracked.string('RECO'),
0123                                          filterName = cms.untracked.string('SuperPointingPixelCluster')),
0124                                fileName = cms.untracked.string('superPointingPixelCluster.root')
0125                                )
0126 
0127 process.this_is_the_end = cms.EndPath(process.out)