File indexing completed on 2024-04-06 12:06:43
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("APVCyclePhaseProducerTestGR09")
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(
0022 '/store/data/CRAFT09/Cosmics/RAW/v1/000/110/958/C81A92C2-D788-DE11-B7BB-000423D6B42C.root',
0023 '/store/data/Commissioning09/Cosmics/RAW/v3/000/106/019/FECCF15C-4872-DE11-BDB2-000423D944F8.root',
0024 '/store/data/CRAFT09/Cosmics/RAW/v1/000/110/958/22EF7D51-CF88-DE11-AFB9-001617C3B70E.root'
0025
0026
0027
0028
0029
0030
0031
0032
0033 ),
0034 skipBadFiles = cms.untracked.bool(True)
0035 )
0036
0037
0038
0039
0040 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0041
0042
0043 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0044
0045
0046 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0047
0048
0049 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0050
0051 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0052
0053
0054
0055
0056 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0057 process.GlobalTag.globaltag = "GR09_31X_V5P::All"
0058
0059
0060
0061
0062 process.load("DPGAnalysis.SiStripTools.configurableapvcyclephaseproducer_GR09_withdefault_cff")
0063
0064
0065 import DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1abc_GR09_cfi
0066 process.APVPhasesFromL1ABC = DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1abc_GR09_cfi.APVPhases.clone()
0067 process.APVPhasesFromL1ABC.wantHistos = cms.untracked.bool(True)
0068
0069 process.load("DPGAnalysis.SiStripTools.apvcyclephasemonitor_cfi")
0070
0071 process.apvcyclephasemonitorfroml1abc = process.apvcyclephasemonitor.clone()
0072 process.apvcyclephasemonitorfroml1abc.apvCyclePhaseCollection = cms.InputTag("APVPhasesFromL1ABC")
0073
0074 process.TFileService = cms.Service('TFileService',
0075 fileName = cms.string('apvcyclephaseproducer_test_GR09.root')
0076 )
0077
0078 process.p0 = cms.Path(process.scalersRawToDigi +
0079 process.APVPhases + process.APVPhasesFromL1ABC +
0080 process.apvcyclephasemonitor +process.apvcyclephasemonitorfroml1abc )
0081