Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:38

0001 # Run CSCIndexerAnalyzer2 - ptc - 20.11.2012
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("TEST")
0006 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0007 process.source = cms.Source("EmptySource")
0008 
0009 process.load("Configuration.Geometry.GeometryExtended_cff")
0010 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0011 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0012 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0013 
0014 process.GlobalTag.globaltag = "MC_61_V2::All"
0015 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0016 process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource")
0017 
0018 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0019 
0020 process.dummy = cms.ESSource("EmptyESSource",
0021     recordName = cms.string("CSCIndexerRecord"),
0022     firstValid = cms.vuint32(1),
0023     iovIsRunNotTime = cms.bool(True)
0024 )
0025 
0026 ##process.load("CalibMuon.CSCCalibration.CSCIndexer_cfi")
0027 ## The above cfi gives rise to the following line:
0028 
0029 process.CSCIndexerESProducer = cms.ESProducer("CSCIndexerESProducer", AlgoName = cms.string("CSCIndexerStartup") )
0030 ##process.CSCIndexerESProducer = cms.ESProducer("CSCIndexerESProducer", AlgoName = cms.string("CSCIndexerPostls1") )
0031 
0032 process.analyze = cms.EDAnalyzer("CSCIndexerAnalyzer2")
0033 
0034 process.test = cms.Path(process.analyze)
0035