CMS 3D CMS Logo

Namespaces | Functions
HepMCValidationHelper.h File Reference
#include <HepMC/GenEvent.h>
#include <vector>
#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.)
 
template<class T >
bool HepMCValidationHelper::GreaterByE (const T &a1, const T &a2)
 
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)
 
bool HepMCValidationHelper::sortByE (const HepMC::GenParticle *a, const HepMC::GenParticle *b)
 
bool HepMCValidationHelper::sortByPseudoRapidity (const HepMC::GenParticle *a, const HepMC::GenParticle *b)
 
bool HepMCValidationHelper::sortByPt (const HepMC::GenParticle *a, const HepMC::GenParticle *b)
 
bool HepMCValidationHelper::sortByRapidity (const HepMC::GenParticle *a, const HepMC::GenParticle *b)