-
Notifications
You must be signed in to change notification settings - Fork 14
ConfigFiles
Andrea Marini edited this page Jun 2, 2016
·
4 revisions
configuration file is a list of keys, followed by a '=' sign. The content depends on the key itself.
- 'include': load the content of filename.dat
- 'Files': the files to be run are file1,file2,/store..
- 'addfiles': add these files to the Files to be run on.
- 'Output': output file name will be...
- 'MCDB': the Monte Carlo database file. For a complete description go here
- 'SFDB': the scale factor database file. For a complete description go here
- 'Smears = @SmearBase,JER,JES': Book the systematics smears, by name, or by constructor (@)
- 'Analysis = AnalysisBase,Analysis2 ': run the following analysis (that inherths from AnalysisBase) in that specifici order
- 'config = AnalysisBase|a=1,b=2,c(3)': configure the analysis setting the public members, or running the public member functions ...
- 'Branches': file that contains the list of branches that will be set as active.
- 'pileup': pileup reweighting file. 'pileupRun' and 'pileupLumi' can be used for run dependent MC. For a complete description go here.
- 'Lumi': Scale all the MC by this factor.
- 'Correct': Correctors, that needs to be loaded. Correctors are configured as the analysis.
Special keywords:
- 'sub=tag|v1.4': will substitute %(tag)s with the selected tag (1st substitution)
- Smear array: Smear=*[0!50]@SmearPdfs(%%d) Construct a smering array (SmearPdfs) with smearing with an index i going from 0 to 49. (range in python). The %% is needed because this is a 2nd substitution.