Go to the documentation of this file. 1 #ifndef _HI_PartonHadronDecayGenEvtSelector_h__
2 #define _HI_PartonHadronDecayGenEvtSelector_h__
14 return (par->status() ==
status &&
abs(par->pdg_id()) ==
pdg && par->momentum().perp() >
ptMin &&
15 fabs(par->momentum().eta()) <
etaMax);
25 return (par->status() ==
status &&
abs(par->pdg_id()) ==
pdg && par->momentum().eta() <
etaMax &&
26 par->momentum().eta() >
etaMin && par->momentum().rho() >
pMin && par->momentum().perp() <
ptMax &&
27 par->momentum().perp() >
ptMin);
std::vector< int > hadronStatus_
std::vector< double > hadronEtaMin_
std::vector< int > hadronId_
std::vector< double > partonPtMin_
std::vector< double > hadronPtMax_
bool selectParticle(HepMC::GenParticle *par, int status, int pdg, double ptMin, double etaMax)
std::vector< double > hadronPMin_
~PartonHadronDecayGenEvtSelector() override
bool selectParticle(HepMC::GenParticle *par, int status, int pdg, double etaMax, double etaMin, double pMin, double ptMax, double ptMin)
std::vector< int > partonId_
std::vector< int > partonStatus_
std::vector< double > hadronEtaMax_
std::vector< double > partonEtaMax_
std::vector< double > hadronPtMin_
Abs< T >::type abs(const T &t)
bool filter(HepMC::GenEvent *) override
PartonHadronDecayGenEvtSelector(const edm::ParameterSet &pset)