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
294 if setupAlgoMode ==
"mille":
295 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.MilleSetup
as mille
297 input_files = readFiles,
298 collection = setupCollection,
299 json_file = setupJson,
300 cosmics_zero_tesla = setupCosmicsZeroTesla,
301 cosmics_deco_mode = setupCosmicsDecoMode)
308 merge_binary_files = [
'placeholder_binaryList']
309 merge_tree_files = [
'placeholder_treeList']
311 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.PedeSetup
as pede
313 binary_files = merge_binary_files,
314 tree_files = merge_tree_files,
315 run_start_geometry = setupRunStartGeometry)