#include <GenParticleCustomSelector.h>
Definition at line 11 of file GenParticleCustomSelector.h.
GenParticleCustomSelector::GenParticleCustomSelector |
( |
| ) |
|
|
inline |
GenParticleCustomSelector::GenParticleCustomSelector |
( |
double |
ptMin, |
|
|
double |
minRapidity, |
|
|
double |
maxRapidity, |
|
|
double |
tip, |
|
|
double |
lip, |
|
|
bool |
chargedOnly, |
|
|
int |
status, |
|
|
const std::vector< int > & |
pdgId = std::vector<int>() |
|
) |
| |
|
inline |
Operator() performs the selection: e.g. if (tPSelector(tp)) {...}.
Definition at line 22 of file GenParticleCustomSelector.h.
References reco::LeafCandidate::charge(), chargedOnly_, reco::LeafCandidate::eta(), lip_, maxRapidity_, minRapidity_, reco::LeafCandidate::pdgId(), pdgId_, reco::LeafCandidate::pt(), ptMin_, mathSSE::sqrt(), reco::LeafCandidate::status(), status_, tip_, and reco::LeafCandidate::vertex().
26 unsigned int idSize =
pdgId_.size();
27 if (idSize==0) testId =
true;
28 else for (
unsigned int it=0;it!=idSize;++it){
virtual const Point & vertex() const
vertex position (overwritten by PF...)
virtual int pdgId() const GCC11_FINAL
PDG identifier.
std::vector< int > pdgId_
virtual int status() const GCC11_FINAL
status word
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
virtual int charge() const GCC11_FINAL
electric charge
virtual float pt() const GCC11_FINAL
transverse momentum
bool GenParticleCustomSelector::chargedOnly_ |
|
private |
double GenParticleCustomSelector::lip_ |
|
private |
double GenParticleCustomSelector::maxRapidity_ |
|
private |
double GenParticleCustomSelector::minRapidity_ |
|
private |
std::vector<int> GenParticleCustomSelector::pdgId_ |
|
private |
double GenParticleCustomSelector::ptMin_ |
|
private |
int GenParticleCustomSelector::status_ |
|
private |
double GenParticleCustomSelector::tip_ |
|
private |