CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
HepMCValidationHelper.cc File Reference
#include "Validation/EventGenerator/interface/HepMCValidationHelper.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <limits>
#include "TLorentzVector.h"

Go to the source code of this file.

Namespaces

 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)