cms-ttH / CommonClassifier

Use the gitlab repo
https://gitlab.cern.ch/ttH/CommonClassifier/tree/master
0 stars 5 forks source link

More flexible MEM - Can also do subjet analysis #16

Closed gkasieczka closed 8 years ago

gkasieczka commented 8 years ago

This PR enables the MEM on dilepton events, as well as running MEM on subjets. The interface has changed slightly:

MEMResult GetOutput(
 +    const Hypothesis hypo,
      const std::vector<TLorentzVector>& selectedLeptonP4,
      const std::vector<double>& selectedLeptonCharge,
      const std::vector<TLorentzVector>& selectedJetP4,
      const std::vector<double>& selectedJetCSV,
 +    const std::vector<JetType>& selectedJetType,
      const std::vector<TLorentzVector>& looseSelectedJetP4,
      const std::vector<double>& looseSelectedJetCSV,
      TLorentzVector& metP4
    );

where Hypo choosing between , SL, SL_boosted, DL and JetType is a specific flag for boosted jets.

jpata commented 8 years ago

@hannes-kit @kelmorab please take a look that you accept the interface change, then we can merge.