Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-25 05:51:26

0001 #ifndef TtFullLepEvtPartons_h
0002 #define TtFullLepEvtPartons_h
0003 
0004 #include "AnalysisDataFormats/TopObjects/interface/TtEventPartons.h"
0005 
0006 #include <vector>
0007 
0008 /**
0009    \class   TtFullLepEvtPartons TtFullLepEvtPartons.h "AnalysisDataFormats/TopObjects/interface/TtFullLepEvtPartons.h"
0010 
0011    \brief   Class to fill partons in a well defined order for fully-leptonic ttbar events
0012 
0013    This class is mainly used for the jet-parton matching in TopTools.
0014 */
0015 
0016 namespace reco {
0017   class Candidate;
0018 }
0019 class TtGenEvent;
0020 
0021 class TtFullLepEvtPartons : public TtEventPartons {
0022 public:
0023   /// fully-leptonic parton enum used to define the order
0024   /// in the vector for lepton and jet combinatorics
0025   enum { B, BBar, Lepton, LeptonBar };
0026 
0027 public:
0028   /// default constructor
0029   TtFullLepEvtPartons(const std::vector<std::string>& partonsToIgnore = std::vector<std::string>());
0030 
0031   /// return vector of partons in the order defined in the corresponding enum
0032   std::vector<const reco::Candidate*> vec(const TtGenEvent& genEvt) const override;
0033 };
0034 
0035 #endif