Skip to content
Snippets Groups Projects

Updates for creating alignment DB

Merged Eric Torrence requested to merge faserrec-procdev into master
2 files
+ 86
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -53,11 +53,11 @@ if __name__ == "__main__":
@@ -53,11 +53,11 @@ if __name__ == "__main__":
# Flags for this job
# Flags for this job
ConfigFlags.Input.isMC = True # Needed to bypass autoconfig
ConfigFlags.Input.isMC = True # Needed to bypass autoconfig
ConfigFlags.GeoModel.FaserVersion = "FASER-02" # Default FASER geometry
ConfigFlags.GeoModel.FaserVersion = "FASERNU-03" # Default FASER geometry
ConfigFlags.IOVDb.GlobalTag = "OFLCOND-"+ ConfigFlags.GeoModel.FaserVersion # Always needed; must match FaserVersion
ConfigFlags.IOVDb.GlobalTag = "OFLCOND-FASER-02" # Old field map
ConfigFlags.IOVDb.DBConnection = "sqlite://;schema=" + ConfigFlags.GeoModel.FaserVersion + "_ALLP200.db;dbname=OFLP200"
ConfigFlags.IOVDb.DBConnection = "sqlite://;schema=FASER-02_ALLP200.db;dbname=OFLP200"
ConfigFlags.GeoModel.Align.Disable = True # Hack to avoid loading alignment when we want to create it from scratch
ConfigFlags.GeoModel.Align.Disable = True # Hack to avoid loading alignment when we want to create it from scratch
ConfigFlags.addFlag("WriteAlignment.PoolFileName", ConfigFlags.GeoModel.FaserVersion + "_Align.pool.root")
ConfigFlags.addFlag("WriteAlignment.PoolFileName", "FASER-02_Align.pool.root")
# Parse flags from command line and lock
# Parse flags from command line and lock
ConfigFlags.addFlag("AlignDbTool.AlignmentConstants", {})
ConfigFlags.addFlag("AlignDbTool.AlignmentConstants", {})
Loading