Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MULTI")
0004 
0005 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0006 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0007 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0008 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010 process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
0011 
0012 process.source = cms.Source("PoolSource",
0013    fileNames = cms.untracked.vstring(
0014       XXX_INPUT_XXX
0015   )
0016 )
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(XXX_NEVENTS_XXX)
0020 )
0021 
0022 process.MessageLogger = cms.Service("MessageLogger",
0023     suppressWarning   = cms.untracked.vstring('TrackRefitter',         'FwkReport'),
0024     suppressInfo      = cms.untracked.vstring('TrackRefitter'   ,         'FwkReport'),
0025     suppressDebug     = cms.untracked.vstring('TrackRefitter'  ,         'FwkReport'),
0026     cout = cms.untracked.PSet(
0027         threshold = cms.untracked.string('ERROR')
0028     ),
0029     destinations = cms.untracked.vstring('cout')
0030 )
0031 
0032 # Conditions (Global Tag is used here):
0033 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0034 process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
0035 process.GlobalTag.globaltag = "CRAFT_V3P::All"
0036 process.prefer("GlobalTag")
0037 
0038 process.load("RecoVertex.BeamSpotProducer.BeamSpot_cfi")
0039 
0040 #process.TrackRefitter.src = 'ALCARECOTkAlCosmicsCTF0T'
0041 process.TrackRefitter.src = 'ALCARECOTkAlCosmicsCosmicTF0T'
0042 #process.TrackRefitter.src = 'ALCARECOTkAlCosmicsRS0T'
0043 #process.TrackRefitter.src = 'ctfWithMaterialTracksP5'
0044 process.TrackRefitter.TrajectoryInEvent = True
0045 
0046 process.SiStripCalib = cms.EDFilter("SiStripGainFromData",
0047     AlgoMode            = cms.string('MultiJob'),
0048 
0049     OutputHistos        = cms.string('XXX_OUTPUT_XXX.root'),
0050     OutputGains         = cms.string('XXX_OUTPUT_XXX.txt'),
0051 
0052     TrajToTrackProducer = cms.string('TrackRefitter'),
0053     TrajToTrackLabel    = cms.string(''),
0054 
0055     minTrackMomentum    = cms.untracked.double(1.0),
0056     minNrEntries        = cms.untracked.uint32(100),
0057     maxChi2OverNDF      = cms.untracked.double(9999999.0),
0058     maxMPVError         = cms.untracked.double(1000000.0),
0059     maxNrStrips         = cms.untracked.uint32(8),
0060 
0061     SinceAppendMode     = cms.bool(True),
0062     IOVMode             = cms.string('Job'),
0063     Record              = cms.string('SiStripApvGainRcd'),
0064     doStoreOnDB         = cms.bool(False)
0065 )
0066 
0067 process.p = cms.Path(process.offlineBeamSpot*process.TrackRefitter*process.SiStripCalib)
0068