37 import FWCore.ParameterSet.Config
as cms
38 process = cms.Process(
"Alignment")
44 setupGlobaltag =
"placeholder_globaltag" 45 setupCollection =
"placeholder_collection" 46 setupCosmicsDecoMode =
False 47 setupCosmicsZeroTesla =
False 48 setupPrimaryWidth = -1.0
49 setupJson =
"placeholder_json" 50 setupRunStartGeometry = -1
56 setupAlgoMode =
"mille" 59 setupMonitorFile =
"millePedeMonitorISN.root" 60 setupBinaryFile =
"milleBinaryISN.dat" 63 readFiles = cms.untracked.vstring()
70 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.GeneralSetup
as generalSetup
71 generalSetup.setup(process, setupGlobaltag, setupCosmicsZeroTesla)
77 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.ConfigureAlignmentProducer
as confAliProducer
79 confAliProducer.setConfiguration(process,
80 collection = setupCollection,
82 monitorFile = setupMonitorFile,
83 binaryFile = setupBinaryFile,
84 primaryWidth = setupPrimaryWidth,
85 cosmicsZeroTesla = setupCosmicsZeroTesla)
91 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.SetCondition
as tagwriter
226 if setupAlgoMode ==
"mille":
227 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.MilleSetup
as mille
229 input_files = readFiles,
230 collection = setupCollection,
231 json_file = setupJson,
232 cosmics_zero_tesla = setupCosmicsZeroTesla,
233 cosmics_deco_mode = setupCosmicsDecoMode)
240 merge_binary_files = [
'placeholder_binaryList']
241 merge_tree_files = [
'placeholder_treeList']
243 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.PedeSetup
as pede
245 binary_files = merge_binary_files,
246 tree_files = merge_tree_files,
247 run_start_geometry = setupRunStartGeometry)