CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 38 of file convertSQLiteXML.py.

string convertSQLiteXML.default = False,

Definition at line 39 of file convertSQLiteXML.py.

string convertSQLiteXML.dest = "noChambers"

Definition at line 40 of file convertSQLiteXML.py.

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

Definition at line 148 of file convertSQLiteXML.py.

convertSQLiteXML.gprcd = options.gprcd

Definition at line 93 of file convertSQLiteXML.py.

convertSQLiteXML.gprcdconnect = options.gprcdconnect

Definition at line 92 of file convertSQLiteXML.py.

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

Definition at line 37 of file convertSQLiteXML.py.

convertSQLiteXML.ok = False

Definition at line 98 of file convertSQLiteXML.py.

Referenced by TFileDirectory._cd(), helper::ScannerBase.addExpression(), helper::ScannerBase.addExtraCut(), CSCSegAlgoShowering.addHit(), CSCSegAlgoTC.addHit(), PrimaryVertexMonitor.analyze(), HGcalHitIdCheck.analyze(), RecAnalyzerHF.analyze(), HcalTestNumberingTester.analyze(), HGCalRecHitValidation.analyze(), StudyCaloGen.analyze(), L1TPhase2CorrelatorOffline.analyze(), AnalyzerMinbias.analyze(), RecAnalyzerMinbias.analyze(), EcalTPGParamBuilder.analyze(), HcalIsoTrkSimAnalyzer.analyze(), StudyCaloResponse.analyze(), HcalIsoTrkAnalyzer.analyze(), IsolatedGenParticles.analyze(), PrimaryVertexAnalyzer4PUSlimmed.analyze(), TAPDPulse.areFitSamplesOK(), TAPDPulse.arePulseRatioOK(), IsoTrackCalib.beginRun(), HistogramManager.book(), HcalParametersFromDD.build(), FastTimeParametersFromDD.build(), HGCalParametersFromDD.build(), HGCalGeometryLoader.build(), MTDParametersFromDD.build(), CastorDbService.buildCalibrations(), HcalDbService.buildCalibrations(), CastorDbService.buildCalibWidths(), HcalDbService.buildCalibWidths(), VectorHitBuilderAlgorithm.buildVectorHit(), TT6ApvMask.calculateMask(), TrackCleaner.canBeMerged(), HcalDDDSimConstants.cell(), spr.chargeIsolationCone(), spr.chargeIsolationEcal(), spr.chargeIsolationGenCone(), spr.chargeIsolationGenEcal(), spr.chargeIsolationHcal(), HcalDataFrameFilter_impl.check< QIE10DataFrame >(), CACell.checkAlignmentAndAct(), TrackWithHistory.checkAtEnd(), HGCDoublet.checkCompatibilityAndTag(), FWGeometryTableManager.checkHierarchy(), SimpleCosmicBONSeeder.checkNoisyModules(), HFNoseNumberingScheme.checkPosition(), HGCalNumberingScheme.checkPosition(), HGCDigitizer.checkPosition(), HLTDisplacedmumumuVtxProducer.checkPreviousCand(), HLTDisplacedmumuVtxProducer.checkPreviousCand(), HLTDisplacedtktktkVtxProducer.checkPreviousCand(), HLTDisplacedtktkVtxProducer.checkPreviousCand(), HLTmumutktkVtxProducer.checkPreviousCand(), HLTmumutkVtxProducer.checkPreviousCand(), CheckOverlap.checkPV(), TripletFilter.checkTrack(), MuonResidualsFromTrack.choleskyCorrMatrix(), TrackCleaner.cleanTracks(), TrajectoryStateCombiner.combine(), HcalTestNS.compare(), CSCSegAlgoShowering.compareProtoSegment(), CSCSegAlgoTC.compareProtoSegment(), CSCSegAlgoDF.compareProtoSegment(), CSCSegAlgoSK.compareProtoSegment(), CSCSegAlgoRU.compareProtoSegment(), LowPtClusterShapeSeedComparitor.compatible(), MuonPathAssociator.correlateMPaths(), MuonResidualsFromTrack.corrMatrix(), CSCSegFit.covarianceMatrix(), MuonSegFit.covarianceMatrix(), GEMCSCSegFit.covarianceMatrix(), PFAlgo.createCandidatesHCAL(), tensorflow.createSession(), CTPPSDetId.CTPPSDetId(), CTPPSDiamondDetId.CTPPSDiamondDetId(), HcalTopology.decIPhi(), DEcompare< T >.do_compare(), spr.eECALmatrix(), LMFDat.fetch(), CombinedSVComputer.fillCommonVariables(), reco::HcalNoiseInfoProducer.filldigis(), AlCaHcalHEMuonFilter.filter(), AlCaHcalHBHEMuonFilter.filter(), AlCaLowPUHBHEMuonFilter.filter(), AlCaHBHEMuonFilter.filter(), AlCaHEMuonFilter.filter(), CSCCondSegFit.fit(), CSCSegFit.fitlsq(), MuonSegFit.fitlsq(), GEMCSCSegFit.fitlsq(), MuonSeedBuilder.foundMatchingSegment(), MEEEGeom.getBoundary(), EcalBarrelGeometry.getCells(), PerformancePayloadFromBinnedTFormula.getFormula(), ZdcSD.getFromLibrary(), HFShower.getHits(), HFShowerParam.getHits(), cond::persistency::IOVProxy.getLast(), CommonAnalyzer.getList(), MEChannel.getListOfChannels(), HcalSimParametersFromDD.getNames(), HcalTB06BeamParametersFromDD.getNames(), CommonAnalyzer.getObject(), CaloGeometry.getSubdetectorGeometry(), CaloTowerGeometry.getSummary(), CaloSubdetectorGeometry.getSummary(), HcalGeometry.getSummary(), HGCalWaferType.getType(), CaloGeometry.getValidDetIds(), HGCalWaferMask.goodTypeMode(), HcalDDDSimConstants.HcalCellTypes(), HOSimHitStudy.HOSimHitStudy(), HcalTopology.incIPhi(), CSCSegAlgoTC.increaseProtoSegment(), CSCSegAlgoSK.increaseProtoSegment(), CSCSegAlgoRU.increaseProtoSegment(), CTPPSPixelDetId.init(), HistoShifter.insertAndShift(), cond::persistency::IOVProxy.iovSequenceInfo(), CaloTrkProcessing.isItCalo(), CaloSD.isItFineCalo(), CaloTrkProcessing.isItInside(), TAPDPulse.isPulseOK(), TAPDPulse.isPulseRatioMaxOK(), TAPDPulse.isPulseRatioMinOK(), CSCSegAlgoSK.isSegmentGood(), CSCSegAlgoRU.isSegmentGood(), TAPDPulse.isTimingOK(), TAPDPulse.isTimingQualOK(), PPSFilteredProtonProducer.IsTrackOK(), HGCalDetId.isValid(), FastTimeDDDConstants.isValidXY(), GlobalTrackQualityProducer.kink(), l1tpf_impl::PFAlgo2HGC.link_tk2mu(), l1tpf_impl::PFAlgo3.link_tk2mu(), dqmservices::DQMProtobufReader.load(), HGCalGeomParameters.loadCellParsHexagon(), HGCalGeomParameters.loadGeometryHexagon(), HGCalGeomParameters.loadWaferHexagon8(), JetPlusTrackCorrector.matchTracks(), HcalDDDSimConstants.maxHFDepth(), PSFitter::HybridMinimizer.Minimize(), MixCollection< T >::MixItr.next(), TFitConstraintM.OnList(), TEcnaRootFile.OpenR(), TEcnaRootFile.OpenW(), DistanceToCell.operator()(), GhostTrackComputer.operator()(), HIPixelTrackFilter.operator()(), ClusterShapeTrackFilter.operator()(), pat::TriggerObjectStandAlone.packPathNames(), HcalElectronicsSim.premix(), dqm::implementation::DQMStore.printTrace(), TrackProducerWithSCAssociation.produce(), CosmicTrackSelector.produce(), PixelVertexProducer.produce(), JetPlusTrackProducer.produce(), RecHitCorrector.produce(), CtfSpecialSeedGenerator.produce(), JetPlusTrackProducerAA.produce(), IsolatedPixelTrackCandidateProducer.produce(), IsolatedPixelTrackCandidateL1TProducer.produce(), MuonsFromRefitTracksProducer.produce(), AlCaHcalHBHEMuonProducer.produce(), AlCaHcalIsotrkProducer.produce(), spr.propagateHCAL(), spr.propagateTrackerEnd(), TEcnaRootFile.ReadElement(), TEcnaRootFile.ReadElementNextEntryNumber(), EcalTPGParamBuilder.realignBaseline(), FastHFShowerLibrary.recoHFShowerLibrary(), MuonPathAssociator.removeSharingHits(), AnalyticalTrackSelector.run(), CtfSpecialSeedGenerator.run(), MultiTrackSelector.run(), HIMultiTrackSelector.run(), DAFTrackProducerAlgorithm.runWithCandidate(), CaloSD.saveHit(), AlCaGammaJetProducer.select(), AlCaHBHEMuonProducer.select(), AlCaGammaJetSelector.select(), AlCaIsoTracksProducer.select(), CSCCondSegFit.setChi2(), CSCSegFit.setChi2(), MuonSegFit.setChi2(), GEMCSCSegFit.setChi2(), helper::ScannerBase.setCut(), HCalSD.setDetUnitId(), reco::PFBlock.setLink(), reco::PFDisplacedVertexCandidate.setLink(), cond::EmptyIOVSource.setRunAndEventInfo(), QIE10DataFrame.setSample(), CaloGeometry.setSubdetGeometry(), pat::helper::BaseIsolator.test(), TkStripMeasurementDet.testStrips(), TrackWithVertexSelector.testVertices(), HGCalTileIndex.tileExist(), HGCalDDDConstants.tileExist(), TotemRPDetId.TotemRPDetId(), TotemTimingDetId.TotemTimingDetId(), TrackListMerger.TrackListMerger(), HLTMuonIsoFilter.triggerdByPreviousLevel(), HLTMuonL1toL3TkPreFilter.triggeredAtL1(), HLTMuonL1TtoL3TkPreFilter.triggeredAtL1(), HLTMuonTrimuonL3Filter.triggeredByLevel2(), HLTMuonL3PreFilter.triggeredByLevel2(), HLTMuonDimuonL3Filter.triggeredByLevel2(), DTSegmentUpdator.updateHits(), SiStripConfigDb.usingDatabase(), ZdcTopology.valid(), HcalCalibDataFrame.validate(), CastorDataFrame.validate(), ZDCDataFrame.validate(), HFDataFrame.validate(), HBHEDataFrame.validate(), HODataFrame.validate(), npstat::StorableHistoNDFunctor< Numeric, Axis, Converter >.validateInterDegree(), HcalTopology.validCalib(), PFHCALDenseIdNavigator< HcalDetId, HcalTopology, false >.validNeighbours(), ZdcTopology.validRaw(), HcalTopology.validRaw(), HGCalGeomTools.waferCorner(), CSCSegFit.weightMatrix(), MuonSegFit.weightMatrix(), GEMCSCSegFit.weightMatrix(), and LMFDat.writeDB().

tuple convertSQLiteXML.parser = optparse.OptionParser(usage)

Definition at line 34 of file convertSQLiteXML.py.

list convertSQLiteXML.prog = sys.argv[0]

Definition at line 6 of file convertSQLiteXML.py.

convertSQLiteXML.relativeTo = options.relativeTo

Definition at line 88 of file convertSQLiteXML.py.

convertSQLiteXML.runNumber = options.runNumber
string convertSQLiteXML.supChambers = "False"

Definition at line 83 of file convertSQLiteXML.py.

string convertSQLiteXML.supLayers = "False"

Definition at line 85 of file convertSQLiteXML.py.

string convertSQLiteXML.supRings = "True"

Definition at line 81 of file convertSQLiteXML.py.

list convertSQLiteXML.theInputFile = sys.argv[1]

Definition at line 95 of file convertSQLiteXML.py.

list convertSQLiteXML.theOutputFile = sys.argv[2]

Definition at line 96 of file convertSQLiteXML.py.

string convertSQLiteXML.type = "string"

Definition at line 50 of file convertSQLiteXML.py.

string convertSQLiteXML.usage
Initial value:
1 = """%(prog)s INPUT_FILE OUTPUT_FILE [--noChambers] [--noLayers] [--ringsOnly] [--relativeTo ideal|none]
2 
3 performs either sqlite-->xml or xml-->sqlite conversion following the documentation at
4 https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideMuonGeometryConversion
5 
6 Arguments:
7 
8 INPUT_FILE is either .db SQLite or .xml file that should be converted
9 OUTPUT_FILE is either .xml or .db output file, the result of conversion
10 
11 Options for sqlite-->xml conversion:
12 
13 --noChambers if present, no chambers info would be written into xml
14 --noLayers if present, no layers (and no DT superlayers) info would be written into xml
15 --relativeTo X by default, xml conversion is done relative to ideal DDD description,
16  if "none" is specified, absolute positions would be written into xml
17 --ringsOnly special flag for xml dumping of CSC ring structure only, it automatically
18  turns off all DTs and also CSC's chambers and layers on output and coordinates
19  are relative "to none"
20 --runNumber N Use run #N to extract xml from necessary IOV
21 """

Definition at line 8 of file convertSQLiteXML.py.