CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
gen.GeneratorAnalyzer Namespace Reference

Classes

class  GeneratorAnalyzer
 

Functions

def interestingPdgId
 

Variables

 allGenTaus = False,
 
 makeAllGenParticles = True,
 
 makeSplittedGenLists = True,
 
dictionary savePreFSRParticleIds = { 1,2,3,4,5, 11,12,13,14,15,16, 21 }
 
dictionary stableBSMParticleIds = { 1000022 }
 
 verbose = False,
 

Function Documentation

def gen.GeneratorAnalyzer.interestingPdgId (   id,
  includeLeptons = False 
)

Definition at line 5 of file GeneratorAnalyzer.py.

References funct.abs().

Referenced by gen.GeneratorAnalyzer.GeneratorAnalyzer.makeMCInfo().

5 
6 def interestingPdgId(id,includeLeptons=False):
7  id = abs(id)
8  return id in [6,7,8,17,18] or (includeLeptons and 11 <= id and id < 16) or (22 <= id and id < 40) or id > 1000000
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

Variable Documentation

gen.GeneratorAnalyzer.allGenTaus = False,

Definition at line 237 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeAllGenParticles = True,

Definition at line 234 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeSplittedGenLists = True,

Definition at line 236 of file GeneratorAnalyzer.py.

dictionary gen.GeneratorAnalyzer.savePreFSRParticleIds = { 1,2,3,4,5, 11,12,13,14,15,16, 21 }

Definition at line 232 of file GeneratorAnalyzer.py.

dictionary gen.GeneratorAnalyzer.stableBSMParticleIds = { 1000022 }

Definition at line 228 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.verbose = False,

Definition at line 239 of file GeneratorAnalyzer.py.