Created
October 2, 2017 19:44
-
-
Save lukasheinrich/b531f81f8c1b98b1cc760d1a04c8dd0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jets bjets, recon_jets; //note: here you create 2 empty containers "bjets" and "recon_jets" | |
foreach(const Jet & jet, jets) { //loop over non-empty container jets (from the projection) assign to variable "jet" | |
if(jet.containsBottom()){ | |
bjets.push_back(jet);} | |
else{ | |
recon_jets.push_back(jet); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment