CMS 3D CMS Logo

Functions | Variables

dbtoconf Namespace Reference

Functions

def myparser

Variables

tuple ACCOUNT = CONFIG.get('Common','Account')
list account = []
string AUTHPATH = ''
tuple conf = open(CONFFILE,'w')
tuple CONFFILE = CONFIG.get('Common','Confoutput')
tuple CONFIG = ConfigParser.ConfigParser()
string CONFIGFILE = 'dbtoconf.cfg'
string CONNREP = ''
list connstring = []
tuple CONNSTRINGGLOBTAG = CONFIG.get('Common','Conn_string_gtag')
string globparent = ''
tuple GLOBTAG = CONFIG.get('Common','Globtag')
list label = []
list leafnode = []
tuple line = tmp.readline()
int MAXRETRIES = 10
int nlines = 0
string node = ''
list object = []
tuple out = myparser(line,'root:')
string outline = ' '
list parent = []
list pfn = []
list record = []
string root = ''
 initialization
list tag = []
string TAGREP = ''
string tagtree_cmd = 'cmscond_tagtree_list -c '
tuple tmp = open(TMPTAG,'r')
string TMPTAG = 'tmptag.list'

Function Documentation

def dbtoconf::myparser (   input,
  parstag 
)

Definition at line 53 of file dbtoconf.py.

00054                            :
00055     if input.find(parstag)!=-1:
00056         first=input.split(parstag)
00057         second=first[1].split()
00058         out=second[0]
00059     else:
00060         out='-1'
00061     return out
00062 
# main start here

Variable Documentation

tuple dbtoconf::ACCOUNT = CONFIG.get('Common','Account')

Definition at line 15 of file dbtoconf.py.

list dbtoconf::account = []

Definition at line 80 of file dbtoconf.py.

tuple dbtoconf::AUTHPATH = ''

Definition at line 19 of file dbtoconf.py.

tuple dbtoconf::conf = open(CONFFILE,'w')
tuple dbtoconf::CONFFILE = CONFIG.get('Common','Confoutput')

Definition at line 18 of file dbtoconf.py.

tuple dbtoconf::CONFIG = ConfigParser.ConfigParser()

Definition at line 7 of file dbtoconf.py.

string dbtoconf::CONFIGFILE = 'dbtoconf.cfg'

Definition at line 6 of file dbtoconf.py.

tuple dbtoconf::CONNREP = ''

Definition at line 25 of file dbtoconf.py.

Definition at line 79 of file dbtoconf.py.

tuple dbtoconf::CONNSTRINGGLOBTAG = CONFIG.get('Common','Conn_string_gtag')

Definition at line 16 of file dbtoconf.py.

Definition at line 72 of file dbtoconf.py.

tuple dbtoconf::GLOBTAG = CONFIG.get('Common','Globtag')

Definition at line 17 of file dbtoconf.py.

list dbtoconf::label = []

Definition at line 81 of file dbtoconf.py.

list dbtoconf::leafnode = []

Definition at line 73 of file dbtoconf.py.

tuple dbtoconf::line = tmp.readline()

Definition at line 93 of file dbtoconf.py.

Definition at line 4 of file dbtoconf.py.

Definition at line 90 of file dbtoconf.py.

Referenced by TowerBlockFormatter::EndEvent().

Definition at line 71 of file dbtoconf.py.

list dbtoconf::object = []
tuple dbtoconf::out = myparser(line,'root:')

Definition at line 99 of file dbtoconf.py.

Referenced by SiStripNoises::allNoises(), SiStripPedestals::allPeds(), HLTAnalyzer::analyze(), BeamHaloAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), EwkMuLumiMonitorDQM::analyze(), Vx3DHLTAnalyzer::analyze(), ParticleListDrawer::analyze(), LaserSorter::analyze(), HLTBitAnalyzer::analyze(), MuonGeometrySVGTemplate::analyze(), SiStripSpyMonitorModule::analyze(), BeamHaloAnalyzer::BeamHaloAnalyzer(), SiStripShotFilter::beginJob(), RawToText::beginJob(), DQMMessageLogger::beginJob(), sistrip::SpyIdentifyRunsModule::beginJob(), CalibAnalyzer< Ref, Rec, Alg >::beginJob(), OutputDDToDDL::beginRun(), HepMCEventWriter::beginRun(), LHEWriter::beginRun(), BitArray< 9 >::byte(), DTTFBitArray< N >::byte(), LaserSorter::closeOutStream(), DCCTBBlockPrototype::compare(), DCCTBEventBlock::compare(), Comparison< Ref, RefQualifier, Rec, RecQualifier, Alg >::Comparison(), DDHCalBarrelAlgo::constructInsideSector(), stor::StorageManager::consumerListWebPage(), stor::StorageManager::consumerStatisticsPage(), smproxy::SMProxyServer::consumerStatisticsWebPage(), WebInterface::ContentsOpen(), edm::FileLocator::convert(), SiPixelTrackerMapCreator::create(), SiStripActionExecutor::createDummyShiftReport(), LaserSorter::createOutStream(), SiStripActionExecutor::createShiftReport(), PedeSteerer::createSteerFile(), smproxy::SMProxyServer::css(), stor::StorageManager::css(), evf::WebGUI::css(), evf::Css::css(), evf::FUResourceBroker::customWebPage(), evf::BU::customWebPage(), smproxy::SMProxyServer::dataRetrieverWebPage(), evf::WebGUI::debugWebPage(), ParticleDecayDrawer::decay(), WebInterface::Default(), dqm::StateMachine::Default(), evf::iDie::defaultWeb(), stor::StorageManager::defaultWebPage(), evf::FUEventProcessor::defaultWebPage(), smproxy::SMProxyServer::defaultWebPage(), evf::WebGUI::defaultWebPage(), fftjetcms::densePeakTreeToStorable(), PhysicsTools::VarProcessor::deriv(), evf::iDie::detailsTable(), dqm::StateMachine::dispatch(), EmDQMPostProcessor::dividehistos(), TT6CommonModeCalculator::doIt(), MedianCommonModeCalculator::doIt(), smproxy::SMProxyServer::dqmEventStatisticsWebPage(), stor::StorageManager::dqmEventStatisticsWebPage(), WebInterface::DrawGif(), PFDisplacedVertexHelper::TracksSelector::Dump(), PFDisplacedVertexHelper::VertexIdentifier::Dump(), edm::ProcessDesc::dump(), evf::dumpFrame(), DumpGctDigis::DumpGctDigis(), PrintGeomInfoAction::dumpLV(), evf::iDie::dumpTable(), InvRingCalib::duringLoop(), EcalEleCalibLooper::EcalEleCalibLooper(), EcalTPGParamBuilder::EcalTPGParamBuilder(), CSCEfficiency::efficienciesPerChamber(), PhiSymmetryCalibration_step2_SM::endJob(), MuonTrackAnalyzer::endJob(), MuonTrackResidualAnalyzer::endJob(), sistrip::SpyExtractRunModule::endJob(), GlobalTrackerMuonAlignment::endJob(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration::endJob(), testChannel::endJob(), EcalStatusAnalyzer::endJob(), InvRingCalib::endOfLoop(), MuonTrackValidator::endRun(), fit::RootMinuitCommands< Function >::errorHeader(), MultiFileBlob::expand(), dqm::StateMachine::failurePage(), stor::StorageManager::fileStatisticsWebPage(), MultiFileBlob::finalized(), DivisiveVertexFinder::findVertexesAlt(), GctDigiToPsbText::GctDigiToPsbText(), getAnyHisto(), HLTTauDQMSource::getFilterCollection(), HLTTauDQMLitePathPlotter::getFilterCollection(), HLTTauDQMPathPlotter::getFilterCollection(), getHisto(), getHisto2(), getHistoTH3F(), getHistoTProfile(), getHistoTProfile2D(), HcalO2OManager::getListOfNewIovs_test(), popcon::EcalChannelStatusHandler::getNewObjects(), HLTTauDQMLitePathPlotter::getObjectCollection(), DQMProvInfo::getShowTags(), getTH1F(), getTH2F(), getTH3F(), getTProfile(), getTProfile2D(), MELaserPrim::getViewIds(), WebInterface::handleRequest(), WebInterface::handleStandardRequest(), evf::iDie::iChoke(), MaterialAccountingGroup::info(), EcalSelectiveReadoutValidation::initAsciiFile(), FRDEventFileWriter::initialize(), ThePEGInterface::initRepository(), FileToolKit::InsertLineAfter(), FileToolKit::InsertLineBefore(), fastmath::invSqrt(), SurveyAlignment::iterate(), L1Comparator::L1Comparator(), LaserSorter::LaserSorter(), stor::SharedResources::localDebug(), main(), HCAL_HLX::ROOTFileWriter::MakeBranch(), FileToolKit::MakeEmptyWebPage(), edmtest::makeFile(), MatacqProducer::MatacqProducer(), HLTTauDQML1Plotter::match(), HLTTauDQMLitePathPlotter::match(), MaterialBudgetTxt::MaterialBudgetTxt(), MuonTrackAnalyzer::MuonTrackAnalyzer(), MuonTrackResidualAnalyzer::MuonTrackResidualAnalyzer(), EcalRawToRecHitRoI::OneCandCollection(), MEChannel::oneLine(), MEChannel::oneWord(), WebInterface::Open(), stor::DbFileHandler::openFile(), reco::operator<<(), triggerExpression::operator<<(), operator<<(), GenParticlesHelper::operator<<(), pat::operator<<(), stor::XHTMLMaker::out(), evf::FUEventProcessor::pathNames(), SiStripInformationExtractor::plotHistosFromLayout(), reco::TrackJet::print(), reco::JPTJet::print(), sipixelobjects::PixelFEDLink::print(), SiPixelFedCablingTree::print(), sipixelobjects::PixelROC::print(), reco::print(), reco::CaloJet::print(), sipixelobjects::PixelFEDCabling::print(), magfieldparam::rz_harm_poly::Print(), reco::PFJet::print(), reco::GenJet::print(), reco::BasicJet::print(), TrackerMap::print(), reco::Jet::print(), reco::GenericJet::print(), reco::PFClusterJet::print(), TrackerMap::printall(), magfieldparam::HarmBasis3DCyl::PrintBphiB(), magfieldparam::BFit3D::PrintBphiPoly(), magfieldparam::HarmBasis3DCyl::PrintBrB(), magfieldparam::BFit3D::PrintBrPoly(), magfieldparam::HarmBasis3DCyl::PrintBzB(), magfieldparam::BFit3D::PrintBzPoly(), DisplayManager::printDisplay(), sipixelobjects::PixelFEDLink::printForMap(), reco::CaloCluster::printHitAndFraction(), TrackerMap::printlayers(), magfieldparam::rz_harm_poly::PrintLM(), TrackerMap::printonline(), magfieldparam::BFit3D::PrintPoly(), magfieldparam::HarmBasis3DCyl::PrintPtB(), magfieldparam::BFit3D::PrintPtnPoly(), PFRootEventManager::printRecHits(), SideBandSubtract::printResults(), EcalFenixEtTot::process(), smproxy::SMProxyServer::processConsumerEventRequest(), stor::StorageManager::processConsumerEventRequest(), stor::StorageManager::processConsumerHeaderRequest(), smproxy::SMProxyServer::processConsumerHeaderRequest(), stor::StorageManager::processConsumerRegistrationRequest(), smproxy::SMProxyServer::processConsumerRegistrationRequest(), smproxy::SMProxyServer::processDQMConsumerEventRequest(), stor::StorageManager::processDQMConsumerEventRequest(), stor::StorageManager::processDQMConsumerRegistrationRequest(), smproxy::SMProxyServer::processDQMConsumerRegistrationRequest(), CosmicsMuonIdProducer::produce(), PFTauViewRefMerger::produce(), CaloMuonMerger::produce(), Timer::produce(), reco::modules::CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup, Init >::produce(), GenParticlePruner::produce(), ElectronIDExternalProducer< algo >::produce(), MuonSelectionTypeValueMapProducer::produce(), CandViewRefMerger::produce(), reco::modules::NamedCandCombiner< Selector, PairSelector, Cloner, Setup, Init >::produce(), L1CaloEtScale::rank(), L1CaloEcalScale::rank(), L1CaloHcalScale::rank(), stor::StorageManager::rbsenderDetailWebPage(), stor::StorageManager::rbsenderWebPage(), RctDigiToRctText::RctDigiToRctText(), RctDigiToSourceCardText::RctDigiToSourceCardText(), BitArray< 9 >::read(), DTTFBitArray< N >::read(), MillePedeAlignmentAlgorithm::readFromPede(), evf::FUEventProcessor::receivingAndMonitor(), cond::IOVEditor::reportError(), TrackerMap::save(), TrackerMap::save_as_fectrackermap(), TrackerMap::save_as_fedtrackermap(), TrackerMap::save_as_HVtrackermap(), TrackerMap::save_as_psutrackermap(), matrixSaver::saveMatrix(), matrixSaver::saveMatrixVector(), edm::service::RandomNumberGeneratorService::saveStatesToFile(), evf::FUEventProcessor::scalersWeb(), gen::Pythia6Service::setSLHAFromHeader(), EcalGeomPhiSymHelper::setup(), SimHitPrinter::SimHitPrinter(), SiStripSpyMonitorModule::SiStripSpyMonitorModule(), ME::smName(), MEEEGeom::smName(), MEEBGeom::smName(), evf::FUEventProcessor::spotlightWebPage(), StandAloneMuonTrajectoryBuilder::StandAloneMuonTrajectoryBuilder(), dqm::StateMachine::statePage(), stor::StorageManager::storedDataWebPage(), HLTLogMonitorFilter::summary(), evf::iDie::summaryTable(), ThePEGInterface::ThePEGInterface(), stor::StorageManager::throughputWebPage(), HCAL_HLX::TimeStamp::TimeStampYYYYMMDD(), TkSimHitPrinter::TkSimHitPrinter(), TrackerDpgAnalysis::toStringId(), TrackerDpgAnalysis::toStringName(), NoiseTask::update(), evf::iDie::updater(), TrackHistoryAnalyzer::vertexString(), VertexHistoryAnalyzer::vertexString(), evf::BU::webPageRequest(), evf::FUResourceBroker::webPageRequest(), FileBlob::write(), sistrip::EnsembleCalibrationLA::write_calibrations(), sistrip::EnsembleCalibrationLA::write_ensembles_text(), sistrip::MeasureLA::write_report_text(), sistrip::MeasureLA::write_report_text_ms(), pos::PixelPortcardMap::writeASCII(), pos::PixelGlobalDelay25::writeASCII(), pos::PixelNameTranslation::writeASCII(), pos::PixelLTCConfig::writeASCII(), pos::PixelTrimCommon::writeASCII(), pos::PixelDACSettings::writeASCII(), pos::PixelDelay25Calib::writeASCII(), pos::PixelTKFECConfig::writeASCII(), pos::PixelFECConfig::writeASCII(), pos::PixelTBMSettings::writeASCII(), pos::PixelTrimAllPixels::writeASCII(), pos::PixelPortCardConfig::writeASCII(), pos::PixelMaxVsf::writeASCII(), pos::PixelMaskAllPixels::writeASCII(), pos::PixelLowVoltageMap::writeASCII(), pos::PixelFEDConfig::writeASCII(), pos::PixelDetectorConfig::writeASCII(), pos::PixelCalibConfiguration::writeASCII(), pos::PixelTrimAllPixels::writeBinary(), pos::PixelTBMSettings::writeBinary(), pos::PixelMaskAllPixels::writeBinary(), pos::PixelDACSettings::writeBinary(), DTFineDelayCorr::writeConsts(), LaserSorter::writeEvent(), pos::PixelAliasList::writefile(), pos::PixelConfigList::writefile(), FitHist::writeFitOutput(), HIPAlignmentAlgorithm::writeIterationFile(), CompHist::writeOutput(), UEAnalysisUE::writeToFile(), pos::PixelNameTranslation::writeXML(), pos::PixelDetectorConfig::writeXML(), EcalADCToGeVXMLTranslator::writeXML(), EcalTBWeightsXMLTranslator::writeXML(), EcalLaserAPDPNRatiosXMLTranslator::writeXML(), EcalWeightGroupXMLTranslator::writeXML(), EcalDAQTowerStatusXMLTranslator::writeXML(), EcalPedestalsXMLTranslator::writeXML(), EcalDCSTowerStatusXMLTranslator::writeXML(), EcalChannelStatusXMLTranslator::writeXML(), pos::PixelFEDCard::writeXML(), EcalGainRatiosXMLTranslator::writeXML(), EcalWeightSetXMLTranslator::writeXML(), EcalFloatCondObjectContainerXMLTranslator::writeXML(), and HtrXmlPatternTool::writeXML().

string dbtoconf::outline = ' '

Definition at line 196 of file dbtoconf.py.

list dbtoconf::parent = []

Definition at line 74 of file dbtoconf.py.

Referenced by ViewerParameterGUI::addFrameToContainer(), ViewerParameterGUI::addParam(), FWGUIEventFilter::addSelector(), FBaseSimEvent::addSimTrack(), FWPSetTableManager::applyEditor(), gen::Pythia6Gun::attachPy6DecaysToGenEvent(), PhysicalPartsTree::beginRun(), CSCPairResidualsConstraint::configure(), DDHCalEndcapAlgo::constructGeneralVolume(), DDHCalBarrelAlgo::constructGeneralVolume(), PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >::Factory::create(), HcalHotCellDbInterface::createDataset(), HcalHLXMaskDbInterface::createDataset(), HcalDQMDbInterface::createFooter(), HcalHotCellDbInterface::createHeader(), HcalHLXMaskDbInterface::createHeader(), CSCTriggerContainer< T >::CSCTriggerContainer(), DDEcalPreshowerAlgo::doLayers(), DDEcalPreshowerAlgoTB::doLayers(), DDTECModuleAlgo::doPos(), DDEcalPreshowerAlgoTB::doWedges(), ProvenanceDumper::dumpProcessHistory_(), FWDialogBuilder::endTab(), DDTrackerZPosAlgo::execute(), DDPixFwdBlades::execute(), DDTBH4Algo::execute(), DDTECAxialCableAlgo::execute(), DDHCalAngular::execute(), DDHCalXtalAlgo::execute(), DDHCalTBCableAlgo::execute(), DDTOBRadCableAlgo::execute(), DDHCalTBZposAlgo::execute(), DDTECPhiAltAlgo::execute(), DDTECOptoHybAlgo::execute(), DDTIBLayerAlgo_MTCC::execute(), DDTrackerLinearXY::execute(), DDEcalBarrelNewAlgo::execute(), DDPixBarLayerAlgo::execute(), DDTOBRodAlgo::execute(), DDTIDModuleAlgo::execute(), DDHCalTestBeamAlgo::execute(), DDEcalBarrelAlgo::execute(), DDTrackerXYZPosAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTECModuleAlgo::execute(), DDTrackerLinear::execute(), DDHCalLinearXY::execute(), DDTIBLayerAlgo::execute(), DDEcalAPDAlgo::execute(), DDTOBAxCableAlgo::execute(), DDTIDRingAlgo::execute(), DDTIDModulePosAlgo::execute(), DDTrackerPhiAlgo::execute(), DDTrackerAngular::execute(), DDHCalForwardAlgo::execute(), DDHCalFibreBundle::execute(), DDTECPhiAlgo::execute(), DDTECCoolAlgo::execute(), DDTIBRadCableAlgo_MTCC::execute(), SimTrackManager::getOrCreateVertex(), graph_combine(), FWGeometryTableManager::importChildren(), FWLayoutBuilder::indent(), DDTIDAxialCableAlgo::initialize(), DDTECPhiAltAlgo::initialize(), DDTIBRadCableAlgo_MTCC::initialize(), DDTOBAxCableAlgo::initialize(), DDHCalLinearXY::initialize(), DDTOBRodAlgo::initialize(), DDTIBLayerAlgo_MTCC::initialize(), DDTrackerAngular::initialize(), DDEcalBarrelAlgo::initialize(), DDTrackerPhiAltAlgo::initialize(), DDTECOptoHybAlgo::initialize(), DDHCalTestBeamAlgo::initialize(), DDHCalFibreBundle::initialize(), DDTrackerLinearXY::initialize(), DDTOBRadCableAlgo::initialize(), DDTECCoolAlgo::initialize(), DDTIDRingAlgo::initialize(), DDTECModuleAlgo::initialize(), DDHCalXtalAlgo::initialize(), DDTrackerPhiAlgo::initialize(), DDTIDModulePosAlgo::initialize(), DDTECPhiAlgo::initialize(), DDHCalEndcapAlgo::initialize(), DDEcalAPDAlgo::initialize(), DDTrackerLinear::initialize(), DDTIDModuleAlgo::initialize(), DDPixBarLayerAlgo::initialize(), DDHCalTBCableAlgo::initialize(), DDEcalEndcapAlgo::initialize(), DDTrackerXYZPosAlgo::initialize(), DDTECAxialCableAlgo::initialize(), DDEcalBarrelNewAlgo::initialize(), DDTrackerZPosAlgo::initialize(), DDTIBLayerAlgo::initialize(), DDHCalForwardAlgo::initialize(), DDHCalBarrelAlgo::initialize(), DDHCalTBZposAlgo::initialize(), DDHCalAngular::initialize(), edm::BranchChildren::insertChild(), ThePEG::HepMCConverter< HepMCEventT, Traits >::join(), FWPFCandidatesLegoProxyBuilder::localModelChanges(), OptOSensor2D::makeMeasurement(), graphwalker< N, E >::next(), spr::parentSimTrack(), FWTriggerTableView::populateController(), CocoaAnalyzer::ReadXMLFile(), gen::Pythia6Hadronizer::residualDecay(), SimTrackManager::saveTrackAndItsBranch(), DTBtiTrig::setParent(), DTTracoTrig::setParent(), spr::validSimTrack(), EntryLengthAffCentre::valueDisplaced(), EntryAngleAffAngles::valueDisplaced(), TrackClassifier::vertexInformation(), and FWProxyBuilderBase::Product::~Product().

list dbtoconf::pfn = []

Definition at line 76 of file dbtoconf.py.

Referenced by cond::PfnEditor::operator()().

list dbtoconf::record = []

Definition at line 78 of file dbtoconf.py.

list dbtoconf::tag = []

Definition at line 75 of file dbtoconf.py.

tuple dbtoconf::TAGREP = ''

Definition at line 31 of file dbtoconf.py.

string dbtoconf::tagtree_cmd = 'cmscond_tagtree_list -c '

Definition at line 84 of file dbtoconf.py.

tuple dbtoconf::tmp = open(TMPTAG,'r')

Definition at line 91 of file dbtoconf.py.

string dbtoconf::TMPTAG = 'tmptag.list'

Definition at line 50 of file dbtoconf.py.