CMS 3D CMS Logo

Namespaces | Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/Validation/EventGenerator/src/HepMCValidationHelper.cc File Reference

#include "Validation/EventGenerator/interface/HepMCValidationHelper.h"
#include "DataFormats/Math/interface/deltaR.h"
#include <iostream>
#include <cassert>
#include <limits>
#include "TLorentzVector.h"

Go to the source code of this file.

Namespaces

namespace  HepMCValidationHelper

Functions

void HepMCValidationHelper::allStatus1 (const HepMC::GenEvent *all, std::vector< const HepMC::GenParticle * > &status1)
void HepMCValidationHelper::allStatus2 (const HepMC::GenEvent *all, std::vector< const HepMC::GenParticle * > &status2)
void HepMCValidationHelper::allStatus3 (const HepMC::GenEvent *all, std::vector< const HepMC::GenParticle * > &status3)
void HepMCValidationHelper::allVisibleParticles (const HepMC::GenEvent *all, std::vector< const HepMC::GenParticle * > &visible)
void HepMCValidationHelper::findDescendents (const HepMC::GenParticle *a, std::vector< const HepMC::GenParticle * > &descendents)
void HepMCValidationHelper::findFSRPhotons (const std::vector< const HepMC::GenParticle * > &leptons, const std::vector< const HepMC::GenParticle * > &all, double deltaR, std::vector< const HepMC::GenParticle * > &photons)
void HepMCValidationHelper::findFSRPhotons (const std::vector< const HepMC::GenParticle * > &leptons, const HepMC::GenEvent *all, double deltaR, std::vector< const HepMC::GenParticle * > &photons)
TLorentzVector HepMCValidationHelper::genMet (const HepMC::GenEvent *all, double etamin=-9999., double etamax=9999.)
bool HepMCValidationHelper::isChargedLepton (const HepMC::GenParticle *part)
bool HepMCValidationHelper::isNeutrino (const HepMC::GenParticle *part)
bool HepMCValidationHelper::isTau (const HepMC::GenParticle *part)
void HepMCValidationHelper::removeIsolatedLeptons (const HepMC::GenEvent *all, double deltaR, double sumPt, std::vector< const HepMC::GenParticle * > &pruned)