Functions | |
def | readTagAndSince |
def | usage |
Variables | |
dictionary | analyzer_ |
tuple | firstValue = cms.uint64(1) |
tuple | interval = cms.uint64(1) |
tuple | lastValue = cms.uint64(1) |
tuple | logconnect = cms.untracked.string('sqlite_file:log.db') |
tuple | loggingOn = cms.untracked.bool(True) |
tuple | options = VarParsing.VarParsing() |
tuple | process = cms.Process("LoadEcalConditions") |
tuple | record = cms.string(options.record+'Rcd') |
tuple | SinceAppendMode = cms.bool(True) |
tuple | Source |
tuple | timetype = cms.string('runnumber') |
tuple | toPut |
def loadConditions::readTagAndSince | ( | filename, | |
headertag = 'EcalCondHeader' |
|||
) |
Read tag and since from EcalCondHeader in XML file
Definition at line 57 of file loadConditions.py.
def loadConditions::usage | ( | ) |
Definition at line 18 of file loadConditions.py.
00019 : 00020 00021 print "Usage: cmsRun loadConditions.py file=FILENAME record=RECORD db=CONNECTSTRING" 00022 print " file=FILE" 00023 print " specify xml file to load to DB" 00024 print 00025 print " record=RECORD" 00026 print " specify record to be loaded (EcalChannelStatus, etc)" 00027 print 00028 print " db=CONNECTSTRING" 00029 print " specify connection string, e.g. sqlite_file=file.db" 00030 print 00031 00032 00033 usage() 00034
dictionary loadConditions::analyzer_ |
00001 {'EcalGainRatios':'EcalGainRatiosAnalyzer', \ 00002 'EcalADCToGeVConstant':'EcalADCToGeVConstantAnalyzer', \ 00003 'EcalWeightXtalGroups':'EcalWeightGroupAnalyzer', \ 00004 'EcalChannelStatus':'EcalChannelStatusHandler', \ 00005 'EcalChannelStatus':'EcalChannelStatusAnalyzer', \ 00006 'EcalTBWeights':'EcalTBWeightsAnalyzer', \ 00007 'EcalIntercalibConstants':'EcalIntercalibConstantsAnalyzer', \ 00008 'EcalIntercalibConstantsMC':'EcalIntercalibConstantsMCAnalyzer', \ 00009 'EcalIntercalibErrors':'EcalIntercalibErrorsAnalyzer' 00010 }
Definition at line 70 of file loadConditions.py.
Referenced by fwlite::AnalyzerWrapper< T >::analyze(), and edm::AnalyzerWrapper< T >::AnalyzerWrapper().
tuple loadConditions::firstValue = cms.uint64(1) |
Definition at line 87 of file loadConditions.py.
tuple loadConditions::interval = cms.uint64(1) |
Definition at line 89 of file loadConditions.py.
tuple loadConditions::lastValue = cms.uint64(1) |
Definition at line 88 of file loadConditions.py.
tuple loadConditions::logconnect = cms.untracked.string('sqlite_file:log.db') |
Definition at line 104 of file loadConditions.py.
tuple loadConditions::loggingOn = cms.untracked.bool(True) |
Definition at line 110 of file loadConditions.py.
tuple loadConditions::options = VarParsing.VarParsing() |
Definition at line 35 of file loadConditions.py.
tuple loadConditions::process = cms.Process("LoadEcalConditions") |
Definition at line 83 of file loadConditions.py.
tuple loadConditions::record = cms.string(options.record+'Rcd') |
Definition at line 109 of file loadConditions.py.
tuple loadConditions::SinceAppendMode = cms.bool(True) |
Definition at line 111 of file loadConditions.py.
tuple loadConditions::Source |
00001 cms.PSet( 00002 xmlFile = cms.untracked.string(options.file), 00003 since = cms.untracked.int64(int(since_)) #python will make the int as 00004 #long as needed 00005 )
Definition at line 112 of file loadConditions.py.
tuple loadConditions::timetype = cms.string('runnumber') |
Definition at line 86 of file loadConditions.py.
tuple loadConditions::toPut |
00001 cms.VPSet(cms.PSet( 00002 record = cms.string(options.record+'Rcd'), 00003 tag = cms.string(tag_) 00004 ))
Definition at line 100 of file loadConditions.py.