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
241 if setupAlgoMode ==
"mille":
242 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.MilleSetup
as mille
244 input_files = readFiles,
245 collection = setupCollection,
246 json_file = setupJson,
247 cosmics_zero_tesla = setupCosmicsZeroTesla,
248 cosmics_deco_mode = setupCosmicsDecoMode)
255 merge_binary_files = [
'placeholder_binaryList']
256 merge_tree_files = [
'placeholder_treeList']
258 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.PedeSetup
as pede
260 binary_files = merge_binary_files,
261 tree_files = merge_tree_files,
262 run_start_geometry = setupRunStartGeometry)