Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:45:04

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   #skipEvents = cms.untracked.uint32( 7000 ), 
0018   fileNames = cms.untracked.vstring(
0019     '/store/data/Run2010A/TestEnables/RAW/v1/000/140/124/56E00D1B-308F-DF11-BE54-001D09F24691.root'
0020   )
0021 )
0022 process.load( "EventFilter.SiStripRawToDigi.SiStripDigis_cfi" )
0023 process.siStripDigis.ProductLabel = "source"#"hltCalibrationRaw"
0024 
0025 process.load( "Configuration.StandardSequences.FrontierConditions_GlobalTag_cff" )
0026 process.GlobalTag.globaltag = cms.string('GR_R_37X_V6A::All')
0027 
0028 # multiple sets can be given, only those will be output
0029 process.load( "Alignment.LaserAlignment.LaserAlignmentT0Producer_cfi" )
0030 process.laserAlignmentT0Producer.DigiProducerList = cms.VPSet(
0031   cms.PSet(
0032     DigiLabel = cms.string( 'ZeroSuppressed' ),
0033     DigiType = cms.string( 'Processed' ),
0034     DigiProducer = cms.string( 'siStripDigis' )
0035   )
0036 )
0037 
0038 process.load( "DQMServices.Core.DQM_cfg" )
0039 process.load( "DQMOffline.Alignment.LaserAlignmentT0ProducerDQM_cfi" )
0040 process.LaserAlignmentT0ProducerDQM.DigiProducerList = cms.VPSet(
0041   cms.PSet(
0042     DigiLabel = cms.string( 'ZeroSuppressed' ),
0043     DigiType = cms.string( 'Processed' ),
0044     DigiProducer = cms.string( 'siStripDigis' )
0045   )
0046 )
0047 process.LaserAlignmentT0ProducerDQM.OutputInPlainROOT = True;
0048 process.LaserAlignmentT0ProducerDQM.UpperAdcThreshold = cms.uint32( 280 )
0049 
0050 process.maxEvents = cms.untracked.PSet(
0051   input = cms.untracked.int32( -1 )
0052 )
0053 
0054 process.out = cms.OutputModule( "PoolOutputModule",
0055   outputCommands = cms.untracked.vstring(
0056     'drop *', 
0057     'keep *_laserAlignmentT0Producer_*_*'
0058   ),
0059   fileName = cms.untracked.string( '/tmp/aperiean/TkAlLAS_Run140124_LASFilter_test.root' )
0060 )
0061 
0062 process.load('Alignment.LaserAlignment.LaserAlignmentEventFilter_cfi')
0063 #process.p = cms.Path( process.LaserAlignmentEventFilter )
0064 
0065 
0066 #process.load('UserCode.BWittmer.LASFilter_cfi')
0067 #from UserCode.BWittmer.LAS_defs_cff import *
0068 
0069 #process.LASFilter.FED_IDs = cms.vint32()
0070 #process.LASFilter.FED_IDs.extend(FED_TECp)
0071 #process.LASFilter.FED_IDs.extend(FED_TECm)
0072 #process.LASFilter.FED_IDs.extend(FED_AT_TOB)
0073 #process.LASFilter.FED_IDs.extend(FED_AT_TIB)
0074 #process.LASFilter.FED_IDs.extend(FED_AT_TECp)
0075 #process.LASFilter.FED_IDs.extend(FED_AT_TECm)
0076 
0077 #process.LASFilter.SIGNAL_IDs = cms.vint32()
0078 #process.LASFilter.SIGNAL_IDs.extend(SIGNAL_IDs_TECp_R4)
0079 #process.LASFilter.SIGNAL_IDs.extend(SIGNAL_IDs_TECp_R6)
0080 #process.LASFilter.SIGNAL_IDs.extend(SIGNAL_IDs_TECm_R4)
0081 #process.LASFilter.SIGNAL_IDs.extend(SIGNAL_IDs_TECm_R6)
0082 #process.LASFilter.SIGNAL_IDs.extend(SIGNAL_IDs_AT_TOB)
0083 #process.LASFilter.SIGNAL_IDs.extend(SIGNAL_IDs_AT_TIB)
0084 #process.LASFilter.SIGNAL_IDs.extend(SIGNAL_IDs_AT_TECp)
0085 #process.LASFilter.SIGNAL_IDs.extend(SIGNAL_IDs_AT_TECm)                                      
0086 
0087 process.seqDigitization = cms.Path( process.siStripDigis )
0088 
0089 process.seqAnalysis = cms.Path( process.LaserAlignmentEventFilter * 
0090                                 (process.laserAlignmentT0Producer +
0091                                  process.LaserAlignmentT0ProducerDQM ))
0092 process.outputPath = cms.EndPath( process.out )