diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e014ffd --- /dev/null +++ b/.gitignore @@ -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 diff --git a/TopTagger.cfg b/TopTagger.cfg new file mode 100644 index 0000000..23f2087 --- /dev/null +++ b/TopTagger.cfg @@ -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" +} \ No newline at end of file