Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("APVCyclePhaseProducerTestFakeSource")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 process.MessageLogger.files.infos = cms.untracked.PSet(
0008     threshold = cms.untracked.string("INFO"),
0009     default = cms.untracked.PSet(
0010         limit = cms.untracked.int32(10000000)
0011     ),
0012     FwkReport = cms.untracked.PSet(
0013         reportEvery = cms.untracked.int32(10000)
0014     )
0015 )
0016 process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING")
0017 
0018 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
0019 
0020 process.source = cms.Source("PoolSource",
0021                     fileNames = cms.untracked.vstring("/store/data/Commissioning2013/Cosmics/RAW/v1/00000/007C8D94-9A46-E311-9596-003048F0E594.root",
0022                                                       "/store/data/Commissioning2013/Cosmics/RAW/v1/00000/06631F08-9A45-E311-9BFD-003048F17496.root"
0023 ),
0024 #                    skipBadFiles = cms.untracked.bool(True),
0025                     inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0026                     )
0027 
0028 
0029 #process.source = cms.Source("EmptySource",
0030 #                            firstRun = cms.untracked.uint32(216322),
0031 #                            numberEventsInRun = cms.untracked.uint32(10)
0032 #                            )
0033 
0034 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0035 process.GlobalTag.globaltag = "GR_R_70_V1::All"
0036 #-------------------------------------------------------------------------
0037 process.load("DPGAnalysis.SiStripTools.SiStripConfObjectAPVPhaseOffsetsFakeESSource_cfi")
0038 #-------------------------------------------------------------------------
0039 
0040 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0041 process.load("Configuration.StandardSequences.MagneticField_cff")
0042 process.load("Configuration.StandardSequences.GeometryDB_cff")
0043 process.load("Configuration.StandardSequences.Reconstruction_cff")
0044 
0045 #process.load("DPGAnalysis.SiStripTools.configurableapvcyclephaseproducer_GR09_withdefault_cff")
0046 process.load("DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1tsDB_cfi")
0047 #process.APVPhases.recordLabel = cms.untracked.string("")
0048 
0049 process.load("DPGAnalysis.SiStripTools.apvcyclephasemonitor_cfi")
0050 
0051 process.TFileService = cms.Service('TFileService',
0052                                    fileName = cms.string('apvcyclephaseproducer_test_fakesource.root')
0053                                    )
0054 
0055 process.p0 = cms.Path(process.scalersRawToDigi + process.APVPhases +
0056                       process.apvcyclephasemonitor )
0057