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

◆ interestingPdgId()

def gen.GeneratorAnalyzer.interestingPdgId (   id,
  includeLeptons = False 
)

Definition at line 7 of file GeneratorAnalyzer.py.

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 

References funct.abs().

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

Variable Documentation

◆ allGenTaus

gen.GeneratorAnalyzer.allGenTaus

Definition at line 270 of file GeneratorAnalyzer.py.

◆ makeAllGenParticles

gen.GeneratorAnalyzer.makeAllGenParticles

Definition at line 267 of file GeneratorAnalyzer.py.

◆ makeSplittedGenLists

gen.GeneratorAnalyzer.makeSplittedGenLists

Definition at line 269 of file GeneratorAnalyzer.py.

◆ savePreFSRParticleIds

gen.GeneratorAnalyzer.savePreFSRParticleIds

Definition at line 265 of file GeneratorAnalyzer.py.

◆ stableBSMParticleIds

gen.GeneratorAnalyzer.stableBSMParticleIds

Definition at line 261 of file GeneratorAnalyzer.py.

◆ verbose

gen.GeneratorAnalyzer.verbose

Definition at line 272 of file GeneratorAnalyzer.py.

gen.GeneratorAnalyzer.interestingPdgId
def interestingPdgId(id, includeLeptons=False)
Definition: GeneratorAnalyzer.py:7
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22