Skip to content

Selecting photon cleaned fat jets #310

@caleb-james-smith

Description

@caleb-james-smith

Unable to select photon cleaned fat jets in this way:

PDC dcMC_GJets_MergedTop_nGenPart_recalc("single",         "FatJet_nGenPart{FatJet_Stop0l=1;!FatJet_matchesPhoton}", {makePDSGJets("recalc",             "SAT_Pass_Baseline_drPhotonCleaned"   + JetPtCut + Flag_ecalBadCalibFilter + semicolon_HEMVeto, "Stop0l_DeepAK8_SFWeight_recalc")});

Error:

cmslpc129.fnal.gov Tools # (doMoreThingsBecauseReasons) time ./makePlots -st -D GJets_HT_600ToInf_2016 -Y 2016 -E 1000 -R Data_MET_2016 | grep -v LHAPDF
Using luminosity 35815.2
Processing file(s): /eos/uscms/store/user/lpcsusyhad/Stop_production/Summer16_94X_v3/PostProcessed_22Feb2019_v6
	root://cmseos.fnal.gov//eos/uscms/store/user/lpcsusyhad/Stop_production/Summer16_94X_v3/PostProcessed_22Feb2019_v6//GJets_HT_600ToInf_2016/GJets_HT_600ToInf_2016_0.root

 *** Break *** segmentation violation

 ===========================================================
 #6  Plotter::Cut::boolReturn (this=0x34179e8, tr=...) at Plotter.cc:711
 #7  0x00000000005230ec in Plotter::Cut::passCut (this=this
 entry=0x34179e8, tr=..., index=index
 entry=1) at Plotter.cc:658
 #8  0x000000000052316b in Plotter::Cuttable::passCuts (this=<optimized out>, tr=..., index=1) at Plotter.cc:719
 #9  0x000000000053b032 in Plotter::fillHistFromVec<int> (this=<optimized out>, h=0xbd4a4a0, name=..., tr=..., weight=0.11332885342286718) at Plotter.h:293
 #10 0x00000000005250eb in Plotter::fillHist (weight=0.11332885342286718, tr=..., name=..., h=0xbd4a4a0, this=0x7fff94bbd250) at Plotter.cc:1321
 #11 Plotter::createHistsFromTuple (this=0x7fff94bbd250) at Plotter.cc:522
 #12 0x0000000000525775 in Plotter::read (this=<optimized out>) at Plotter.cc:104
 #13 0x00000000004b8b9a in main (argc=<optimized out>, argv=<optimized out>) at MakePlots.C:4209
 ===========================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions