Skip to content

Commit

Permalink
First commit of top tagger config file
Browse files Browse the repository at this point in the history
  • Loading branch information
pastika committed Dec 7, 2016
1 parent 8530f64 commit d531b71
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 0 deletions.
199 changes: 199 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
#Binary and Image
*.exe
*.png
*.jpg
*.gif
*.bmp
*.pdf
*.ps
*.jpeg
*.eps

#condor log files
*.log
*.stderr
*.stdout

#Root
*.root

#Network File System
.nfs*

##Github EMACS Ignore
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
.elc
auto-save-list
tramp
.\#*
# Org-mode
.org-id-locations
*_archive
##Github VIM Ignore
*.s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

##Github SVN Ignore
.svn/

##Github CVS Ignore
/CVS/*
*/CVS/*
.cvsignore
*/.cvsignore

##Github Linux Ignore
.*
!.gitignore
*~
##Github OSX Ignore
.DS_Store
.AppleDouble
.LSOverride
Icon

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

##Github Archives Ignore
# It's better to unpack these files and commit the raw source because
# git has its own built in compression methods.
*.7z
*.jar
*.rar
*.zip
*.gz
*.bzip
*.bz2
*.xz
*.lzma

#packing-only formats
*.iso
*.tar

#package management formats
*.dmg
*.xpi
*.gem
*.egg
*.deb
*.rpm

##Github Python Ignore
*.py[cod]

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
nosetests.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

##Github C++ ignore
# Compiled Object files
*.slo
*.lo
*.o

# Dependency Files
*.d

# Compiled Dynamic libraries
*.so
*.dylib

# Compiled Static libraries
*.lai
*.la
*.a

##Github LaTeX Ignore
*.acn
*.acr
*.alg
*.aux
*.bbl
*.blg
*.dvi
*.fdb_latexmk
*.glg
*.glo
*.gls
*.idx
*.ilg
*.ind
*.ist
*.lof
*.log
*.lot
*.maf
*.mtc
*.mtc0
*.nav
*.nlo
*.out
*.pdfsync
*.ps
*.snm
*.synctex.gz
*.toc
*.vrb
*.xdy
*.tdo

##Github Perl Ignore
blib/
.build/
_build/
cover_db/
inc/
Build
!Build/
Build.bat
.last_cover_stats
Makefile
Makefile.old
MANIFEST.bak
META.yml
MYMETA.yml
nytprof.out
pm_to_blib
129 changes: 129 additions & 0 deletions TopTagger.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
//Comment
/*another comment*/
#a third comment
#The config language currently understands float, int, bool, and string types
#in both single value and array format
#variables defined outside a context (i.e. {} brackets) are not allowed

#The TopTagger section holds configuration properties for the top tagger object
TopTagger
{
#The module variable defines which modules will be run
#and in which order
#If a module is included more than once the context variable sets
#the name to use below for its option set

#Cluster constituents into candidates
module[0] = "TTMBasicClusterAlgo"

#Add initial candidates to top list
module[1] = "TTMOpenCVMVA"
module[2] = "TTMHEPRequirements"
module[3] = "TTMAK8TopFilter"

#Clean out tops with overlapping candiates
module[4] = "TTMOverlapResolution"
context[4] = "TTMOverlapResolution_monojet"

module[5] = "TTMOverlapResolution"
context[5] = "TTMOverlapResolution_dijet"

module[6] = "TTMOverlapResolution"
context[6] = "TTMOverlapResolution_Resolved"

#Find the remaining system
module[7] = "TTMRemainingSystem"

#do the final sort of the top list
module[8] = "TTMFinalSort"
}
#The Common section holds config info or constants which may be needed
#in multiple modules
Common
{
#basic constants
mW = 80.385
mt = 173.5

#eta cut applied to all final tops
maxTopEta = 2.0
#matching criterion between AK8 subjets and AK4 jets
dRMatch = 0.4
}
#Below we have a section for each module specified above to define
#the module specific options
TTMBasicClusterAlgo
{
#Resolved tagger Variables
doTrijet = true
minTopCandMass = 100
maxTopCandMass = 250
minAK4ResolvedPt = 30
dRMaxTrijet = 1.5

#Boosted W tagger parameters
doDijet = true
minAK8WMass = 65
maxAK8WMass = 100
maxWTau21 = 0.60
minAK8WPt = 200
minAK4WPt = 60
dRMaxDijet = 1.0

#Boosted top tagger parameters
doMonojet = true
minAK8TopMass = 105
maxAK8TopMass = 210
maxTopTau32 = 0.65
minAK8TopPt = 400
}
TTMHEPRequirements
{
#Parameters used for tri & dijets
Rmin = 0.85
Rmax = 1.25

#b-counting parameters used only for trijets
csvThreshold = 0.800
bEtaCut = 2.4
maxNbInTop = 1

doMonojet = false
doDijet = true
doTrijet = false
}
TTMOpenCVMVA
{
discCut = 0.65
modelFile = "TrainingOutput.model"
}
#TTMAK8TopFilter
#{
# #I'm lonely, give me options!
#}
TTMOverlapResolution_Resolved
{
NConstituents = 3
sortMethod = "mvaDiscWithb"
}
TTMOverlapResolution_dijet
{
NConstituents = 2
sortMethod = "topMass"
}
TTMOverlapResolution_monojet
{
NConstituents = 1
sortMethod = "none"
}
TTMRemainingSystem
{
lowRsysMass = 50
highRsysMass = 220
dRMaxRsys = -1.0
useSecondJet = true
}
TTMFinalSort
{
sortMethod = "topPt"
}

0 comments on commit d531b71

Please sign in to comment.