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"
55 setupAlgoMode =
"mille"
58 setupMonitorFile =
"millePedeMonitorISN.root"
59 setupBinaryFile =
"milleBinaryISN.dat"
62 readFiles = cms.untracked.vstring()
69 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.GeneralSetup
as generalSetup
70 generalSetup.setup(process, setupGlobaltag, setupCosmicsZeroTesla)
76 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.ConfigureAlignmentProducer
as confAliProducer
78 confAliProducer.setConfiguration(process,
79 collection = setupCollection,
81 monitorFile = setupMonitorFile,
82 binaryFile = setupBinaryFile,
83 primaryWidth = setupPrimaryWidth,
84 cosmicsZeroTesla = setupCosmicsZeroTesla)
90 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.SetCondition
as tagwriter
157 if setupAlgoMode ==
"mille":
158 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.MilleSetup
as mille
160 input_files = readFiles,
161 collection = setupCollection,
162 json_file = setupJson,
163 cosmics_zero_tesla = setupCosmicsZeroTesla,
164 cosmics_deco_mode = setupCosmicsDecoMode)
171 merge_binary_files = [
'placeholder_binaryList']
172 merge_tree_files = [
'placeholder_treeList']
174 import Alignment.MillePedeAlignmentAlgorithm.alignmentsetup.PedeSetup
as pede
176 binary_files = merge_binary_files,
177 tree_files = merge_tree_files)