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

◆ isExotic()

bool isExotic ( int  pdgid_)
inline

Definition at line 146 of file ParticleManager.h.

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

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

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