19 int st = partonStatus_.size();
20 int pt = partonPt_.size();
26 id = particleId_.size();
27 st = particleStatus_.size();
28 pt = particlePt_.size();
30 if(particleId_.size() != particleStatus_.size() || particleId_.size() != particlePt_.size()){
38 HepMC::GenEvent::particle_const_iterator
begin = evt->particles_begin();
39 HepMC::GenEvent::particle_const_iterator
end = evt->particles_end();
41 bool foundParticle =
false;
42 bool foundParton =
false;
44 HepMC::GenEvent::particle_const_iterator it =
begin;
45 while((!foundParton || !foundParticle) && it != end){
55 return (foundParton && foundParticle);
std::vector< int > partonId_
T getParameter(std::string const &) const
std::vector< double > partonPt_
std::vector< int > particleStatus_
bool selectParticle(HepMC::GenParticle *par, int status, int pdg, double ptMin, double etaMax)
std::vector< int > particleId_
EcalGenEvtSelector(const edm::ParameterSet &pset)
std::vector< double > particlePt_
bool filter(HepMC::GenEvent *)
std::vector< int > partonStatus_