CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
dumpFWRecoGeometry_cfg Namespace Reference

Functions

def help
 
def recoGeoLoad
 

Variables

tuple level = cms.untracked.int32(1)
 
tuple options = VarParsing.VarParsing()
 
tuple process = cms.Process("DUMP")
 
tuple tagInfo = cms.untracked.string(options.tag)
 
tuple tagInfoq = cms.string(options.tag)
 
tuple varType = Enumerate("Run1 2015 2019 PhaseIPixel SLHCDB SLHC")
 

Function Documentation

def dumpFWRecoGeometry_cfg.help ( )

Definition at line 8 of file dumpFWRecoGeometry_cfg.py.

References cmsRelvalreport.exit.

Referenced by recoGeoLoad().

8 
9 def help():
10  print "Usage: cmsRun dumpFWRecoGeometry_cfg.py tag=TAG "
11  print " tag=tagname"
12  print " indentify geometry condition database tag"
13  print " ", varType.keys()
14  print ""
15  print " format=formatname"
16  print " dump in plain TTree or in TGeo format, default is TTree"
17  print ""
18  print " load=filename"
19  print " a single load instruction, this option excludes 'tag' option"
20  print " for example:"
21  print " cmsRun dumpFWRecoGeometry_cfg.py load=Configuration.Geometry.GeometryExtended2015Reco_cff"
22  print ""
23  exit(1);
def dumpFWRecoGeometry_cfg.recoGeoLoad (   score)

Definition at line 24 of file dumpFWRecoGeometry_cfg.py.

References help().

24 
25 def recoGeoLoad(score):
26  print "Loading configuration for tag ", options.tag ,"...\n"
27  if score == "Run1":
28  from Configuration.AlCa.autoCond import autoCond
29  process.GlobalTag.globaltag = autoCond['mc']
30  process.load("Configuration.StandardSequences.GeometryDB_cff")
31  process.load("Configuration.StandardSequences.Reconstruction_cff")
32 
33  elif score == "2015":
34  from Configuration.AlCa.autoCond import autoCond
35  process.GlobalTag.globaltag = autoCond['mc']
36  process.load("Configuration.Geometry.GeometryExtended2015Reco_cff");
37 
38  elif score == "2019":
39  from Configuration.AlCa.GlobalTag import GlobalTag
40  process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgrade2019', '')
41  process.load('Configuration.Geometry.GeometryExtended2019Reco_cff')
42 
43  elif score == "PhaseIPixel":
44  from Configuration.AlCa.GlobalTag import GlobalTag
45  process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:mc', '')
46  process.load('Configuration.Geometry.GeometryExtendedPhaseIPixelReco_cff')
47 
48  elif score == varType.valueForKey(varType.SLHCDB): # orig dumpFWRecoSLHCGeometry_cfg.py
49  process.GlobalTag.globaltag = 'DESIGN42_V17::All'
50  process.load("Configuration.StandardSequences.GeometryDB_cff")
51  process.load("Configuration.StandardSequences.Reconstruction_cff")
52 
53  process.GlobalTag.toGet = cms.VPSet(
54  cms.PSet(record = cms.string("GeometryFileRcd"),
55  tag = cms.string("XMLFILE_Geometry_428SLHCYV0_Phase1_R30F12_HCal_Ideal_mc"),
56  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_42X_GEOMETRY")
57  ),
58  cms.PSet(record = cms.string('IdealGeometryRecord'),
59  tag = cms.string('TKRECO_Geometry_428SLHCYV0'),
60  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_42X_GEOMETRY")),
61  cms.PSet(record = cms.string('PGeometricDetExtraRcd'),
62  tag = cms.string('TKExtra_Geometry_428SLHCYV0'),
63  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_42X_GEOMETRY")),
64  )
65 
66  elif score == varType.valueForKey(varType.SLHC): # orig dumpFWRecoGeometrySLHC_cfg.py
67  from Configuration.AlCa.autoCond import autoCond
68  process.GlobalTag.globaltag = autoCond['mc']
69  process.load("Configuration.Geometry.GeometrySLHCSimIdeal_cff")
70  process.load("Configuration.Geometry.GeometrySLHCReco_cff")
71  process.load("Configuration.StandardSequences.Reconstruction_cff")
72  process.trackerSLHCGeometry.applyAlignment = False
73 
74  else:
75  help()
76 
77 
78 

Variable Documentation

tuple dumpFWRecoGeometry_cfg.level = cms.untracked.int32(1)

Definition at line 131 of file dumpFWRecoGeometry_cfg.py.

tuple dumpFWRecoGeometry_cfg.options = VarParsing.VarParsing()

Definition at line 79 of file dumpFWRecoGeometry_cfg.py.

tuple dumpFWRecoGeometry_cfg.process = cms.Process("DUMP")

Definition at line 107 of file dumpFWRecoGeometry_cfg.py.

tuple dumpFWRecoGeometry_cfg.tagInfo = cms.untracked.string(options.tag)

Definition at line 132 of file dumpFWRecoGeometry_cfg.py.

Referenced by SoftLeptonTagPlotter.analyzeTag(), TrackCountingTagPlotter.analyzeTag(), TrackIPTagPlotter.analyzeTag(), TrackProbabilityTagPlotter.analyzeTag(), popcon::SiStripDetVOffHandler.getNewObjects(), popcon::RpcDataGasMix.getNewObjects(), popcon::RpcObGasData.getNewObjects(), popcon::RPCObPVSSmapData.getNewObjects(), popcon::RpcDataI.getNewObjects(), popcon::RpcDataS.getNewObjects(), popcon::RpcDataT.getNewObjects(), popcon::RpcDataUXC.getNewObjects(), popcon::RpcDataV.getNewObjects(), popcon::RpcDataFebmap.getNewObjects(), popcon::L1RPCHwConfigSourceHandler.getNewObjects(), popcon::EcalSRPHandler.getNewObjects(), popcon::RPCEMapSourceHandler.getNewObjects(), popcon::EcalLaser_weekly_Linearization.getNewObjects(), popcon::EcalDAQHandler.getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler.getNewObjects(), popcon::EcalTPGLinConstHandler.getNewObjects(), popcon::EcalTPGLutIdMapHandler.getNewObjects(), popcon::EcalTPGPhysicsConstHandler.getNewObjects(), popcon::EcalTPGBadStripHandler.getNewObjects(), popcon::EcalTPGWeightIdMapHandler.getNewObjects(), popcon::EcalTPGBadTTHandler.getNewObjects(), popcon::EcalTPGBadXTHandler.getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler.getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler.getNewObjects(), popcon::EcalLaserHandler.getNewObjects(), popcon::EcalLaser_weekly_Handler.getNewObjects(), popcon::EcalTPGWeightGroupHandler.getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler.getNewObjects(), popcon::EcalTPGPedestalsHandler.getNewObjects(), popcon::EcalTPGSlidingWindowHandler.getNewObjects(), popcon::EcalTPGSpikeThresholdHandler.getNewObjects(), popcon::EcalTPGLutGroupHandler.getNewObjects(), popcon::EcalIntercalibHandler.getNewObjects(), popcon::EcalADCToGeVHandler.getNewObjects(), popcon::EcalDCSHandler.getNewObjects(), popcon::EcalChannelStatusHandler.getNewObjects(), popcon::EcalPedestalsHandler.getNewObjectsH2(), popcon::EcalPedestalsHandler.getNewObjectsP5(), l1t::DataWriter.lastPayloadToken(), CATopJetTagger.produce(), popcon::SiStripDetVOffHandler.setForTransfer(), and l1t::DataWriter.updateIOV().

tuple dumpFWRecoGeometry_cfg.tagInfoq = cms.string(options.tag)

Definition at line 123 of file dumpFWRecoGeometry_cfg.py.

tuple dumpFWRecoGeometry_cfg.varType = Enumerate("Run1 2015 2019 PhaseIPixel SLHCDB SLHC")

Definition at line 6 of file dumpFWRecoGeometry_cfg.py.