Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:48

0001 # Import configurations
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("test")
0005 
0006 process.load("CalibTracker.SiStripDCS.MessLogger_cfi")
0007 
0008 process.SiStripConfigDb = cms.Service("SiStripConfigDb",
0009     ConfDb = cms.untracked.string('username/password@cms_omds_nolb'),
0010     TNS_ADMIN = cms.untracked.string('.'),
0011     UsingDb = cms.untracked.bool(True),
0012     Partitions = cms.untracked.PSet(
0013         TPDD = cms.untracked.PSet(
0014             PartitionName = cms.untracked.string('TP_08-AUG-2008_1'),
0015             ForceVersions = cms.untracked.bool(True),
0016             FecVersion    = cms.untracked.vuint32(430,2),
0017             DcuDetIdsVersion = cms.untracked.vuint32(9,0)
0018         ),
0019         TMDD = cms.untracked.PSet(
0020             PartitionName = cms.untracked.string('TM_08-AUG-2008_1'),
0021             ForceVersions = cms.untracked.bool(True),
0022             FecVersion    = cms.untracked.vuint32(428,1),
0023             DcuDetIdsVersion = cms.untracked.vuint32(9,0)
0024         ),
0025         TIDD = cms.untracked.PSet(
0026             PartitionName = cms.untracked.string('TI_08-AUG-2008_1'),
0027             ForceVersions = cms.untracked.bool(True),
0028             FecVersion    = cms.untracked.vuint32(427,1),
0029             DcuDetIdsVersion = cms.untracked.vuint32(9,0)
0030         ),
0031         TODD = cms.untracked.PSet(
0032             PartitionName = cms.untracked.string('TO_08-AUG-2008_1'),
0033             ForceVersions = cms.untracked.bool(True),
0034             FecVersion    = cms.untracked.vuint32(415,3),
0035             DcuDetIdsVersion = cms.untracked.vuint32(9,0)
0036         ),
0037         TEPD2 = cms.untracked.PSet(
0038             PartitionName = cms.untracked.string('TE_27-JUN-2008_2'),
0039             ForceVersions = cms.untracked.bool(True),
0040             DcuPsuMapVersion = cms.untracked.vuint32(211, 2)
0041         ),
0042         TMPD = cms.untracked.PSet(
0043             PartitionName = cms.untracked.string('TE_17-JUN-2008_12'),
0044             ForceVersions = cms.untracked.bool(True),
0045             DcuPsuMapVersion = cms.untracked.vuint32(163, 1)
0046         ),
0047         TEPD1 = cms.untracked.PSet(
0048             PartitionName = cms.untracked.string('TE_24-JUN-2008_2'),
0049             ForceVersions = cms.untracked.bool(True),
0050             DcuPsuMapVersion = cms.untracked.vuint32(204, 1)
0051         ),
0052         TEPD4 = cms.untracked.PSet(
0053             PartitionName = cms.untracked.string('TE_30-JUN-2008_1'),
0054             ForceVersions = cms.untracked.bool(True),
0055             DcuPsuMapVersion = cms.untracked.vuint32(229, 1)
0056         ),
0057         TEPD3 = cms.untracked.PSet(
0058             PartitionName = cms.untracked.string('TE_27-JUN-2008_4'),
0059             ForceVersions = cms.untracked.bool(True),
0060             DcuPsuMapVersion = cms.untracked.vuint32(214, 1)
0061         ),
0062         TPPD = cms.untracked.PSet(
0063             PartitionName = cms.untracked.string('TE_17-JUN-2008_11'),
0064             ForceVersions = cms.untracked.bool(True),
0065             DcuPsuMapVersion = cms.untracked.vuint32(162, 1)
0066         ),
0067         TIPD = cms.untracked.PSet(
0068             PartitionName = cms.untracked.string('TI_17-JUN-2008_2'),
0069             ForceVersions = cms.untracked.bool(True),
0070             DcuPsuMapVersion = cms.untracked.vuint32(157, 1)
0071         ),
0072         TIPD2 = cms.untracked.PSet(
0073             PartitionName = cms.untracked.string('TI_18-JUN-2008_1'),
0074             ForceVersions = cms.untracked.bool(True),
0075             DcuPsuMapVersion = cms.untracked.vuint32(165, 1)
0076         ),
0077         TIPD3 = cms.untracked.PSet(
0078             PartitionName = cms.untracked.string('TI_18-JUN-2008_10'),
0079             ForceVersions = cms.untracked.bool(True),
0080             DcuPsuMapVersion = cms.untracked.vuint32(179, 1)
0081         ),
0082         TIPD4 = cms.untracked.PSet(
0083             PartitionName = cms.untracked.string('TI_20-JUN-2008_1'),
0084             ForceVersions = cms.untracked.bool(True),
0085             DcuPsuMapVersion = cms.untracked.vuint32(192, 1)
0086         ),
0087         TIPD5 = cms.untracked.PSet(
0088             PartitionName = cms.untracked.string('TI_27-JUN-2008_1'),
0089             ForceVersions = cms.untracked.bool(True),
0090             DcuPsuMapVersion = cms.untracked.vuint32(212, 1)
0091         ),
0092         TIPD6 = cms.untracked.PSet(
0093             PartitionName = cms.untracked.string('TI_27-JUN-2008_3'),
0094             ForceVersions = cms.untracked.bool(True),
0095             DcuPsuMapVersion = cms.untracked.vuint32(218, 1)
0096         ),
0097         TOPD = cms.untracked.PSet(
0098             PartitionName = cms.untracked.string('TO_18-JUN-2008_1_TEST_1'),
0099             ForceVersions = cms.untracked.bool(True),
0100             DcuPsuMapVersion = cms.untracked.vuint32(177, 1)
0101         ),
0102         TOPD2 = cms.untracked.PSet(
0103             PartitionName = cms.untracked.string('TO_18-JUN-2008_2'),
0104             ForceVersions = cms.untracked.bool(True),
0105             DcuPsuMapVersion = cms.untracked.vuint32(178, 1)
0106         ),
0107         TOPD3 = cms.untracked.PSet(
0108             PartitionName = cms.untracked.string('TO_30-JUN-2008_1'),
0109             ForceVersions = cms.untracked.bool(True),
0110             DcuPsuMapVersion = cms.untracked.vuint32(228, 1)
0111         )
0112     )
0113 )
0114 
0115 process.maxEvents = cms.untracked.PSet(
0116     input = cms.untracked.int32(1)
0117 )
0118 process.source = cms.Source("EmptySource",
0119     numberEventsInRun = cms.untracked.uint32(1),
0120     firstRun = cms.untracked.uint32(1)
0121 )
0122 
0123 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0124 process.CondDBCommon.connect = cms.string('oracle://cms_omds_nolb/username')
0125 
0126 process.SiStripModuleHVBuilder = cms.Service("SiStripModuleHVBuilder",
0127     onlineDB = cms.untracked.string('oracle://cms_omds_nolb/username'),
0128     authPath = cms.untracked.string('.'),
0129 # Format for date/time vector:  year, month, day, hour, minute, second, nanosecond                              
0130     Tmin = cms.untracked.vint32(2009, 6, 17, 6, 0, 0, 0),
0131     Tmax = cms.untracked.vint32(2009, 6, 17, 21, 0, 0, 0),
0132 # Do NOT change this unless you know what you are doing!
0133     TSetMin = cms.untracked.vint32(2007, 11, 26, 0, 0, 0, 0),                                             
0134 # queryType can be either STATUSCHANGE or LASTVALUE                              
0135     queryType = cms.untracked.string('STATUSCHANGE'),
0136 # if reading lastValue from file put insert file name here                              
0137     lastValueFile = cms.untracked.string(''),
0138 # flag to show if you are reading from file for lastValue or not                              
0139     lastValueFromFile = cms.untracked.bool(False),
0140 # flag to toggle debug output
0141     debugModeOn = cms.untracked.bool(False)
0142 )
0143 
0144 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0145     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0146     DBParameters = cms.PSet(
0147         messageLevel = cms.untracked.int32(2),
0148         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0149     ),
0150     timetype = cms.untracked.string('timestamp'),
0151     connect = cms.string('sqlite_file:dbfile.db'),
0152     toPut = cms.VPSet(cms.PSet(
0153         record = cms.string('SiStripDetVOffRcd'),
0154         tag = cms.string('SiStripDetVOff_Fake_31X')
0155     )),
0156     logconnect = cms.untracked.string('sqlite_file:logfile.db')
0157 )
0158 
0159 process.siStripPopConModuleHV = cms.EDAnalyzer("SiStripPopConModuleHV",
0160     record = cms.string('SiStripDetVOffRcd'),
0161     loggingOn= cms.untracked.bool(True),
0162     SinceAppendMode=cms.bool(True),
0163     Source = cms.PSet(
0164         name = cms.untracked.string('default')
0165     )                                        
0166 )
0167 
0168 process.p = cms.Path(process.siStripPopConModuleHV)
0169