Particles.cpp File Reference
#include "boost/range/algorithm/find_if.hpp"
#include "boost/range/algorithm/sort.hpp"
#include <boost/range/algorithm_ext/erase.hpp>
#include <boost/range/algorithm/copy.hpp>
#include <boost/range/adaptors.hpp>
#include "boca/generic/Types.hh"
#include "boca/fastjet/Particles.hh"
#include "boca/generic/DEBUG_MACROS.hh"
Include dependency graph for Particles.cpp:

Namespaces

 boca
 Boosted Collider Analysis.
 

Functions

std::vector< Particle > boca::CopyIfRelativeIs (std::vector< Particle > const &particles, Relative relative, Id id)
 
std::vector< Particle > boca::CopyIfRelativeIs (const std::vector< boca::Particle > &particles, boca::Relative relative, std::vector< Id > const &ids)
 
std::vector< Particle > boca::CopyIfRelativeIsExactly (std::vector< Particle > const &particles, Relative relative, int id)
 
std::vector< Particle > boca::CopyIfRelativeIsExactly (std::vector< Particle > const &particles, Relative relative, std::vector< int > const &ids)
 
std::vector< Particle > boca::RemoveIfRelativeIs (std::vector< Particle > particles, Relative relative, Id id)
 
std::vector< Particle > boca::RemoveIfRelativeIs (std::vector< Particle > particles, Relative relative, std::vector< Id > const &id)
 
std::vector< Particle > boca::RemoveIfRelativeIsExactly (std::vector< Particle > particles, Relative relative, int id)
 
std::vector< Particle > boca::RemoveIfRelativeIsExactly (std::vector< Particle > particles, Relative relative, std::vector< int > const &id)
 
std::vector< Particle > boca::CopyIfParticle (std::vector< Particle > const &particles, Id id)
 
std::vector< Particle > boca::CopyIfParticles (std::vector< Particle > const &particles, std::vector< Id > const &ids)
 
std::vector< Particle > boca::CopyIfExactParticle (std::vector< Particle > const &particles, int id)
 
std::vector< Particle > boca::RemoveIfExactParticle (std::vector< Particle > const &particles, int id)
 
std::vector< Particle > boca::CopyIfNeutrino (std::vector< Particle > const &particles)
 
std::vector< Particle > boca::CopyIfLepton (std::vector< Particle > const &particles)
 
std::vector< Particle > boca::CopyIfFamily (std::vector< Particle > const &particles, Id id, Id mother_id)
 
std::vector< Particle > boca::RemoveIfGrandFamily (std::vector< Particle > const &particles, Id id, Id grand_mother_id)
 returns only particles with the correct id and non fitting grand mother id More...
 
std::vector< Particle > boca::RemoveIfParticle (std::vector< Particle > const &particles, Id id)
 
std::vector< Particle > boca::CopyIfMother (std::vector< Particle > const &particles, Id mother_id)
 
std::vector< Particle > boca::CopyIfMother (std::vector< Particle > const &particles, std::vector< Id > const &mother_id)
 
std::vector< Particle > boca::CopyIfMother (std::vector< Particle > const &particles, Particle mother)
 
std::vector< Particle > boca::CopyIfGrandMother (std::vector< Particle > const &particles, Particle grand_mother)
 
std::vector< Particle > boca::RemoveIfMother (std::vector< Particle > const &particles, Id mother_id)
 
std::vector< Particle > boca::RemoveIfMother (std::vector< Particle > const &particles, std::vector< Id > const &mother_ids)
 
std::vector< Particle > boca::RemoveIfOnlyMother (std::vector< Particle > particles, Id id)
 
std::vector< Particle > boca::CopyIfGrandMother (std::vector< Particle > const &particles, Id grand_mother_id)
 
std::vector< Particle > boca::CopyIfGreatGrandMother (std::vector< Particle > const &particles, Id grand_grand_mother_id)
 
std::vector< Particle > boca::CopyIfAncestor (std::vector< Particle > const &particles, Id ancestor)
 
std::vector< Particle > boca::RemoveIfSingleMother (std::vector< Particle > const &particles)
 
std::vector< Particle > boca::RemoveIfLetpon (std::vector< Particle > const &particles)
 
std::vector< Particle > boca::RemoveIfQuark (std::vector< Particle > const &particles)
 
std::vector< Particle > boca::CopyIfQuark (std::vector< Particle > const &particles)
 
std::vector< Particle > boca::CopyIf5Quark (std::vector< Particle > const &particles)
 
std::vector< Particle > boca::CopyIfDaughter (std::vector< Particle > const &particles, std::vector< Particle > const &daughters)
 
std::vector< Particle > boca::RemoveIfDaughter (std::vector< Particle > const &particles, std::vector< Particle > const &daughters)
 
std::vector< Particle > boca::CopyIfGrandDaughter (std::vector< Particle > const &particles, std::vector< Particle > const &daughters)
 
std::vector< Particle > boca::CopyIfPosition (std::vector< Particle > const &particles, int position)
 
std::vector< Particle > boca::CopyIfPosition (std::vector< Particle > const &particles, int position_1, int position_2)
 
std::vector< Particle > boca::CopyFirst (std::vector< Particle > particles, std::size_t number)
 
std::vector< Particle > boca::CopyIfDrellYan (std::vector< Particle > const &particles)
 Copy the two particles which are on the DY position. More...
 
void boca::PrintParticles (std::vector< Particle > const &particles)