Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:31

0001 #ifndef TtFullHadEvtPartons_h
0002 #define TtFullHadEvtPartons_h
0003 
0004 #include "AnalysisDataFormats/TopObjects/interface/TtEventPartons.h"
0005 
0006 #include <vector>
0007 
0008 /**
0009    \class   TtFullHadEvtPartons TtFullHadEvtPartons.h "AnalysisDataFormats/TopObjects/interface/TtFullHadEvtPartons.h"
0010 
0011    \brief   Class to fill partons in a well defined order for fully-hadronic 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 TtFullHadEvtPartons : public TtEventPartons {
0022 public:
0023   /// fully-hadronic parton enum used to define the order
0024   /// in the vector for lepton and jet combinatorics
0025   enum { LightQ, LightQBar, B, LightP, LightPBar, BBar };
0026 
0027 public:
0028   /// default constructor
0029   TtFullHadEvtPartons(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