cms-tth / commonclassifier Goto Github PK
View Code? Open in Web Editor NEWUse the gitlab repo
Home Page: https://gitlab.cern.ch/ttH/CommonClassifier/tree/master
Use the gitlab repo
Home Page: https://gitlab.cern.ch/ttH/CommonClassifier/tree/master
As discussed by voice, we'd like to run the CommonClassifier on a common set of input ntuples using either local clusters or crab.
I see the following subtasks:
scriptExe
and userInputFiles
Hi,
I think you forgot to commit dlbdtweights_v4 folder in data, as it used here:
https://github.com/cms-ttH/CommonClassifier/blob/master/src/DLBDTClassifier.cpp#L9
but there is not any dlbdtweights_v4 directory in
https://github.com/cms-ttH/CommonClassifier/tree/master/data
Silvio.
@kelmorab can you think of a way we can easily include loose jets in the common input format, without much overhead on the MEM or BDT side or large duplication of data?
Do you still use/need them for the BDT?
@kelmorab, @hannes-kit Could you kindly provide some BDT synch events with the event:run:lumi triplet, the input objects and the final discriminant so that I can verify we get the same values on our side? Especially what concerns the categorization.
I want to do this check before submitting a larger amount of jobs later today with both discriminants.
Thanks to the latest fix the MEM now runs smoothly for most events.
For a handful of events it still crashes, with a different error.
These events all have > 6 jets.
examples in ttH, H to bb:
event:run:lumi
1593159:1:7991
and
150241:1:754
and in ttbar, with additional info and stack trace:
event:run:lumi
59570647:1:299084
leptons (pt,eta,phi,m)
126.945, -1.88403, -3.02744, -0.115682
charges
1
jets (pt,eta,phi,m)
501.417, 2.2811, -1.10875, 33.4757
303.239, 0.134901, 0.01524, 48.9784
288.159, -0.129923, 1.94525, 29.5478
208.281, -0.388358, 2.54501, 36.836
177.983, -2.39063, -2.78664, 14.9357
172.347, -0.820916, 0.22674, 31.2052
137.964, 0.291562, 0.572221, 15.1946
121.494, -1.80933, 2.84316, 8.33387
csvs
0.90129
0.935117
0.0753409
0.777084
0.483106
0.947831
0.992282
0.968503
met
144.91, -0, -2.8977, 0.0770698
blr=-nan perm
#0 0x000000397920f2ee in waitpid () from /lib64/libpthread.so.0
#1 0x00007fcccaac90b8 in sig_dostack_then_abort () from /cvmfs/cms.cern.ch/slc6_amd64_gcc491/cms/cmssw/CMSSW_7_4_15/lib/slc6_amd64_gcc491/libFWCoreServices.so
#2
#3 __find_if<__gnu_cxx::__normal_iterator<unsigned int*, std::vector >, __gnu_cxx::__ops::_Iter_equals_val > (__pred=..., __last=..., __first=...) at /cvmfs/cms.cern.ch/slc6_amd64_gcc491/external/gcc/4.9.1-cms/include/c++/4.9.1/bits/stl_algo.h:120
#4 __find_if<__gnu_cxx::__normal_iterator<unsigned int*, std::vector >, __gnu_cxx::__ops::_Iter_equals_val > (__pred=..., __last=..., __first=...) at /cvmfs/cms.cern.ch/slc6_amd64_gcc491/external/gcc/4.9.1-cms/include/c++/4.9.1/bits/stl_algo.h:162
#5 find<__gnu_cxx::__normal_iterator<unsigned int*, std::vector >, unsigned int> (__val=, __last=..., __first=...) at /cvmfs/cms.cern.ch/slc6_amd64_gcc491/external/gcc/4.9.1-cms/include/c++/4.9.1/bits/stl_algo.h:3779
#6 MEMClassifier::GetOutput (this=0x7fccb4966918, selectedLeptonP4=..., selectedLeptonCharge=..., selectedJetP4=..., selectedJetCSV=..., looseSelectedJetP4=..., looseSelectedJetCSV=..., metP4=...)
Thanks Karim & Matthias for setting up the repo.
I think the format you propose is very good. For the b-tag likelihood ratio + MEM, the inputs you provide are sufficient. Here are some comments.
selectedJets
, looseSelectedJets
and selectedLeptons
.Hi,
i have been trying out the ME calculation using CMSSW_7_4_15.
I noticed that in a handful of events the MEMClassifier::GetOutput() returns a likelihood of "-nan".
In addition the following error is thrown
"Error in : Error 4 in vegas.c at 125 : xu must be greater than xl"
One example of this is an event with the following objects ( i assume that the ME calculation is insensitive to the choice of loose Jets)
Jets
pT, eta, phi, m, CSV
518.77 0.171288 -1.94303 49.4749 0.954083
461.506 0.780774 -2.96856 35.2939 0.931893
357.21 -1.81017 -2.6702 81.0336 0.437264
135.256 -1.505 0.84148 18.6924 0.984609
127.936 -0.333424 0.785695 15.1224 0.981502
66.6588 -1.26149 0.287357 5.65576 0.795801
45.0715 -1.46564 -2.32143 6.67862 0.118983
31.8205 1.01518 -0.135409 5.48534 0.185583
Lepton
pT, eta, phi, m, charge
147.816 -0.851258 0.780131 0.0390204 1
MET
pT, eta, phi, m
776.091 -0 0.618897 0
Best Regards,
Karim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.