Common base class for TtFullLepEvtPartons, TtFullHadEvtPartons and TtSemiLepEvtPartons. More...
#include "AnalysisDataFormats/TopObjects/interface/TtEventPartons.h"
Public Member Functions | |
void | expand (std::vector< int > &vec) |
insert dummy index -3 for all partons that were chosen to be ignored More... | |
TtEventPartons () | |
default constructor More... | |
virtual std::vector< const reco::Candidate * > | vec (const TtGenEvent &genEvt)=0 |
virtual | ~TtEventPartons () |
default destructor More... | |
Protected Member Functions | |
reco::Candidate * | dummyCandidatePtr () const |
return pointer to an empty reco::Candidate More... | |
void | prune (std::vector< const reco::Candidate * > &vec) |
erase partons from vector if they where chosen to be ignored More... | |
Protected Attributes | |
std::vector< bool > | ignorePartons_ |
flag partons that were chosen not to be used More... | |
Common base class for TtFullLepEvtPartons, TtFullHadEvtPartons and TtSemiLepEvtPartons.
Definition at line 17 of file TtEventPartons.h.
|
inline |
|
inlinevirtual |
|
inlineprotected |
return pointer to an empty reco::Candidate
Definition at line 36 of file TtEventPartons.h.
References GenParticle::GenParticle.
Referenced by TtFullHadEvtPartons::vec(), TtSemiLepEvtPartons::vec(), and TtFullLepEvtPartons::vec().
void TtEventPartons::expand | ( | std::vector< int > & | vec | ) |
insert dummy index -3 for all partons that were chosen to be ignored
Definition at line 4 of file TtEventPartons.cc.
References i, and ignorePartons_.
|
protected |
erase partons from vector if they where chosen to be ignored
Definition at line 16 of file TtEventPartons.cc.
References i, and ignorePartons_.
Referenced by dirstructure.Directory::prune(), TtFullLepEvtPartons::vec(), TtSemiLepEvtPartons::vec(), and TtFullHadEvtPartons::vec().
|
pure virtual |
return vector of partons in the order defined in the corresponding enum (method implemented in the derived classes)
Implemented in TtFullHadEvtPartons, TtFullLepEvtPartons, and TtSemiLepEvtPartons.
|
protected |
flag partons that were chosen not to be used
Definition at line 42 of file TtEventPartons.h.
Referenced by expand(), prune(), TtFullHadEvtPartons::TtFullHadEvtPartons(), TtFullLepEvtPartons::TtFullLepEvtPartons(), and TtSemiLepEvtPartons::TtSemiLepEvtPartons().