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

References funct.abs().

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

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

Variable Documentation

gen.GeneratorAnalyzer.allGenTaus

Definition at line 270 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeAllGenParticles

Definition at line 267 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.makeSplittedGenLists

Definition at line 269 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.savePreFSRParticleIds

Definition at line 265 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.stableBSMParticleIds

Definition at line 261 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.verbose

Definition at line 272 of file GeneratorAnalyzer.py.