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 6 of file GeneratorAnalyzer.py.

References funct.abs().

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

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

Variable Documentation

gen.GeneratorAnalyzer.allGenTaus

Definition at line 269 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeAllGenParticles

Definition at line 266 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeSplittedGenLists

Definition at line 268 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.savePreFSRParticleIds

Definition at line 264 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.stableBSMParticleIds

Definition at line 260 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.verbose

Definition at line 271 of file GeneratorAnalyzer.py.