Skip to content
Snippets Groups Projects

Column accumulator manager

Merged Davide Valsecchi requested to merge github/fork/valsdav/column_accumulator into main

Added the possibility to export collections of columns for specific samples and categories from the category. A simple ColumnsManager has been added to handle the filling of the requested columns. The configuration work thanks to the ColOut object which stores the collection and requested branches to output.

 "columns": {
        "common": {
            "inclusive": [ ],
            
        },
        "bysample": {
            "ttHTobb":{
                "bycategory" : {
                    "semilep_LHE": [
                        ColOut("Parton",["pt","eta","phi", "pdgId", "provenance"]),
                        ColOut("PartonMatched",["pt","eta","phi", "pdgId", "provenance", "dRMatchedJet"] ),
                        ColOut("JetGood",["pt","eta","phi", "hadronFlavour", "btagDeepFlavB"]),
                        ColOut("JetGoodMatched",["pt","eta","phi", "hadronFlavour", "btagDeepFlavB","dRMatchedJet"]),
                    ]
            }
            }
        },
        
    }

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading