CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 7 of file GeneratorAnalyzer.py.

References funct.abs().

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

7 
8 def interestingPdgId(id,includeLeptons=False):
9  id = abs(id)
10  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 270 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeAllGenParticles = True,

Definition at line 267 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeSplittedGenLists = True,

Definition at line 269 of file GeneratorAnalyzer.py.

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

Definition at line 265 of file GeneratorAnalyzer.py.

list gen.GeneratorAnalyzer.stableBSMParticleIds = [ 1000022 ]

Definition at line 261 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.verbose = False,

Definition at line 272 of file GeneratorAnalyzer.py.