CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 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.

convertSQLiteXML.ok = False

Definition at line 97 of file convertSQLiteXML.py.

Referenced by TFileDirectory._cd(), TAPDPulse.areFitSamplesOK(), TAPDPulse.arePulseRatioOK(), HGCalParametersFromDD.build(), CastorDbService.buildCalibrations(), CastorDbService.buildCalibWidths(), TT6ApvMask.calculateMask(), TrackWithHistory.checkAtEnd(), CheckOverlap.checkPV(), TripletFilter.checkTrack(), TrajectoryStateCombiner.combine(), LowPtClusterShapeSeedComparitor.compatible(), CTPPSDetId.CTPPSDetId(), CTPPSDiamondDetId.CTPPSDiamondDetId(), spr.eECALmatrix(), ora::RelationalBuffer.flush(), PerformancePayloadFromBinnedTFormula.getFormula(), CommonAnalyzer.getList(), CommonAnalyzer.getObject(), CaloGeometry.getSubdetectorGeometry(), CaloTowerGeometry.getSummary(), CaloGeometry.getValidDetIds(), HistoShifter.insertAndShift(), TAPDPulse.isPulseOK(), TAPDPulse.isPulseRatioMaxOK(), TAPDPulse.isPulseRatioMinOK(), TAPDPulse.isTimingOK(), TAPDPulse.isTimingQualOK(), HGCalDetId.isValid(), TEcnaRootFile.OpenR(), TEcnaRootFile.OpenW(), HIPixelTrackFilter.operator()(), RecHitCorrector.produce(), TEcnaRootFile.ReadElement(), TEcnaRootFile.ReadElementNextEntryNumber(), FastHFShowerLibrary.recoHFShowerLibrary(), cond::EmptyIOVSource.setRunAndEventInfo(), CaloGeometry.setSubdetGeometry(), pat::helper::BaseIsolator.test(), pftools::CaloBox.test(), TrackWithVertexSelector.testVertices(), TotemRPDetId.TotemRPDetId(), HcalCalibDataFrame.validate(), CastorDataFrame.validate(), HFDataFrame.validate(), ZDCDataFrame.validate(), HBHEDataFrame.validate(), and HODataFrame.validate().

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
string convertSQLiteXML.supChambers = "False"

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.

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.