3 #include "TClonesArray.h"
38 std::vector<Jet*> all_jets;
39 for (
int ijet = 0; ijet <
getJets()->GetEntries(); ijet++)
42 all_jets.push_back(jet);
46 std::vector<Jet*> fiducial_jets = SelectorFcn<Jet>(all_jets, [](
Jet* j){
return (TMath::Abs(j->Eta) < 3.0 && j->PT > 5.0); });
53 std::vector<Jet*> charmtagged_jets;
54 for (
auto jet : fiducial_jets) {
55 if (
Tagged_sIP3D(jet, *tracks, 3.75, 1.00, 2.0) ==
true) {
56 charmtagged_jets.push_back(jet);
59 (*DataStore)[
"CharmJets"] = charmtagged_jets;