/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
AnalysisDataFormats/TopObjects/interface/TtFullHadEvtPartons.h
33 строки
1 KB
Christopher Jones
Avoid direct forward declarations of data product classes
21 янв 2026, 20:32
21 янв 2026, 20:32
72d73bd
Код
Авторство
О чём код?
#ifndef TtFullHadEvtPartons_h #define TtFullHadEvtPartons_h #include "AnalysisDataFormats/TopObjects/interface/TtEventPartons.h" #include "DataFormats/Candidate/interface/CandidateOnlyFwd.h" #include <vector> /** \class TtFullHadEvtPartons TtFullHadEvtPartons.h "AnalysisDataFormats/TopObjects/interface/TtFullHadEvtPartons.h" \brief Class to fill partons in a well defined order for fully-hadronic ttbar events This class is mainly used for the jet-parton matching in TopTools. */ class TtGenEvent; class TtFullHadEvtPartons : public TtEventPartons { public: /// fully-hadronic parton enum used to define the order /// in the vector for lepton and jet combinatorics enum { LightQ, LightQBar, B, LightP, LightPBar, BBar }; public: /// default constructor TtFullHadEvtPartons(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