CMS 3D CMS Logo

Classes | Functions | Variables
gen.GeneratorAnalyzer Namespace Reference

Classes

class  GeneratorAnalyzer
 

Functions

def interestingPdgId (id, includeLeptons=False)
 

Variables

 allGenTaus
 
 makeAllGenParticles
 
 makeSplittedGenLists
 
 savePreFSRParticleIds
 
 stableBSMParticleIds
 
 verbose
 

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 def interestingPdgId(id,includeLeptons=False):
6  id = abs(id)
7  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
8 
def interestingPdgId(id, includeLeptons=False)
Abs< T >::type abs(const T &t)
Definition: Abs.h:22

Variable Documentation

gen.GeneratorAnalyzer.allGenTaus

Definition at line 268 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeAllGenParticles

Definition at line 265 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeSplittedGenLists

Definition at line 267 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.savePreFSRParticleIds

Definition at line 263 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.stableBSMParticleIds

Definition at line 259 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.verbose

Definition at line 270 of file GeneratorAnalyzer.py.