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,
 
list savePreFSRParticleIds = [ 1,2,3,4,5, 11,12,13,14,15,16, 21 ]
 
list 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 265 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeAllGenParticles = True,

Definition at line 262 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeSplittedGenLists = True,

Definition at line 264 of file GeneratorAnalyzer.py.

list gen.GeneratorAnalyzer.savePreFSRParticleIds = [ 1,2,3,4,5, 11,12,13,14,15,16, 21 ]

Definition at line 260 of file GeneratorAnalyzer.py.

list gen.GeneratorAnalyzer.stableBSMParticleIds = [ 1000022 ]

Definition at line 256 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.verbose = False,

Definition at line 267 of file GeneratorAnalyzer.py.