New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfixes and updates to the geometry comparison tool #9200
Closed
cschomak
wants to merge
2
commits into
cms-sw:CMSSW_7_5_X
from
cschomak:Alignment-Geometry-comparison-extended-APE
Closed
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
206 changes: 189 additions & 17 deletions
206
Alignment/OfflineValidation/python/TkAlAllInOneTool/geometryComparison.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,14 @@ | |
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") | ||
process.GlobalTag.globaltag = ".oO[GlobalTag]Oo." | ||
|
||
process.load("Configuration.Geometry.GeometryDB_cff") | ||
#process.load('Configuration.Geometry.GeometryExtended2015_cff') | ||
#process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP") | ||
|
||
#process.load("Configuration.StandardSequences.Geometry_cff") | ||
process.load("Configuration.Geometry.GeometryRecoDB_cff") | ||
#process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi") | ||
#process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi") | ||
process.load("Geometry.TrackerGeometryBuilder.trackerGeometryDB_cfi") | ||
|
||
#process.load("Alignment.CommonAlignmentProducer.GlobalPosition_Frontier_cff") | ||
process.load("CondCore.DBCommon.CondDBSetup_cfi") | ||
|
@@ -50,11 +55,15 @@ | |
# global tag | ||
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") | ||
process.GlobalTag.globaltag = ".oO[GlobalTag]Oo." | ||
process.load("Configuration.Geometry.GeometryDB_cff") | ||
|
||
#process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi") | ||
#process.load('Configuration.Geometry.GeometryExtended2015_cff') | ||
#process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP") | ||
|
||
#process.load("Configuration.StandardSequences.Geometry_cff") | ||
process.load("Configuration.Geometry.GeometryRecoDB_cff") | ||
#process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi") | ||
#process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi") | ||
process.load("Geometry.TrackerGeometryBuilder.trackerGeometryDB_cfi") | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cschomak there are many commented loads. Would it be possible to clean it up? |
||
#process.load("Alignment.CommonAlignmentProducer.GlobalPosition_Frontier_cff") | ||
# the input .GlobalPosition_Frontier_cff is providing the frontier://FrontierProd/CMS_COND_31X_ALIGNMENT in the release which does not provide the ideal geometry | ||
|
@@ -113,7 +122,7 @@ | |
dbOutputTemplate= """ | ||
//_________________________ db Output ____________________________ | ||
# setup for writing out to DB | ||
include "CondCore/DBCommon/data/CondDBSetup.cfi" | ||
include "CondCore/DBCommon/CondDBSetup.cfi" | ||
# include "CondCore/DBCommon/data/CondDBCommon.cfi" | ||
|
||
service = PoolDBOutputService { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why
PromptProd
? It cannot be used for tests as it is the Tier-0 servlet. Please useFrontierProd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this line was one of the main fixes to get the extended alignment parameter errors working. I had a look at the recent global tags and there TrackerAlignmentErrorExtendedRcd has frontier://PromptProd/CMS_COND_ALIGN_000 as PFN
Since I am new to alignment I am not sure what else to use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cschomak please move to condDBv2 interface using
frontier://FrontierProd/CMS_CONDITIONS
PFNThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did the changes you suggested