TtFullLepEvtPartons

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
#ifndef TtFullLepEvtPartons_h
#define TtFullLepEvtPartons_h

#include "AnalysisDataFormats/TopObjects/interface/TtEventPartons.h"

#include <vector>

/**
   \class   TtFullLepEvtPartons TtFullLepEvtPartons.h "AnalysisDataFormats/TopObjects/interface/TtFullLepEvtPartons.h"

   \brief   Class to fill partons in a well defined order for fully-leptonic ttbar events

   This class is mainly used for the jet-parton matching in TopTools.
*/

namespace reco {
  class Candidate;
}
class TtGenEvent;

class TtFullLepEvtPartons : public TtEventPartons {
public:
  /// fully-leptonic parton enum used to define the order
  /// in the vector for lepton and jet combinatorics
  enum { B, BBar, Lepton, LeptonBar };

public:
  /// default constructor
  TtFullLepEvtPartons(const std::vector<std::string>& partonsToIgnore = std::vector<std::string>());

  /// return vector of partons in the order defined in the corresponding enum
  std::vector<const reco::Candidate*> vec(const TtGenEvent& genEvt) const override;
};

#endif