![]() |
![]() |
Millepede is separated into two part:
1) Mille: Writes out measurements, global and local derivatives into a binary file. This part is fully integrated into CMSSW.
2) Pede: This standalone program is the main part of Millepede II. After reading one (or more) of the binary files from Mille and possibly some text steering files, it computes the result and writes them out as a text file.
This CMSSW package handles also automatically the writing and reading of the text files for communication with Pede. Further documentation will hopefully be reachable in some time with a few clicks from this page in the SWGuide.
# MillePedeAlignmentAlgorithm
# ---------------------------
include "Alignment/ReferenceTrajectories/data/TrajectoryFactories.cff"
block MillePedeAlignmentAlgorithm = {
string algoName = "MillePedeAlignmentAlgorithm"
untracked string mode = "full" # possible modes: full, mille, pede, pedeSteer, pedeRun, pedeRead
untracked string fileDir = "" # if given, everything (in/output) is expected there/goes there
# Where mille writes (and pede reads) derivatives, labels etc.
string binaryFile = "milleBinary.dat"
# Resulting and initial parameters, absolute (original) positions, result etc.
string treeFile = "treeFile.root" # if empty: no treeFile
# Must be empty if mille runs, otherwise for merging (pede) jobs should be parallel with each
# other. Then 'treeFile' is merged result and 'binaryFile' should be empty.
vstring mergeBinaryFiles = {}
vstring mergeTreeFiles = {}
untracked string monitorFile = "millePedeMonitor.root" # if empty: no monitoring...
PSet pedeSteerer = {
untracked string fileDir = "" # if empty: taken from 'MillePedeAlignmentAlgorithm.fileDir'
string steerFile = "pedeSteer" # beginning of steering file names
# If MillePedeAlignmentAlgorithm.mode causes pede to run (e.g. 'full', 'pede' etc.),
# the pede command line is constructed as:
# 'pedeCommand' 'steerFile'Master.txt
# (and - if pedeDump is not empty - extended by: > 'pedeDump')
# (MillePedeAlignmentAlgorithm.theDir is taken into account...)
untracked string pedeCommand = "/afs/cern.ch/user/f/flucke/cms/pede/versWebEndMay2007/pede"
untracked int32 parameterSign = 1 # old pede versions (before May '07) need a sign flip
untracked string pedeDump = "pede.dump"
string method = "sparseGMRES 6 0.8" # "inversion 6 0.8" #
Unit tests and examples
No unit tests so far, but an example cfg can be found the test directory:
Status and planned development
Under development.
Last updated: @ Author: Gero Flucke
Generated on Tue Jun 9 17:56:13 2009 for CMSSW by
1.5.4