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

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

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

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