Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 file = open('tpDead.txt')
0004 wiresToDebug = cms.untracked.vstring()
0005 for line in file:
0006     corrWire = line.split()[:6]
0007     #switch station/sector
0008     corrWire[1:3] = corrWire[2:0:-1]
0009     wire = ' '.join(corrWire)
0010     #print wire
0011     wiresToDebug.append(wire)
0012 file.close()
0013 
0014 from CalibMuon.DTCalibration.dtT0WireCalibration_cfg import process
0015 process.source.fileNames = ['/store/data/Commissioning12/MiniDaq/RAW/v1/000/185/686/A86FFC8B-DE5C-E111-AD81-003048D3C932.root']
0016 process.GlobalTag.globaltag = 'GR_P_V28::All'
0017 
0018 process.muonDTDigis.inputLabel = 'rawDataCollector'
0019 process.dtTPmonitor.dtDigiLabel = 'muonDTDigis'
0020 process.dtTPmonitor.readDB = False 
0021 process.dtTPmonitor.defaultTtrig = 600
0022 process.dtTPmonitor.defaultTmax = 100
0023 #process.dtTPmonitor.readDB = True 
0024 #process.dtTPmonitor.defaultTtrig = 300
0025 #process.dtTPmonitor.defaultTmax = 100
0026 
0027 process.dtT0WireCalibration.correctByChamberMean = False
0028 process.dtT0WireCalibration.cellsWithHisto = wiresToDebug
0029 #process.dtT0WireCalibration.eventsForLayerT0 = 3000
0030 #process.dtT0WireCalibration.eventsForWireT0 = 12000