File indexing completed on 2024-04-06 12:02:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("CREATESQLITE")
0004 process.load("CondCore.CondDB.CondDB_cfi")
0005 process.load('Configuration.StandardSequences.GeometryDB_cff')
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 from Configuration.AlCa.autoCond import autoCond
0008 process.GlobalTag.globaltag = autoCond['phase2_realistic']
0009
0010 process.CondDB.connect = 'sqlite_file:MuonSystemAging.db'
0011
0012 process.source = cms.Source("EmptyIOVSource",
0013 lastValue = cms.uint64(1),
0014 timetype = cms.string('runnumber'),
0015 firstValue = cms.uint64(1),
0016 interval = cms.uint64(1)
0017 )
0018
0019 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0020 process.CondDB,
0021 timetype = cms.untracked.string('runnumber'),
0022 toPut = cms.VPSet(cms.PSet(
0023 record = cms.string('MuonSystemAgingRcd'),
0024 tag = cms.string('MuonSystemAging_test')
0025 ))
0026 )
0027
0028 process.produceAgingObject = cms.EDAnalyzer("ProduceAgingObject",
0029
0030 maskedGEMIDs = cms.vint32([
0031 671105280,671121664,671105792,671122176,671106304,671122688,671106816,
0032 671123200,671107328,671123712,671107840,671124224,671108352,671124736,
0033 671105794,671122178,671105282,671121666,671106306,671122690,671106818,
0034 671123202,671107330,671123714,671107842,671124226,671108354,671124738,
0035 671105056, 671121440, 671105568, 671121952, 671106080, 671122464,
0036 671106592, 671122976, 671107104, 671123488, 671107616, 671124000,
0037 671105058, 671121442, 671105570, 671121954, 671106082, 671122466,
0038 671106594, 671122978, 671107106, 671123490, 671107618, 671124002,
0039 ]),
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091 maskedME0IDs = cms.vint32([]),
0092
0093
0094
0095 dtRegEx = cms.vstring([
0096
0097
0098
0099 "WH-2_ST4_SEC2$:0.","WH-2_ST4_SEC3$:0.","WH-2_ST4_SEC4$:0.",
0100 "WH-2_ST4_SEC5$:0.","WH-2_ST4_SEC6$:0.","WH-1_ST4_SEC2$:0.",
0101 "WH-1_ST4_SEC3$:0.","WH-1_ST4_SEC4$:0.","WH-1_ST4_SEC5$:0.",
0102 "WH-1_ST4_SEC6$:0.","WH0_ST4_SEC2$:0.","WH0_ST4_SEC3$:0.",
0103 "WH0_ST4_SEC4$:0.","WH0_ST4_SEC5$:0.","WH0_ST4_SEC6$:0.",
0104 "WH1_ST4_SEC2$:0.","WH1_ST4_SEC3$:0.","WH1_ST4_SEC4$:0.",
0105 "WH1_ST4_SEC5$:0.","WH1_ST4_SEC6$:0.","WH2_ST4_SEC2$:0.",
0106 "WH2_ST4_SEC3$:0.","WH2_ST4_SEC4$:0.","WH2_ST4_SEC5$:0.",
0107 "WH2_ST4_SEC6$:0.",
0108
0109 "WH-2_ST1_SEC1$:0.","WH-2_ST1_SEC2$:0.","WH-2_ST1_SEC3$:0.",
0110 "WH-2_ST1_SEC4$:0.","WH-2_ST1_SEC5$:0.","WH-2_ST1_SEC6$:0.",
0111 "WH-2_ST1_SEC7$:0.","WH-2_ST1_SEC8$:0.","WH-2_ST1_SEC9$:0.",
0112 "WH-2_ST1_SEC10$:0.","WH-2_ST1_SEC11$:0.","WH-2_ST1_SEC12$:0.",
0113 "WH2_ST1_SEC1$:0.","WH2_ST1_SEC2$:0.","WH2_ST1_SEC3$:0.",
0114 "WH2_ST1_SEC4$:0.","WH2_ST1_SEC5$:0.","WH2_ST1_SEC6$:0.",
0115 "WH2_ST1_SEC7$:0.","WH2_ST1_SEC8$:0.","WH2_ST1_SEC9$:0.",
0116 "WH2_ST1_SEC10$:0.","WH2_ST1_SEC11$:0.","WH2_ST1_SEC12$:0.",
0117
0118 "WH2_ST2_SEC3$:0.","WH2_ST2_SEC6$:0.","WH2_ST2_SEC9$:0.",
0119 "WH-2_ST2_SEC2$:0.","WH-2_ST2_SEC4$:0.",
0120
0121 "WH-2_ST2_SEC8$:0.","WH-1_ST1_SEC1$:0.","WH-1_ST2_SEC1$:0.",
0122 "WH-1_ST1_SEC4$:0.","WH-1_ST3_SEC7$:0.","WH0_ST2_SEC2$:0.",
0123 "WH0_ST3_SEC5$:0.","WH0_ST4_SEC12$:0.","WH1_ST1_SEC6$:0.",
0124 "WH1_ST1_SEC10$:0.","WH1_ST3_SEC3$:0."
0125
0126
0127
0128 ]),
0129
0130 cscRegEx = cms.vstring([
0131
0132
0133
0134
0135
0136
0137
0138
0139
0140
0141
0142 "ME\\\+1/1/10:1,0.0",
0143
0144 "ME\\\+1/2/4:0,0.0",
0145
0146 "ME\\\+1/2/15:2,0.0",
0147
0148 "ME\\\+1/2/26:30,0.0",
0149
0150 "ME\\\-1/2/7:31,0.0",
0151
0152 "ME\\\-1/2/18:32,0.5",
0153 ]),
0154
0155 rpcRegEx = cms.vstring(["637570221:0.0","637602989:0.5","637569561:0.7"])
0156
0157
0158 )
0159
0160 process.p = cms.Path(process.produceAgingObject)
0161