File indexing completed on 2024-04-06 12:09:19
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("ICALIB")
0004 process.load("DQMServices.Core.DQM_cfg")
0005
0006 process.MessageLogger = cms.Service("MessageLogger",
0007 debugModules = cms.untracked.vstring('*'),
0008 cout = cms.untracked.PSet(
0009 threshold = cms.untracked.string('INFO')
0010 ),
0011 destinations = cms.untracked.vstring('cout')
0012 )
0013
0014 process.source = cms.Source("EmptyIOVSource",
0015 firstValue = cms.uint64(insertRun),
0016 lastValue = cms.uint64(insertRun),
0017 timetype = cms.string('runnumber'),
0018 interval = cms.uint64(1)
0019 )
0020
0021 process.maxEvents = cms.untracked.PSet(
0022 input = cms.untracked.int32(1)
0023 )
0024
0025
0026 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0027
0028
0029
0030
0031
0032
0033 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0034 process.GlobalTag.globaltag = "CRAFT0831X_V1::All"
0035
0036
0037 process.a = cms.ESSource("PoolDBESSource",
0038 appendToDataLabel = cms.string('testa'),
0039 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0040 DBParameters = cms.PSet(
0041 authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0042 ),
0043 timetype = cms.string('runnumber'),
0044 toGet = cms.VPSet(cms.PSet(
0045 record = cms.string('SiStripBadFiberRcd'),
0046 tag = cms.string('SiStripHotAPVs')
0047 )),
0048 connect = cms.string('sqlite_file:dbfile.db')
0049 )
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071 process.MySSQ = cms.ESProducer("SiStripQualityESProducer",
0072 PrintDebug = cms.untracked.bool(True),
0073 PrintDebugOutput = cms.bool(False),
0074 UseEmptyRunInfo = cms.bool(False),
0075 appendToDataLabel = cms.string('test'),
0076 ReduceGranularity = cms.bool(True),
0077 ThresholdForReducedGranularity = cms.double(0.3),
0078 ListOfRecordToMerge = cms.VPSet(
0079 cms.PSet(
0080 record = cms.string('SiStripBadFiberRcd'),
0081 tag = cms.string('testa')
0082 ))
0083 )
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0104 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0105 DBParameters = cms.PSet(
0106 authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0107 ),
0108 timetype = cms.untracked.string('runnumber'),
0109 connect = cms.string('sqlite_file:dbfile.db'),
0110 toPut = cms.VPSet(
0111 cms.PSet(
0112 record = cms.string('SiStripBadStrip'),
0113 tag = cms.string('SiStripHotStrips')
0114 ))
0115 )
0116
0117 process.prod = cms.EDFilter("SiStripQualityHotStripIdentifierRoot",
0118 OccupancyRootFile = cms.untracked.string('HotStripsOccupancy_insertRun.root'),
0119 WriteOccupancyRootFile = cms.untracked.bool(True),
0120 UseInputDB = cms.untracked.bool(True),
0121 dataLabel=cms.untracked.string('test'),
0122 OccupancyH_Xmax = cms.untracked.double(1.0),
0123 AlgoParameters = cms.PSet(
0124 AlgoName = cms.string('SiStripHotStripAlgorithmFromClusterOccupancy'),
0125 OccupancyHisto = cms.untracked.string('ClusterDigiPosition__det__'),
0126 NumberOfEvents = cms.untracked.uint32(0),
0127 ProbabilityThreshold = cms.untracked.double(1e-07),
0128 MinNumEntriesPerStrip = cms.untracked.uint32(20),
0129 MinNumEntries = cms.untracked.uint32(0),
0130 OccupancyThreshold = cms.untracked.double(0.0001),
0131 UseInputDB = cms.untracked.bool(True)
0132 ),
0133 SinceAppendMode = cms.bool(True),
0134 verbosity = cms.untracked.uint32(0),
0135 OccupancyH_Xmin = cms.untracked.double(-0.0005),
0136 IOVMode = cms.string('Run'),
0137 Record = cms.string('SiStripBadStrip'),
0138 rootDirPath = cms.untracked.string('Run insertRun/AlCaReco'),
0139 rootFilename = cms.untracked.string('insertCastorPath/insertDataset/insertDQMFile'),
0140 doStoreOnDB = cms.bool(True),
0141 OccupancyH_Nbin = cms.untracked.uint32(1001)
0142 )
0143
0144 process.out = cms.OutputModule("AsciiOutputModule")
0145
0146 process.p = cms.Path(process.prod)
0147 process.ep = cms.EndPath(process.out)
0148