38 import FWCore.ParameterSet.Config
as cms
39 process = cms.Process(
"Alignment")
45 setupGlobaltag =
"placeholder_globaltag" 46 setupCollection =
"placeholder_collection" 47 setupCosmicsDecoMode =
False 48 setupCosmicsZeroTesla =
False 49 setupPrimaryWidth = -1.0
50 setupJson =
"placeholder_json" 51 setupRunStartGeometry = -1
57 setupAlgoMode =
"mille" 60 setupMonitorFile =
"millePedeMonitorISN.root" 61 setupBinaryFile =
"milleBinaryISN.dat" 64 readFiles = cms.untracked.vstring()
71 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.GeneralSetup
as generalSetup
72 generalSetup.setup(process, setupGlobaltag, setupCosmicsZeroTesla)
78 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.ConfigureAlignmentProducer
as confAliProducer
80 confAliProducer.setConfiguration(process,
81 collection = setupCollection,
83 monitorFile = setupMonitorFile,
84 binaryFile = setupBinaryFile,
85 primaryWidth = setupPrimaryWidth,
86 cosmicsZeroTesla = setupCosmicsZeroTesla)
92 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.SetCondition
as tagwriter
298 if setupAlgoMode ==
"mille":
299 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.MilleSetup
as mille
301 input_files = readFiles,
302 collection = setupCollection,
303 json_file = setupJson,
304 cosmics_zero_tesla = setupCosmicsZeroTesla,
305 cosmics_deco_mode = setupCosmicsDecoMode)
312 merge_binary_files = [
'placeholder_binaryList']
313 merge_tree_files = [
'placeholder_treeList']
315 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.PedeSetup
as pede
317 binary_files = merge_binary_files,
318 tree_files = merge_tree_files,
319 run_start_geometry = setupRunStartGeometry)