diff --git a/Control/CalypsoExample/WriteAlignment/python/WriteAlignmentConfig_Faser01.py b/Control/CalypsoExample/WriteAlignment/python/WriteAlignmentConfig_Faser01.py index 1939952e5914b1269d4d41d5c5c0e3ee10beaf65..00f4b9c37cce80a4ca7cb4c669f48d102a199fd4 100644 --- a/Control/CalypsoExample/WriteAlignment/python/WriteAlignmentConfig_Faser01.py +++ b/Control/CalypsoExample/WriteAlignment/python/WriteAlignmentConfig_Faser01.py @@ -71,13 +71,6 @@ if __name__ == "__main__": # Set things up to create a conditions DB with neutral Tracker alignment transforms acc.merge(WriteAlignmentCfg(ConfigFlags, alignmentConstants=ConfigFlags.AlignDbTool.AlignmentConstants, ValidRunStart=1, ValidEvtStart=0, ValidRunEnd=9999999, ValidEvtEnd=9999999, CondTag=ConfigFlags.GeoModel.FaserVersion.replace("FASER", "TRACKER-ALIGN"), )) -# Configure components - from CalypsoConfiguration.MainServicesConfig import MainServicesCfg - acc = MainServicesCfg(ConfigFlags) - -# Set things up to create a conditions DB with neutral Tracker alignment transforms - acc.merge(WriteAlignmentCfg(ConfigFlags, ValidRunStart=1, ValidEvtStart=0, ValidRunEnd=9999999, ValidEvtEnd=9999999, CondTag=ConfigFlags.GeoModel.FaserVersion.replace("FASER", "TRACKER-ALIGN"))) - # Configure verbosity # ConfigFlags.dump() # logging.getLogger('forcomps').setLevel(VERBOSE) @@ -87,3 +80,4 @@ if __name__ == "__main__": # Execute and finish sys.exit(int(acc.run(maxEvents=1).isFailure())) + diff --git a/Control/CalypsoExample/WriteAlignment/python/WriteAlignmentConfig_Faser02.py b/Control/CalypsoExample/WriteAlignment/python/WriteAlignmentConfig_Faser02.py index 57842aabebf988a56f8b9ddfddc60c3fa06d8919..2e944e3fc88b76d6794a7df7b9ce4469fc763d51 100644 --- a/Control/CalypsoExample/WriteAlignment/python/WriteAlignmentConfig_Faser02.py +++ b/Control/CalypsoExample/WriteAlignment/python/WriteAlignmentConfig_Faser02.py @@ -71,13 +71,6 @@ if __name__ == "__main__": # Set things up to create a conditions DB with neutral Tracker alignment transforms acc.merge(WriteAlignmentCfg(ConfigFlags, alignmentConstants=ConfigFlags.AlignDbTool.AlignmentConstants, ValidRunStart=1, ValidEvtStart=0, ValidRunEnd=9999999, ValidEvtEnd=9999999, CondTag=ConfigFlags.GeoModel.FaserVersion.replace("FASER", "TRACKER-ALIGN"), )) -# Configure components - from CalypsoConfiguration.MainServicesConfig import MainServicesCfg - acc = MainServicesCfg(ConfigFlags) - -# Set things up to create a conditions DB with neutral Tracker alignment transforms - acc.merge(WriteAlignmentCfg(ConfigFlags, ValidRunStart=1, ValidEvtStart=0, ValidRunEnd=9999999, ValidEvtEnd=9999999, CondTag=ConfigFlags.GeoModel.FaserVersion.replace("FASER", "TRACKER-ALIGN"))) - # Configure verbosity # ConfigFlags.dump() # logging.getLogger('forcomps').setLevel(VERBOSE)