![]() |
|
|||
File indexing completed on 2024-04-06 12:00:01
0001 import FWCore.ParameterSet.Config as cms 0002 0003 process = cms.Process("CALIB") 0004 # process.MessageLogger = cms.Service("MessageLogger", 0005 # cout = cms.untracked.PSet( 0006 # threshold = cms.untracked.string('INFO') 0007 # ), 0008 # destinations = cms.untracked.vstring('cout') 0009 # ) 0010 0011 process.source = cms.Source("PoolSource", 0012 # replace 'myfile.root' with the source file you want to use 0013 fileNames = cms.untracked.vstring( 0014 # 'file:/afs/cern.ch/user/d/demattia/scratch0/TeVEE.root' 0015 'file:/afs/cern.ch/user/d/demattia/scratch0/photon_163796_162_155685227.root' 0016 ) 0017 ) 0018 0019 process.maxEvents = cms.untracked.PSet( 0020 input = cms.untracked.int32(1) 0021 ) 0022 0023 #------------------------------------------------- 0024 # Calibration 0025 #------------------------------------------------- 0026 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") 0027 process.GlobalTag.globaltag = 'GR_R_42_V14::All' 0028 0029 # process.poolDBESSource = cms.ESSource("PoolDBESSource", 0030 # BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'), 0031 # DBParameters = cms.PSet( 0032 # messageLevel = cms.untracked.int32(0), 0033 # authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb') 0034 # ), 0035 # timetype = cms.untracked.string('runnumber'), 0036 # connect = cms.string('oracle://cms_orcon_prod/cms_cond_31x_run_info'), 0037 # toGet = cms.VPSet( 0038 # cms.PSet( 0039 # record = cms.string('RunInfoRcd'), 0040 # tag = cms.string('runinfo_start_31X_hlt') 0041 # ), 0042 # ) 0043 # ) 0044 # process.es_prefer = cms.ESPrefer("PoolDBESSource", "poolDBESSource") 0045 0046 0047 # Include masking # 0048 0049 process.siStripQualityESProducer.ListOfRecordToMerge=cms.VPSet( 0050 cms.PSet(record=cms.string('SiStripDetCablingRcd'),tag=cms.string('')) 0051 , cms.PSet(record=cms.string('SiStripBadChannelRcd'),tag=cms.string('')) 0052 #, cms.PSet(record=cms.string('SiStripBadModuleRcd' ),tag=cms.string('')) 0053 , cms.PSet(record=cms.string('RunInfoRcd'),tag=cms.string('')) 0054 ) 0055 process.siStripQualityESProducer.ReduceGranularity = cms.bool(False) 0056 # True means all the debug output from adding the RunInfo (default is False) 0057 process.siStripQualityESProducer.PrintDebugOutput = cms.bool(True) 0058 # "True" means that the RunInfo is used even if all the feds are off (including other subdetectors). 0059 # This means that if the RunInfo was filled with a fake empty object we will still set the full tracker as bad. 0060 # With "False", instead, in that case the RunInfo information is discarded. 0061 # Default is "False". 0062 process.siStripQualityESProducer.UseEmptyRunInfo = cms.bool(False) 0063 0064 #------------------------------------------------- 0065 # Services for the TkHistoMap 0066 #------------------------------------------------- 0067 process.load("Configuration.Geometry.GeometryExtended2017_cff") 0068 process.load("Geometry.TrackerGeometryBuilder.trackerParameters_cfi") 0069 process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP") 0070 process.load("DQM.SiStripCommon.TkHistoMap_cff") 0071 #------------------------------------------------- 0072 process.stat = cms.EDAnalyzer("TrackHitPositions", 0073 dataLabel = cms.untracked.string(""), 0074 SaveTkHistoMap = cms.untracked.bool(True), 0075 TkMapFileName = cms.untracked.string("TkMapBadComponents.pdf"), #available filetypes: .pdf .png .jpg .svg 0076 PtCut = cms.double(100) 0077 ) 0078 0079 process.p = cms.Path(process.stat) 0080 0081
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |