Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ReTracking")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0006 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0007 process.load("Configuration.StandardSequences.Geometry_cff")
0008 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0009 process.load("Configuration.EventContent.EventContentCosmics_cff")
0010 
0011 # Conditions (Global Tag is used here):
0012 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0013 ########## include here the correct global tag. ########## 
0014 # Have a look here: https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions
0015 # to check if there are newer tags
0016 process.GlobalTag.globaltag = "CRAFT_ALL_V11::All"
0017 process.prefer("GlobalTag")
0018 ##########################################################
0019 
0020 process.maxEvents = cms.untracked.PSet(  input = cms.untracked.int32(100) )
0021 
0022 process.source = cms.Source("PoolSource",
0023     fileNames = cms.untracked.vstring(
0024     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_ALL_V9_225_ReReco_FromTrackerPointing_v1/0003/141E2DC2-5FF9-DD11-8671-0019B9E714CE.root'
0025    )    
0026 )
0027 
0028 # output module
0029 process.EVT = cms.OutputModule("PoolOutputModule",
0030     process.RecoTrackerFEVT,
0031     dataset = cms.untracked.PSet(dataTier = cms.untracked.string('RecoTrackerP5')),
0032     fileName = cms.untracked.string('reTrackingFromRECO_P5.root')
0033 )
0034 
0035 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) ## default is false
0036 
0037 
0038 #Paths
0039 process.allPath = cms.Path(process.siStripMatchedRecHits*process.siPixelRecHits*process.ctftracksP5) #produce only CTF tracks
0040 #process.allPath = cms.Path(process.siStripMatchedRecHits*process.siPixelRecHits*process.rstracksP5) #produce only RS tracks
0041 #process.allPath = cms.Path(process.siStripMatchedRecHits*process.siPixelRecHits*process.cosmictracksP5) #produce only CosmicTF tracks
0042 #process.allPath = cms.Path(process.siStripMatchedRecHits*process.siPixelRecHits*process.tracksP5) #produce all track collection for cosmics
0043 process.outpath = cms.EndPath(process.EVT)
0044 
0045 
0046 ############ custom configurations for special studies #############
0047 #process.ckfTrackCandidatesP5.useHitsSplitting = cms.bool(False)  #avoid to split matched-hits for CTF tracks 
0048 ####################################################################