CMS 3D CMS Logo

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

Functions

def help
 
def recoGeoLoad
 

Variables

tuple Calo = cms.untracked.bool(options.calo)
 
string defaultOutputFileName = "cmsRecoGeom.root"
 
tuple level = cms.untracked.int32(1)
 
tuple Muon = cms.untracked.bool(options.muon)
 
tuple options = VarParsing.VarParsing()
 
tuple outputFileName = cms.untracked.string(options.out)
 
tuple process = cms.Process("DUMP")
 
tuple tagInfo = cms.untracked.string(options.tag)
 
tuple Timing = cms.untracked.bool(options.timing)
 
tuple Tracker = cms.untracked.bool(options.tracker)
 
tuple varType = Enumerate("Run1 2015 2017 2019 2023D7 2023D10 2023D4 2023D8 MaPSA")
 

Function Documentation

def dumpRecoGeometry_cfg.help ( )

Definition at line 8 of file dumpRecoGeometry_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 " tgeo=bool"
16  print " dump in TGeo format to borwse it geomtery viewer"
17  print " import this will in Fireworks with option --sim-geom-file"
18  print ""
19  print " tracker=bool"
20  print " include Tracker subdetectors"
21  print ""
22  print " muon=bool"
23  print " include Muon subdetectors"
24  print ""
25  print " calo=bool"
26  print " include Calo subdetectors"
27  print ""
28  print " timing=bool"
29  print " include Timing subdetectors"
30  print ""
31  print ""
32  exit(1);
def dumpRecoGeometry_cfg.recoGeoLoad (   score)

Definition at line 33 of file dumpRecoGeometry_cfg.py.

References help().

33 
34 def recoGeoLoad(score):
35  print "Loading configuration for tag ", options.tag ,"...\n"
36 
37  if score == "Run1":
38  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
39  from Configuration.AlCa.autoCond import autoCond
40  process.GlobalTag.globaltag = autoCond['run1_mc']
41  process.load("Configuration.StandardSequences.GeometryDB_cff")
42 
43  elif score == "2015":
44  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
45  from Configuration.AlCa.autoCond import autoCond
46  process.GlobalTag.globaltag = autoCond['run2_mc']
47  process.load("Configuration.StandardSequences.GeometryDB_cff")
48 
49  elif score == "2017":
50  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
51  from Configuration.AlCa.autoCond import autoCond
52  process.GlobalTag.globaltag = autoCond['upgrade2017']
53  process.load('Configuration.Geometry.GeometryExtended2017Reco_cff')
54 
55  elif score == "2019":
56  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
57  from Configuration.AlCa.autoCond import autoCond
58  process.GlobalTag.globaltag = autoCond['upgrade2019']
59  ## NOTE: There is no PTrackerParameters Rcd in this GT yet
60  process.load('Geometry.TrackerGeometryBuilder.trackerParameters_cfi')
61  process.load('Configuration.Geometry.GeometryExtended2019Reco_cff')
62  ## NOTE: There are no Muon alignement records in the GT yet
63  process.DTGeometryESModule.applyAlignment = cms.bool(False)
64  process.CSCGeometryESModule.applyAlignment = cms.bool(False)
65 
66  elif score == "2023D7":
67  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
68  from Configuration.AlCa.autoCond import autoCond
69  process.GlobalTag.globaltag = autoCond['run2_mc']
70  process.load('Configuration.Geometry.GeometryExtended2023D7Reco_cff')
71 
72  elif score == "2023D10":
73  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
74  from Configuration.AlCa.autoCond import autoCond
75  process.GlobalTag.globaltag = autoCond['phase2_realistic']
76  process.load('Configuration.Geometry.GeometryExtended2023D10Reco_cff')
77 
78  elif score == "2023D4":
79  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
80  from Configuration.AlCa.autoCond import autoCond
81  process.GlobalTag.globaltag = autoCond['phase2_realistic']
82  process.load('Configuration.Geometry.GeometryExtended2023D4Reco_cff')
83 
84  elif score == "2023D8":
85  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
86  from Configuration.AlCa.autoCond import autoCond
87  process.GlobalTag.globaltag = autoCond['phase2_realistic']
88  process.load('Configuration.Geometry.GeometryExtended2023D8Reco_cff')
89 
90  elif score == "MaPSA":
91  process.load('Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff')
92  process.load('Geometry.TrackerCommonData.mapsaGeometryXML_cfi')
93  process.load('Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi')
94  process.load('Geometry.TrackerNumberingBuilder.trackerTopology_cfi')
95  process.load('Geometry.TrackerGeometryBuilder.trackerParameters_cfi')
96  process.load('Geometry.TrackerGeometryBuilder.trackerGeometry_cfi')
97  process.trackerGeometry.applyAlignment = cms.bool(False)
98  process.load('RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi')
99 
100  process.load('Geometry.CommonDetUnit.bareGlobalTrackingGeometry_cfi')
101 
102  elif score == "HGCTB160": ## hgcal testbeam
103  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
104  from Configuration.AlCa.autoCond import autoCond
105  process.GlobalTag.globaltag = autoCond['mc']
106  process.load('Geometry.HGCalCommonData.hgcalV6ParametersInitialization_cfi')
107  process.load('Geometry.HGCalCommonData.hgcalV6NumberingInitialization_cfi')
108  process.load('Geometry.CaloEventSetup.HGCalV6Topology_cfi')
109  process.load('Geometry.HGCalGeometry.HGCalV6GeometryESProducer_cfi')
110  process.load('Geometry.CaloEventSetup.CaloTopology_cfi')
111  process.load('Geometry.CaloEventSetup.CaloGeometryBuilder_cfi')
112  process.CaloGeometryBuilder = cms.ESProducer(
113  "CaloGeometryBuilder",
114  SelectedCalos = cms.vstring("HGCalEESensitive")
115  )
116  process.load("SimG4CMS.HGCalTestBeam.HGCalTB160XML_cfi")
117 
118  else:
119  help()
120 
121 
122 

Variable Documentation

tuple dumpRecoGeometry_cfg.Calo = cms.untracked.bool(options.calo)

Definition at line 189 of file dumpRecoGeometry_cfg.py.

Referenced by pat::Flags::Isolation.bitToString().

string dumpRecoGeometry_cfg.defaultOutputFileName = "cmsRecoGeom.root"

Definition at line 126 of file dumpRecoGeometry_cfg.py.

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

Definition at line 204 of file dumpRecoGeometry_cfg.py.

tuple dumpRecoGeometry_cfg.Muon = cms.untracked.bool(options.muon)

Definition at line 188 of file dumpRecoGeometry_cfg.py.

Referenced by L1TStage2EMTF.analyze(), L1TStage2uGMT.analyze(), PatMuonAnalyzer.analyze(), BasicMuonAnalyzer.analyze(), L1Validator.analyze(), HLTMuon.analyze(), main(), MuonIdProducer.makeMuon(), l1t::TriggerMenuParser.parseCorrelation(), l1t::TriggerMenuParser.parseScales(), helper::MuonCollectionStoreManager.processMuon(), EcalListOfFEDSProducer.produce(), and L1Analysis::L1AnalysisRecoMuon2.SetMuon().

tuple dumpRecoGeometry_cfg.options = VarParsing.VarParsing()

Definition at line 123 of file dumpRecoGeometry_cfg.py.

tuple dumpRecoGeometry_cfg.outputFileName = cms.untracked.string(options.out)

Definition at line 193 of file dumpRecoGeometry_cfg.py.

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

Definition at line 175 of file dumpRecoGeometry_cfg.py.

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

Definition at line 192 of file dumpRecoGeometry_cfg.py.

Referenced by cms::HTTTopJetProducer.addHTTTopJetTagInfoCollection(), SoftLeptonTagPlotter.analyzeTag(), IPTagPlotter< Container, Base >.analyzeTag(), TrackCountingTagPlotter.analyzeTag(), TrackProbabilityTagPlotter.analyzeTag(), popcon::RpcObGasData.getNewObjects(), popcon::RpcDataI.getNewObjects(), popcon::RPCObPVSSmapData.getNewObjects(), popcon::RpcDataS.getNewObjects(), popcon::RpcDataT.getNewObjects(), popcon::RpcDataUXC.getNewObjects(), popcon::RpcDataFebmap.getNewObjects(), popcon::RpcDataV.getNewObjects(), popcon::RpcDataGasMix.getNewObjects(), popcon::L1RPCHwConfigSourceHandler.getNewObjects(), popcon::EcalSRPHandler.getNewObjects(), popcon::RPCEMapSourceHandler.getNewObjects(), popcon::EcalLaser_weekly_Linearization.getNewObjects(), popcon::EcalTPGLinPed.getNewObjects(), popcon::EcalTPGPedfromFile.getNewObjects(), popcon::EcalDAQHandler.getNewObjects(), popcon::EcalTPGFineGrainEBIdMapHandler.getNewObjects(), popcon::EcalTPGLinConstHandler.getNewObjects(), popcon::EcalTPGLutIdMapHandler.getNewObjects(), popcon::EcalTPGBadStripHandler.getNewObjects(), popcon::EcalTPGPhysicsConstHandler.getNewObjects(), popcon::EcalTPGBadTTHandler.getNewObjects(), popcon::EcalTPGWeightIdMapHandler.getNewObjects(), popcon::EcalTPGBadXTHandler.getNewObjects(), popcon::EcalTPGFineGrainTowerEEHandler.getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler.getNewObjects(), popcon::EcalLaserHandler.getNewObjects(), popcon::EcalLaser_weekly_Handler.getNewObjects(), popcon::EcalTPGWeightGroupHandler.getNewObjects(), popcon::EcalTPGFineGrainStripEEHandler.getNewObjects(), popcon::EcalTPGPedestalsHandler.getNewObjects(), popcon::EcalTPGSlidingWindowHandler.getNewObjects(), popcon::EcalTPGLutGroupHandler.getNewObjects(), popcon::EcalTPGSpikeThresholdHandler.getNewObjects(), popcon::EcalIntercalibHandler.getNewObjects(), popcon::EcalADCToGeVHandler.getNewObjects(), popcon::EcalDCSHandler.getNewObjects(), popcon::EcalChannelStatusHandler.getNewObjects(), popcon::EcalPedestalsHandler.getNewObjectsH2(), popcon::EcalPedestalsHandler.getNewObjectsP5(), l1t::DataWriterExt.lastPayloadToken(), l1t::DataWriter.lastPayloadToken(), SoftPFMuonTagInfoProducer.produce(), SoftPFElectronTagInfoProducer.produce(), CATopJetTagger.produce(), l1t::DataWriter.updateIOV(), and l1t::DataWriterExt.updateIOV().

tuple dumpRecoGeometry_cfg.Timing = cms.untracked.bool(options.timing)

Definition at line 190 of file dumpRecoGeometry_cfg.py.

tuple dumpRecoGeometry_cfg.Tracker = cms.untracked.bool(options.tracker)

Definition at line 187 of file dumpRecoGeometry_cfg.py.

tuple dumpRecoGeometry_cfg.varType = Enumerate("Run1 2015 2017 2019 2023D7 2023D10 2023D4 2023D8 MaPSA")

Definition at line 6 of file dumpRecoGeometry_cfg.py.

Referenced by l1t.convertVariable().