00001 # ApeSettingAlgorithm 00002 # ------------------- 00003 00004 import FWCore.ParameterSet.Config as cms 00005 00006 ApeSettingAlgorithm = cms.PSet( 00007 algoName = cms.string('ApeSettingAlgorithm'), 00008 saveApeToASCII = cms.untracked.bool(False), 00009 saveComposites = cms.untracked.bool(False), 00010 saveLocalNotGlobal = cms.untracked.bool(False), 00011 apeASCIISaveFile = cms.untracked.string('ApeDump.txt'), 00012 readApeFromASCII = cms.bool(False), 00013 readLocalNotGlobal = cms.bool(False), 00014 readFullLocalMatrix = cms.bool(False), 00015 setComposites = cms.bool(False), 00016 apeASCIIReadFile = cms.FileInPath('Alignment/CommonAlignmentAlgorithm/test/apeinput.txt') 00017 ) 00018 00019 # Parameters: 00020 # saveApeToASCII -- Do we write out an APE text file? 00021 # saveComposites -- Do we write APEs for composite detectors? 00022 # saveLocalNotGlobal -- Do we write the APEs in the local or global coordinates? 00023 # apeASCIISaveFile -- The name of the save-file. 00024 # readApeFromASCII -- Do we read in APEs from a text file? 00025 # readLocalNotGlobal -- Do we read APEs in the local or the global frame? 00026 # readFullLocalMatrix -- Do we read the full local matrix or just the diagonal elements? 00027 # Full matrix format: DetID dxx dxy dyy dxz dyz dzz 00028 # Diagonal element format: DetID sqrt(dxx) sqrt(dyy) sqrt(dzz) 00029 # setComposites -- Do we set the APEs for composite detectors or just ignore them? 00030 # apeASCIIReadFile -- Input file name. 00031 # Also note: 00032 # process.AlignmentProducer.saveApeToDB -- to save as an sqlite file 00033 # and associated entries in _cfg.py