CMS 3D CMS Logo

Functions | Variables
TauNeuralClassifiers_cfi Namespace Reference

Functions

def UpdateCuts (producer, cut_set)
 

Variables

 decayModes
 
 dmCodeTrans
 
 nCharged
 
 nPiZeros
 
 PFTauProducer
 
 Prediscriminants
 
 RunTanc
 
 shrinkingConePFTauDiscriminationByTaNCfrHalfPercent
 
 shrinkingConePFTauDiscriminationByTaNCfrOnePercent
 
 shrinkingConePFTauDiscriminationByTaNCfrQuarterPercent
 
 shrinkingConePFTauDiscriminationByTaNCfrTenthPercent
 
 TauDecayModeCutMutliplexerPrototype
 
 toMultiplex
 

Function Documentation

def TauNeuralClassifiers_cfi.UpdateCuts (   producer,
  cut_set 
)

Definition at line 21 of file TauNeuralClassifiers_cfi.py.

21 def UpdateCuts(producer, cut_set):
22  oldDecayModes = producer.decayModes
23  newDecayModes = cms.VPSet()
24  for dm in oldDecayModes:
25  cut = cut_set[dmCodeTrans[(dm.nCharged.value(), dm.nPiZeros.value())]]
26  cut += 1.0
27  cut /= 2.0
28  newDecayMode = copy.deepcopy(dm)
29  newDecayMode.cut = cms.double(cut)
30  newDecayModes.append(newDecayMode)
31  producer.decayModes = newDecayModes
32 
def UpdateCuts(producer, cut_set)

Variable Documentation

TauNeuralClassifiers_cfi.decayModes

Definition at line 39 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.dmCodeTrans

Definition at line 13 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.nCharged

Definition at line 41 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.nPiZeros

Definition at line 42 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.PFTauProducer

Definition at line 35 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.Prediscriminants

Definition at line 37 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.RunTanc

Definition at line 78 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.shrinkingConePFTauDiscriminationByTaNCfrHalfPercent

Definition at line 69 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.shrinkingConePFTauDiscriminationByTaNCfrOnePercent

Definition at line 63 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.shrinkingConePFTauDiscriminationByTaNCfrQuarterPercent

Definition at line 72 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.shrinkingConePFTauDiscriminationByTaNCfrTenthPercent

Definition at line 75 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.TauDecayModeCutMutliplexerPrototype

Definition at line 33 of file TauNeuralClassifiers_cfi.py.

TauNeuralClassifiers_cfi.toMultiplex

Definition at line 36 of file TauNeuralClassifiers_cfi.py.