File indexing completed on 2024-04-06 11:56:27
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process( "laserAlignmentT0ProducerProcess" )
0005
0006 process.MessageLogger = cms.Service("MessageLogger",
0007 cerr = cms.untracked.PSet(
0008 threshold = cms.untracked.string('ERROR')
0009 ),
0010 cout = cms.untracked.PSet(
0011 enable = cms.untracked.bool(True),
0012 threshold = cms.untracked.string('INFO')
0013 )
0014 )
0015
0016 process.source = cms.Source( "PoolSource",
0017 fileNames = cms.untracked.vstring(
0018 '/store/data/CRAFT09/TestEnables/RAW/v1/000/110/440/FCEEFAF3-8385-DE11-B5AF-001D09F23944.root',
0019 ),
0020 )
0021
0022 process.load( "EventFilter.SiStripRawToDigi.SiStripDigis_cfi" )
0023 process.siStripDigis.ProductLabel = "source"
0024
0025
0026 process.load( "Configuration.StandardSequences.FrontierConditions_GlobalTag_cff" )
0027 process.GlobalTag.globaltag = 'GR09_31X_V5P::All'
0028
0029 process.eventFilter = cms.EDFilter("LaserAlignmentEventFilter",
0030
0031 RunFirst = cms.untracked.int32(110440),
0032 RunLast = cms.untracked.int32(110440),
0033 EventFirst = cms.untracked.int32(10811622),
0034 EventLast = cms.untracked.int32(10974656)
0035 )
0036
0037
0038 process.load( "Alignment.LaserAlignment.LaserAlignmentT0Producer_cfi" )
0039 process.laserAlignmentT0Producer.DigiProducerList = cms.VPSet(
0040 cms.PSet(
0041 DigiLabel = cms.string( 'ZeroSuppressed' ),
0042 DigiType = cms.string( 'Processed' ),
0043 DigiProducer = cms.string( 'siStripDigis' ),
0044 )
0045 )
0046
0047 process.load( "DQMServices.Core.DQM_cfg" )
0048 process.load( "DQMOffline.Alignment.LaserAlignmentT0ProducerDQM_cfi" )
0049 process.LaserAlignmentT0ProducerDQM.DigiProducerList = cms.VPSet(
0050 cms.PSet(
0051 DigiLabel = cms.string( 'ZeroSuppressed' ),
0052 DigiType = cms.string( 'Processed' ),
0053 DigiProducer = cms.string( 'siStripDigis' )
0054 )
0055 )
0056 process.LaserAlignmentT0ProducerDQM.OutputInPlainROOT = True;
0057 process.LaserAlignmentT0ProducerDQM.UpperAdcThreshold = cms.uint32( 280 )
0058 process.LaserAlignmentT0ProducerDQM.PlainOutputFileName = cms.string( "TkAlLAS_Run110440_Ev10811622_F1.dqm.root" )
0059
0060 process.maxEvents = cms.untracked.PSet(
0061 input = cms.untracked.int32( -1 )
0062
0063 )
0064
0065 process.out = cms.OutputModule( "PoolOutputModule",
0066 outputCommands = cms.untracked.vstring(
0067 'drop *',
0068 'keep *_laserAlignmentT0Producer_*_*'
0069 ),
0070 fileName = cms.untracked.string( 'TkAlLAS_Run110440_Ev10811622_F1.root' )
0071 )
0072
0073 process.p = cms.Path( process.eventFilter+
0074 process.siStripDigis+
0075 process.laserAlignmentT0Producer+
0076 process.LaserAlignmentT0ProducerDQM+
0077 process.out )