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(), BeamHaloAnalyzer::analyze(), HLTAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), ParticleListDrawer::analyze(), EwkMuLumiMonitorDQM::analyze(), Vx3DHLTAnalyzer::analyze(), LaserSorter::analyze(), MuonGeometrySVGTemplate::analyze(), HLTBitAnalyzer::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(), FFTJetPatRecoProducer::FFTJetPatRecoProducer(), 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::EcalSRPHandler::getNewObjects(), popcon::EcalChannelStatusHandler::getNewObjects(), HLTTauDQMLitePathPlotter::getObjectCollection(), DQMProvInfo::getShowTags(), getTH1F(), getTH2F(), getTH3F(), getTProfile(), getTProfile2D(), MELaserPrim::getViewIds(), WebInterface::handleRequest(), WebInterface::handleStandardRequest(), evf::iDie::iChoke(), evf::iDie::iChokeMiniInterface(), MaterialAccountingGroup::info(), EcalSelectiveReadoutValidation::initAsciiFile(), FRDEventFileWriter::initialize(), ThePEGInterface::initRepository(), FileToolKit::InsertLineAfter(), FileToolKit::InsertLineBefore(), fastmath::invSqrt(), SurveyAlignment::iterate(), L1Comparator::L1Comparator(), LaserSorter::LaserSorter(), stor::AlarmHandler::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<<(), operator<<(), triggerExpression::operator<<(), GenParticlesHelper::operator<<(), pat::operator<<(), stor::XHTMLMaker::out(), evf::FUEventProcessor::pathNames(), SiStripInformationExtractor::plotHistosFromLayout(), FastTimerService::postEndJob(), reco::TrackJet::print(), reco::JPTJet::print(), sipixelobjects::PixelFEDLink::print(), SiPixelFedCablingTree::print(), sipixelobjects::PixelROC::print(), reco::print(), magfieldparam::rz_harm_poly::Print(), reco::CaloJet::print(), sipixelobjects::PixelFEDCabling::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(), reco::modules::CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup, Init >::produce(), Timer::produce(), GenParticlePruner::produce(), ElectronIDExternalProducer< algo >::produce(), MuonSelectionTypeValueMapProducer::produce(), CandViewRefMerger::produce(), MuPFIsoEmbedder::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::iDie::spotlight(), 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(), EcalTimeOffsetXMLTranslator::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(), DDTBH4Algo::execute(), DDPixFwdBlades::execute(), DDHCalAngular::execute(), DDTECAxialCableAlgo::execute(), DDHCalTBCableAlgo::execute(), DDHCalXtalAlgo::execute(), DDHCalTBZposAlgo::execute(), DDTOBRadCableAlgo::execute(), DDLinear::execute(), DDTIBLayerAlgo_MTCC::execute(), DDTECOptoHybAlgo::execute(), DDTECPhiAltAlgo::execute(), DDEcalBarrelNewAlgo::execute(), DDTrackerLinearXY::execute(), DDPixBarLayerAlgo::execute(), DDEcalBarrelAlgo::execute(), DDHCalTestBeamAlgo::execute(), DDTIDModuleAlgo::execute(), DDTOBRodAlgo::execute(), DDTECModuleAlgo::execute(), DDTIDAxialCableAlgo::execute(), DDTrackerPhiAltAlgo::execute(), DDTrackerXYZPosAlgo::execute(), DDHCalLinearXY::execute(), DDTrackerLinear::execute(), DDEcalAPDAlgo::execute(), DDTIBLayerAlgo::execute(), DDTIDModulePosAlgo::execute(), DDTIDRingAlgo::execute(), DDTOBAxCableAlgo::execute(), DDHCalFibreBundle::execute(), DDHCalForwardAlgo::execute(), DDTrackerAngular::execute(), DDTrackerPhiAlgo::execute(), DDAngular::execute(), DDTIBRadCableAlgo_MTCC::execute(), DDTECCoolAlgo::execute(), DDTECPhiAlgo::execute(), SimTrackManager::getOrCreateVertex(), graph_combine(), FWGeometryTableManager::importChildren(), FWLayoutBuilder::indent(), DDTECPhiAltAlgo::initialize(), DDTIDAxialCableAlgo::initialize(), DDTIBRadCableAlgo_MTCC::initialize(), DDHCalLinearXY::initialize(), DDTOBAxCableAlgo::initialize(), DDAngular::initialize(), DDTIBLayerAlgo_MTCC::initialize(), DDTOBRodAlgo::initialize(), DDEcalBarrelAlgo::initialize(), DDTrackerAngular::initialize(), DDHCalFibreBundle::initialize(), DDHCalTestBeamAlgo::initialize(), DDTECOptoHybAlgo::initialize(), DDTrackerPhiAltAlgo::initialize(), DDTECCoolAlgo::initialize(), DDTOBRadCableAlgo::initialize(), DDTrackerLinearXY::initialize(), DDTECModuleAlgo::initialize(), DDTIDRingAlgo::initialize(), DDHCalXtalAlgo::initialize(), DDEcalAPDAlgo::initialize(), DDHCalEndcapAlgo::initialize(), DDTECPhiAlgo::initialize(), DDTIDModulePosAlgo::initialize(), DDTrackerPhiAlgo::initialize(), DDEcalEndcapAlgo::initialize(), DDHCalTBCableAlgo::initialize(), DDPixBarLayerAlgo::initialize(), DDTIDModuleAlgo::initialize(), DDTrackerLinear::initialize(), DDTECAxialCableAlgo::initialize(), DDTrackerXYZPosAlgo::initialize(), DDEcalBarrelNewAlgo::initialize(), DDHCalBarrelAlgo::initialize(), DDHCalForwardAlgo::initialize(), DDTIBLayerAlgo::initialize(), DDTrackerZPosAlgo::initialize(), DDLinear::initialize(), DDHCalAngular::initialize(), DDHCalTBZposAlgo::initialize(), edm::BranchChildren::insertChild(), ThePEG::HepMCConverter< HepMCEventT, Traits >::join(), FWPFCandidatesLegoProxyBuilder::localModelChanges(), FWCandidateLegoProxyBuilder::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.