CMS 3D CMS Logo

Classes | Namespaces | Functions
ParticleManager.h File Reference
#include "DataFormats/Math/interface/LorentzVector.h"
#include "HepMC/GenEvent.h"
#include <vector>
#include <memory>
#include "SimDataFormats/Track/interface/SimTrack.h"
#include "SimDataFormats/Vertex/interface/SimVertex.h"

Go to the source code of this file.

Classes

class  fastsim::ParticleManager
 Manages GenParticles and Secondaries from interactions. More...
 

Namespaces

 fastsim
 
 HepPDT
 

Functions

bool isExotic (int pdgid_)
 

Function Documentation

bool isExotic ( int  pdgid_)
inline

Definition at line 148 of file ParticleManager.h.

References funct::abs(), and BPhysicsValidation_cfi::pdgid.

Referenced by fastsim::Decayer::decay(), fastsim::ParticleManager::exoticRelativesChecker(), and fastsim::ParticleManager::nextGenParticle().

148  {
149  unsigned int pdgid = std::abs(pdgid_);
150  return ((pdgid >= 1000000 && pdgid < 4000000 && pdgid != 3000022) || // SUSY, R-hadron, and technicolor particles
151  pdgid == 17 || // 4th generation lepton
152  pdgid == 34 || // W-prime
153  pdgid == 37); // charged Higgs
154 }
Abs< T >::type abs(const T &t)
Definition: Abs.h:22