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 (bool fixLongLivedBug, int pdgid_)
 

Function Documentation

bool isExotic ( bool  fixLongLivedBug,
int  pdgid_ 
)
inline

Definition at line 151 of file ParticleManager.h.

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

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

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