Skip to content

Commit

Permalink
Also update MaterialAnalyzer scripts in SimTracker/TrackerMaterialAna…
Browse files Browse the repository at this point in the history
…lysis/test
  • Loading branch information
ghugo83 committed Dec 18, 2020
1 parent f7702d3 commit 8b3d69f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SimTracker/TrackerMaterialAnalysis/test/listGroups.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
elif options.geometry == 'Phase1':
process.load('Configuration.Geometry.GeometryExtended2017Reco_cff')
# Add our custom detector grouping to DDD
process.XMLIdealGeometryESSource.geomXMLFiles.extend(['SimTracker/TrackerMaterialAnalysis/data/trackingMaterialGroups_ForPhaseI.xml'])
process.XMLIdealGeometryESSource.geomXMLFiles.extend(['SimTracker/TrackerMaterialAnalysis/data/v1/trackingMaterialGroups_ForPhaseI.xml'])
elif options.geometry == 'Phase2':
process.load('Configuration.Geometry.GeometryExtended2026D41Reco_cff')
# Add our custom detector grouping to DDD
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
# material-budget grouping into the DDD of the detector. So we need to read the
# geometry using the XMLIdealGeometryRecord.
if not readGeometryFromDB:
process.load('Configuration.Geometry.GeometryExtended2017Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2021Reco_cff')
else:
# GlobalTag and geometry via it
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_design', '')
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2021_realistic', '')

process.load('FWCore.MessageService.MessageLogger_cfi')

# Add our custom detector grouping to DDD
process.XMLIdealGeometryESSource.geomXMLFiles.extend(['SimTracker/TrackerMaterialAnalysis/data/trackingMaterialGroups_ForPhaseI.xml'])
process.XMLIdealGeometryESSource.geomXMLFiles.extend(['SimTracker/TrackerMaterialAnalysis/data/v1/trackingMaterialGroups_ForPhaseI.xml'])

# Analyze and plot the tracking material
process.load("SimTracker.TrackerMaterialAnalysis.trackingMaterialAnalyser_ForPhaseI_cff")
Expand Down

0 comments on commit 8b3d69f

Please sign in to comment.