CMS 3D CMS Logo

Variables

convertSQLiteXML Namespace Reference

Variables

string action = "store_true"
 default = False,
string dest = "noChambers"
tuple exit_code = os.system("cmsRun tmp_converter_cfg.py")
 gprcd = options.gprcd
 gprcdconnect = options.gprcdconnect
string help = "if present, no chambers info would be written into xml"
 ok = False
tuple parser = optparse.OptionParser(usage)
list prog = sys.argv[0]
 relativeTo = options.relativeTo
 runNumber = options.runNumber
string supChambers = "False"
string supLayers = "False"
string supRings = "True"
list theInputFile = sys.argv[1]
list theOutputFile = sys.argv[2]
string type = "string"
string usage

Variable Documentation

string convertSQLiteXML::action = "store_true"

Definition at line 37 of file convertSQLiteXML.py.

string convertSQLiteXML::default = False,

Definition at line 38 of file convertSQLiteXML.py.

string convertSQLiteXML::dest = "noChambers"

Definition at line 39 of file convertSQLiteXML.py.

tuple convertSQLiteXML::exit_code = os.system("cmsRun tmp_converter_cfg.py")

Definition at line 147 of file convertSQLiteXML.py.

convertSQLiteXML::gprcd = options.gprcd

Definition at line 92 of file convertSQLiteXML.py.

convertSQLiteXML::gprcdconnect = options.gprcdconnect

Definition at line 91 of file convertSQLiteXML.py.

string convertSQLiteXML::help = "if present, no chambers info would be written into xml"

Definition at line 36 of file convertSQLiteXML.py.

Definition at line 97 of file convertSQLiteXML.py.

Referenced by TFileDirectory::_cd(), helper::ScannerBase::addExpression(), helper::ScannerBase::addExtraCut(), CSCSegAlgoTC::addHit(), CSCSegAlgoDF::addHit(), CSCSegAlgoShowering::addHit(), IsolatedGenParticles::analyze(), EcalTPGParamBuilder::analyze(), TAPDPulse::areFitSamplesOK(), TAPDPulse::arePulseRatioOK(), CastorDbService::buildCalibrations(), HcalDbService::buildCalibrations(), CastorDbService::buildCalibWidths(), HcalDbService::buildCalibWidths(), TT6ApvMask::calculateMask(), TrackCleaner::canBeMerged(), HcalNumberingFromDDD::cell(), spr::chargeIsolationCone(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), ora::MappingToSchema::check(), TrackWithHistory::checkAtEnd(), FWGeometryTableManager::checkHierarchy(), utils::checkModel(), SimpleCosmicBONSeeder::checkNoisyModules(), HLTDisplacedmumuVtxProducer::checkPreviousCand(), CheckOverlap::checkPV(), MuonResidualsFromTrack::choleskyCorrMatrix(), TrackCleaner::cleanTracks(), TrajectoryStateCombiner::combine(), L1Comparator::compareCollections(), L1Comparator::compareFedRawCollections(), CSCSegAlgoDF::compareProtoSegment(), CSCSegAlgoTC::compareProtoSegment(), CSCSegAlgoSK::compareProtoSegment(), CSCSegAlgoShowering::compareProtoSegment(), LowPtClusterShapeSeedComparitor::compatible(), MuonResidualsFromTrack::corrMatrix(), HcalTopology::decIPhi(), DisplayManager::displayNextInteresting(), DEcompare< T >::do_compare(), FitterAlgoBase::doFit(), cmsmath::SequentialMinimizer::doFullMinim(), MultiDimFit::doGrid(), MultiDimFit::doRandomPoints(), spr::eECALmatrix(), LMFDat::fetch(), HcalDDDGeometryLoader::fill(), pftools::Calibratable::fillCaloWindow(), FitterAlgoBase::findCrossing(), Asymptotic::findExpectedLimitFromCrossing(), ora::RelationalBuffer::flush(), MuonSeedBuilder::foundMatchingSegment(), edm::Event::get(), MEEEGeom::getBoundary(), edm::Event::getByLabel(), edm::Event::getByType(), pftools::LinearCalibrator::getCalibrationCoefficientsCore(), EcalBarrelGeometry::getCells(), PerformancePayloadFromBinnedTFormula::getFormula(), ZdcSD::getFromLibrary(), HCalSD::getFromLibrary(), CastorSD::getFromLibrary(), HFShowerParam::getHits(), HFShower::getHits(), MEChannel::getListOfChannels(), HcalTB06BeamSD::getNames(), MaterialBudgetHcalHistos::getNames(), HCalSD::getNames(), CaloGeometry::getSubdetectorGeometry(), CaloSubdetectorGeometry::getSummary(), cond::MetaData::getToken(), CaloGeometry::getValidDetIds(), HcalTopology::incIPhi(), CSCSegAlgoTC::increaseProtoSegment(), CSCSegAlgoSK::increaseProtoSegment(), HcalNumberingFromDDD::initialize(), HistoShifter::insertAndShift(), CaloTrkProcessing::isItCalo(), CaloTrkProcessing::isItInside(), TAPDPulse::isPulseOK(), TAPDPulse::isPulseRatioMaxOK(), TAPDPulse::isPulseRatioMinOK(), CSCSegAlgoSK::isSegmentGood(), TAPDPulse::isTimingOK(), TAPDPulse::isTimingQualOK(), SteppingAction::killLowEnergy(), GlobalTrackQualityProducer::kink(), cond::PayloadProxy< cond::KeyList >::load(), cond::PayloadRef< std::vector< cond::Time_t > >::load(), cond::PayLoadInspector< DataT >::load(), cond::BasePayloadProxy::make(), JetPlusTrackCorrector::matchTracks(), MaterialEffectsUpdator::newArguments(), MixCollection< T >::MixItr::next(), CondIter< T >::next(), TFitConstraintM::OnList(), TEcnaRootFile::OpenR(), TEcnaRootFile::OpenW(), CombinedSVComputer::operator()(), HIPixelTrackFilter::operator()(), GhostTrackComputer::operator()(), PFAlgoTestBenchElectrons::processBlock(), MuonsFromRefitTracksProducer::produce(), reco::modules::CosmicTrackSelector::produce(), edm::PomwigProducer::produce(), RecHitCorrector::produce(), JetPlusTrackProducerAA::produce(), reco::modules::AnalyticalTrackSelector::produce(), L1Comparator::produce(), reco::modules::MultiTrackSelector::produce(), JetPlusTrackProducer::produce(), CtfSpecialSeedGenerator::produce(), TrackProducerWithSCAssociation::produce(), PixelVertexProducer::produce(), cond::EmptyIOVSource::produce(), ZmumuPFEmbedder::produceTrackColl(), spr::propagateTrackerEnd(), TEcnaRootFile::ReadElement(), TEcnaRootFile::ReadElementNextEntryNumber(), EcalTPGParamBuilder::realignBaseline(), CtfSpecialSeedGenerator::run(), CaloSD::saveHit(), helper::ScannerBase::setCut(), reco::PFDisplacedVertexCandidate::setLink(), reco::PFBlock::setLink(), CaloGeometry::setSubdetGeometry(), PhysicsTools::LeastSquares::solveFisher(), pat::helper::BaseIsolator::test(), pftools::CaloBox::test(), TkStripMeasurementDet::testStrips(), TrackWithVertexSelector::testVertices(), cms::TrackListMerger::TrackListMerger(), HLTMuonIsoFilter::triggerdByPreviousLevel(), HLTMuonL1toL3TkPreFilter::triggeredAtL1(), HLTMuonTrimuonL3Filter::triggeredByLevel2(), CaloSD::update(), DTSegmentUpdator::updateHits(), SteppingAction::UserSteppingAction(), SiStripConfigDb::usingDatabase(), ZdcTopology::valid(), HcalTopology::valid(), HFDataFrame::validate(), HBHEDataFrame::validate(), HcalCalibDataFrame::validate(), HODataFrame::validate(), CastorDataFrame::validate(), ZDCDataFrame::validate(), HcalTopology::validRaw(), ZdcTopology::validRaw(), and LMFDat::writeDB().

tuple convertSQLiteXML::parser = optparse.OptionParser(usage)

Definition at line 33 of file convertSQLiteXML.py.

list convertSQLiteXML::prog = sys.argv[0]

Definition at line 5 of file convertSQLiteXML.py.

convertSQLiteXML::relativeTo = options.relativeTo

Definition at line 87 of file convertSQLiteXML.py.

convertSQLiteXML::runNumber = options.runNumber

Definition at line 90 of file convertSQLiteXML.py.

Referenced by stor::DataSenderMonitorCollection::addEventSample(), MatacqProducer::addMatacqData(), XmasToDQMEventInfo::analyze(), HFLightCalRand::analyze(), HcalIsoTrkAnalyzer::analyze(), Vx3DHLTAnalyzer::analyze(), L1GtPatternGenerator::analyze(), DTCreateSummaryHistos::analyze(), HFPreLightCal::analyze(), ValidIsoTrkCalib::analyze(), L1GtAnalyzer::analyzeTrigger(), edm::JobReport::JobReportImpl::associateInputLumiSection(), edm::JobReport::JobReportImpl::associateInputRun(), edm::JobReport::JobReportImpl::associateLumiSection(), edm::JobReport::JobReportImpl::associateRun(), ValidIsoTrkCalib::beginJob(), HcalIsoTrkAnalyzer::beginJob(), L1RCTProducer::beginLuminosityBlock(), HLTMuonPlotter::beginRun(), SiStripCommissioningOfflineClient::beginRun(), L1RCTProducer::beginRun(), statemachine::AnotherLumi::checkInvariant(), statemachine::FirstLumi::checkInvariant(), statemachine::HandleEvent::checkInvariant(), statemachine::HandleNewInputFile3::checkInvariant(), statemachine::ContinueRun2::checkInvariant(), statemachine::ContinueLumi::checkInvariant(), stor::DbFileHandler::configure(), stor::Processing::do_processI2OFragment(), DTCreateSummaryHistos::endJob(), Vx3DHLTAnalyzer::endLuminosityBlock(), SiPixelHistoricInfoDQMClient::endRun(), evf::BU::generateEvent(), MatacqProducer::getMatacqFile(), L1RCTOmdsFedVectorProducer::produce(), MatacqProducer::produce(), EcalTBH2TDCRecInfoProducer::produce(), EcalTBH2TDCRecInfoAlgo::reconstruct(), stor::DiskWriterResources::requestStreamConfiguration(), evf::SMProxy::sendDataEvent(), evf::SMProxy::sendDqmEvent(), evf::SMProxy::sendErrorEvent(), ErrorStreamSource::setRunAndEventInfo(), SiPixelPerformanceSummary::setRunNumber(), evf::IPCMethod::setRunNumber(), FUShmReader::setRunNumber(), and UEAnalysisUE::writeToFile().

Definition at line 82 of file convertSQLiteXML.py.

string convertSQLiteXML::supLayers = "False"

Definition at line 84 of file convertSQLiteXML.py.

string convertSQLiteXML::supRings = "True"

Definition at line 80 of file convertSQLiteXML.py.

list convertSQLiteXML::theInputFile = sys.argv[1]

Definition at line 94 of file convertSQLiteXML.py.

list convertSQLiteXML::theOutputFile = sys.argv[2]

Definition at line 95 of file convertSQLiteXML.py.

string convertSQLiteXML::type = "string"

Definition at line 49 of file convertSQLiteXML.py.

Initial value:
00001 """%(prog)s INPUT_FILE OUTPUT_FILE [--noChambers] [--noLayers] [--ringsOnly] [--relativeTo ideal|none]
00002 
00003 performs either sqlite-->xml or xml-->sqlite conversion following the documentation at 
00004 https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideMuonGeometryConversion
00005 
00006 Arguments:
00007 
00008 INPUT_FILE      is either .db SQLite or .xml file that should be converted
00009 OUTPUT_FILE     is either .xml or .db output file, the result of conversion
00010 
00011 Options for sqlite-->xml conversion:
00012 
00013 --noChambers    if present, no chambers info would be written into xml
00014 --noLayers      if present, no layers (and no DT superlayers) info would be written into xml
00015 --relativeTo X  by default, xml conversion is done relative to ideal DDD description,
00016                 if "none" is specified, absolute positions would be written into xml
00017 --ringsOnly     special flag for xml dumping of CSC ring structure only, it automatically
00018                 turns off all DTs and also CSC's chambers and layers on output and coordinates
00019                 are relative "to none"
00020 --runNumber N   Use run #N to extract xml from necessary IOV
00021 """

Definition at line 7 of file convertSQLiteXML.py.