#include <PartonQualifier.h>
Public Member Functions | |
bool | operator() (const reco::GenParticle &) |
PartonQualifier (const edm::ParameterSet &) | |
~PartonQualifier () | |
Private Attributes | |
std::vector< int > | partons_ |
int | status_ |
Definition at line 12 of file PartonQualifier.h.
PartonQualifier::PartonQualifier | ( | const edm::ParameterSet & | cfg | ) | [inline] |
Definition at line 26 of file PartonQualifier.h.
: status_ ( cfg.getParameter<int>( "status" ) ), partons_( cfg.getParameter<std::vector<int> >( "partons" ) ) { }
PartonQualifier::~PartonQualifier | ( | ) | [inline] |
Definition at line 16 of file PartonQualifier.h.
{};
bool PartonQualifier::operator() | ( | const reco::GenParticle & | part | ) | [inline] |
Definition at line 33 of file PartonQualifier.h.
References prof2calltree::count, partons_, reco::LeafCandidate::pdgId(), reco::LeafCandidate::status(), and status_.
std::vector<int> PartonQualifier::partons_ [private] |
Definition at line 22 of file PartonQualifier.h.
Referenced by operator()().
int PartonQualifier::status_ [private] |
Definition at line 21 of file PartonQualifier.h.
Referenced by operator()().