3 #include "TClonesArray.h"
5 #include "classes/DelphesClasses.h"
29 std::vector<Jet*> all_jets;
30 for (
int ijet = 0; ijet <
getJets()->GetEntries(); ijet++)
34 all_jets.push_back(jet);
37 std::vector<Jet*> fiducial_jets = SelectorFcn<Jet>(all_jets, [](
Jet* j){
return (TMath::Abs(j->Eta) < 3.0 && j->PT > 5.0); });
38 std::vector<Jet*> charmJets = SelectorFcn<Jet>(fiducial_jets, [](
Jet* j){
return (j->Flavor == 4); });
41 (*DataStore)[
"CharmJets"] = charmJets;