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 149 of file ParticleManager.h.

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

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

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