Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
# define data sets like this
[dataset:exampleDataset]
# directory where to look, probably starting with /eos/cms/store/caf/user/<username>
baseDirectory=/some/directory
# define input files, separate files with " ", use ranges for multiple files. [1-6,8,10] will be replaced by files with 1,2,3,4,5,6,8, and 10 in its place
fileNames=filename.root otherFile_[1-6,8,10]_[1-2].root
# optional, events per file, not total maxEvents
maxEvents=-1
# optional, set to True for MC samples, False by default
isMC=False
# optional, set to True for cosmics samples, False by default
isCosmics=False

#define alignments like this
[alignment:alignmentObject]
# if you want to use a custom GT you can add it here or simply define it 
# in apeEstimation_cfg.py. If it is not defined or None, it will not overwrite
# anything defined in apeEstimation_cfg.py
globalTag=None
# name as defined in apeEstimation_cfg.py, optional if alignment is loaded by condition
alignmentName=alignmentObjectName
# name of baseline folder. Only used if isDesign is False, elsewise the 
# name of the APE measurement is used, Design by default
baselineDir=Design
# is this a baseline measurement? False by default
isDesign=False
# You can add your conditions here. If a TrackerAlignmentRcd is defined, 
# it will override the one defined by alignmentName
condition TrackerAlignmentRcd=sqlite_file:/afs/asdf.db Alignments
condition TrackerSurfaceDeformationRcd=sqlite_file:/afs/asdf.db Deformations
# another way to load these is:
condition Alignments+Deformations:sqlite_file:/afs/asdf.db
# in this case, the Rcd name has to be guessed by the autoSubmitter, 
# so functionality is limited

[ape:name]
dataset: exampleDataset
alignment: alignmentObject

[ape:name2]
dataset: exampleDataset
alignment: alignmentObject
firstIteration: 0
maxIterations: 15
maxEvents: 1000