CMS 3D CMS Logo

Variables
convertSQLiteXML Namespace Reference

Variables

 action
 
 args
 
 default
 
 dest
 
 exit_code = os.system("cmsRun tmp_converter_cfg.py")
 
 gprcd = options.gprcd
 
 gprcdconnect = options.gprcdconnect
 
 help
 
bool ok = False
 
 options
 
 parser = optparse.OptionParser(usage)
 
 prog = sys.argv[0]
 
 relativeTo = options.relativeTo
 
 runNumber = options.runNumber
 
string supChambers = "False"
 
string supLayers = "False"
 
string supRings = "True"
 
 theInputFile = sys.argv[1]
 
 theOutputFile = sys.argv[2]
 
 type
 
string usage
 

Variable Documentation

convertSQLiteXML.action

Definition at line 37 of file convertSQLiteXML.py.

convertSQLiteXML.args

Definition at line 78 of file convertSQLiteXML.py.

convertSQLiteXML.default

Definition at line 38 of file convertSQLiteXML.py.

convertSQLiteXML.dest

Definition at line 39 of file convertSQLiteXML.py.

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.

convertSQLiteXML.help

Definition at line 36 of file convertSQLiteXML.py.

bool convertSQLiteXML.ok = False

Definition at line 97 of file convertSQLiteXML.py.

Referenced by TFileDirectory._cd(), helper::ScannerBase.addExpression(), helper::ScannerBase.addExtraCut(), CSCSegAlgoShowering.addHit(), CSCSegAlgoTC.addHit(), PrimaryVertexMonitor.analyze(), EcalTPGParamBuilder.analyze(), HGCalRecHitValidation.analyze(), AnalyzerMinbias.analyze(), StudyHLT.analyze(), IsolatedGenParticles.analyze(), PrimaryVertexAnalyzer4PUSlimmed.analyze(), TAPDPulse.areFitSamplesOK(), TAPDPulse.arePulseRatioOK(), IsoTrackCalib.beginRun(), HistogramManager.book(), HcalParametersFromDD.build(), HGCalParametersFromDD.build(), FastTimeParametersFromDD.build(), CastorDbService.buildCalibrations(), HcalDbService.buildCalibrations(), CastorDbService.buildCalibWidths(), HcalDbService.buildCalibWidths(), TT6ApvMask.calculateMask(), TrackCleaner.canBeMerged(), HcalDDDSimConstants.cell(), spr.chargeIsolationCone(), spr.chargeIsolationEcal(), spr.chargeIsolationHcal(), HcalDataFrameFilter_impl.check< QIE10DataFrame >(), CACell.checkAlignmentAndAct(), TrackWithHistory.checkAtEnd(), FWGeometryTableManager.checkHierarchy(), SimpleCosmicBONSeeder.checkNoisyModules(), HLTDisplacedmumumuVtxProducer.checkPreviousCand(), HLTDisplacedmumuVtxProducer.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(), EgammaTowerIsolationNew< NC >.compute(), MuonResidualsFromTrack.corrMatrix(), CSCSegFit.covarianceMatrix(), MuonSegFit.covarianceMatrix(), GEMCSCSegFit.covarianceMatrix(), CTPPSDetId.CTPPSDetId(), CTPPSDiamondDetId.CTPPSDiamondDetId(), HcalTopology.decIPhi(), DEcompare< T >.do_compare(), HitPairGeneratorFromLayerPair.doublets(), spr.eECALmatrix(), LMFDat.fetch(), pftools::Calibratable.fillCaloWindow(), CombinedSVComputer.fillCommonVariables(), AlCaHBHEMuonFilter.filter(), CSCCondSegFit.fit(), CSCSegFit.fitlsq(), MuonSegFit.fitlsq(), GEMCSCSegFit.fitlsq(), MuonSeedBuilder.foundMatchingSegment(), MEEEGeom.getBoundary(), pftools::LinearCalibrator.getCalibrationCoefficientsCore(), EcalBarrelGeometry.getCells(), PerformancePayloadFromBinnedTFormula.getFormula(), ZdcSD.getFromLibrary(), CastorSD.getFromLibrary(), HCalSD.getFromLibrary(), HFShower.getHits(), HFShowerParam.getHits(), cond::persistency::IOVProxy.getLast(), CommonAnalyzer.getList(), MEChannel.getListOfChannels(), HcalTB06BeamSD.getNames(), MaterialBudgetHcalHistos.getNames(), HCalSD.getNames(), CommonAnalyzer.getObject(), CaloGeometry.getSubdetectorGeometry(), CaloTowerGeometry.getSummary(), CaloSubdetectorGeometry.getSummary(), HcalGeometry.getSummary(), CaloGeometry.getValidDetIds(), HcalDDDSimConstants.HcalCellTypes(), HcalTopology.incIPhi(), CSCSegAlgoTC.increaseProtoSegment(), CSCSegAlgoSK.increaseProtoSegment(), CSCSegAlgoRU.increaseProtoSegment(), CTPPSPixelDetId.init(), HistoShifter.insertAndShift(), CaloTrkProcessing.isItCalo(), CaloTrkProcessing.isItInside(), TAPDPulse.isPulseOK(), TAPDPulse.isPulseRatioMaxOK(), TAPDPulse.isPulseRatioMinOK(), CSCSegAlgoSK.isSegmentGood(), CSCSegAlgoRU.isSegmentGood(), TAPDPulse.isTimingOK(), TAPDPulse.isTimingQualOK(), HGCalDDDConstants.isValid(), HGCalDetId.isValid(), HGCalDDDConstants.isValidCell(), FastTimeDDDConstants.isValidXY(), GlobalTrackQualityProducer.kink(), HGCalGeomParameters.loadCellParsHexagon(), HGCalGeomParameters.loadGeometryHexagon(), JetPlusTrackCorrector.matchTracks(), HcalDDDSimConstants.maxHFDepth(), PSFitter::HybridMinimizer.Minimize(), MixCollection< T >::MixItr.next(), TFitConstraintM.OnList(), TEcnaRootFile.OpenR(), TEcnaRootFile.OpenW(), HIPixelTrackFilter.operator()(), GhostTrackComputer.operator()(), ClusterShapeTrackFilter.operator()(), pat::TriggerObjectStandAlone.packPathNames(), HcalElectronicsSim.premix(), PFAlgo.processBlock(), TrackProducerWithSCAssociation.produce(), PixelVertexProducer.produce(), CosmicTrackSelector.produce(), JetPlusTrackProducer.produce(), IsolatedPixelTrackCandidateProducer.produce(), CtfSpecialSeedGenerator.produce(), IsolatedPixelTrackCandidateL1TProducer.produce(), RecHitCorrector.produce(), JetPlusTrackProducerAA.produce(), MuonsFromRefitTracksProducer.produce(), spr.propagateTrackerEnd(), TEcnaRootFile.ReadElement(), TEcnaRootFile.ReadElementNextEntryNumber(), EcalTPGParamBuilder.realignBaseline(), FastHFShowerLibrary.recoHFShowerLibrary(), 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(), CaloGeometry.setSubdetGeometry(), PhysicsTools::LeastSquares.solveFisher(), pat::helper::BaseIsolator.test(), pftools::CaloBox.test(), TkStripMeasurementDet.testStrips(), TrackWithVertexSelector.testVertices(), TotemRPDetId.TotemRPDetId(), reco::TrackExtra.TrackExtra(), TrackListMerger.TrackListMerger(), HLTMuonIsoFilter.triggerdByPreviousLevel(), HLTMuonL1toL3TkPreFilter.triggeredAtL1(), HLTMuonL1TtoL3TkPreFilter.triggeredAtL1(), HLTMuonTrimuonL3Filter.triggeredByLevel2(), HLTMuonL3PreFilter.triggeredByLevel2(), HLTMuonDimuonL3Filter.triggeredByLevel2(), CaloSD.update(), DTSegmentUpdator.updateHits(), SiStripConfigDb.usingDatabase(), ZdcTopology.valid(), HcalCalibDataFrame.validate(), CastorDataFrame.validate(), ZDCDataFrame.validate(), HBHEDataFrame.validate(), HFDataFrame.validate(), HODataFrame.validate(), npstat::StorableHistoNDFunctor< Numeric, Axis, Converter >.validateInterDegree(), HcalTopology.validHcal(), ZdcTopology.validRaw(), HcalTopology.validRaw(), HGCalDDDConstants.waferFromCopy(), CSCSegFit.weightMatrix(), MuonSegFit.weightMatrix(), GEMCSCSegFit.weightMatrix(), PosteriorWeightsCalculator.weights(), LMFDat.writeDB(), and HitPairGeneratorFromLayerPair.~HitPairGeneratorFromLayerPair().

convertSQLiteXML.options

Definition at line 78 of file convertSQLiteXML.py.

convertSQLiteXML.parser = optparse.OptionParser(usage)

Definition at line 33 of file convertSQLiteXML.py.

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 MatacqProducer.addMatacqData(), L1GtPatternGenerator.analyze(), Vx3DHLTAnalyzer.analyze(), ValidIsoTrkCalib.analyze(), L1GtAnalyzer.analyzeTrigger(), edm::JobReport::JobReportImpl.associateInputLumiSection(), edm::JobReport::JobReportImpl.associateInputRun(), edm::JobReport::JobReportImpl.associateLumiSection(), edm::JobReport::JobReportImpl.associateRun(), ValidIsoTrkCalib.beginJob(), L1RCTProducer.beginLuminosityBlock(), L1RCTProducer.beginRun(), HLTMuonPlotter.beginRun(), MillePedeAlignmentAlgorithm.beginRun(), EcalIsolationCorrector.correctForHLTDefinition(), EcalIsolationCorrector.correctForNoise(), correctionCategory_class.correctionCategory_class(), EcalCondDBReader.EcalCondDBReader(), ElectronEnergyCalibratorRun2.ElectronEnergyCalibratorRun2(), Vx3DHLTAnalyzer.endLuminosityBlock(), EnergyScaleCorrection_class.EnergyScaleCorrection_class(), MatacqProducer.getMatacqFile(), edm::SubProcess.keptProducts(), DQMStore.mtEnabled(), PhotonEnergyCalibratorRun2.PhotonEnergyCalibratorRun2(), EcalTBH2TDCRecInfoProducer.produce(), L1RCTOmdsFedVectorProducer.produce(), MatacqProducer.produce(), EcalTBH2TDCRecInfoAlgo.reconstruct(), DQMStore::IGetter.removeElement(), Vx3DHLTAnalyzer.reset(), cond::persistency::RUN_INFO::Table.select(), SiPixelPerformanceSummary.setRunNumber(), Level1TriggerScalers.spare2(), cond::persistency::RUN_INFO::Table.updateEnd(), Vx3DHLTAnalyzer.writeToFile(), EcalIsolationCorrector.~EcalIsolationCorrector(), EcalTBH2TDCRecInfoAlgo.~EcalTBH2TDCRecInfoAlgo(), cond::persistency::IRunInfoTable.~IRunInfoTable(), SimpleElectron.~SimpleElectron(), SimplePhoton.~SimplePhoton(), and cond::persistency::RUN_INFO::Table.~Table().

convertSQLiteXML.supChambers = "False"

Definition at line 82 of file convertSQLiteXML.py.

convertSQLiteXML.supLayers = "False"

Definition at line 84 of file convertSQLiteXML.py.

convertSQLiteXML.supRings = "True"

Definition at line 80 of file convertSQLiteXML.py.

convertSQLiteXML.theInputFile = sys.argv[1]

Definition at line 94 of file convertSQLiteXML.py.

convertSQLiteXML.theOutputFile = sys.argv[2]

Definition at line 95 of file convertSQLiteXML.py.

convertSQLiteXML.type

Definition at line 49 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 7 of file convertSQLiteXML.py.