Functions | |
def | UpdateCuts |
Variables | |
dictionary | dmCodeTrans |
tuple | RunTanc |
tuple | shrinkingConePFTauDiscriminationByTaNCfrHalfPercent = copy.deepcopy(TauDecayModeCutMutliplexerPrototype) |
tuple | shrinkingConePFTauDiscriminationByTaNCfrOnePercent = copy.deepcopy(TauDecayModeCutMutliplexerPrototype) |
tuple | shrinkingConePFTauDiscriminationByTaNCfrQuarterPercent = copy.deepcopy(TauDecayModeCutMutliplexerPrototype) |
tuple | shrinkingConePFTauDiscriminationByTaNCfrTenthPercent = copy.deepcopy(TauDecayModeCutMutliplexerPrototype) |
tuple | TauDecayModeCutMutliplexerPrototype |
def TauNeuralClassifiers_cfi::UpdateCuts | ( | producer, | |
cut_set | |||
) |
Definition at line 21 of file TauNeuralClassifiers_cfi.py.
00022 : 00023 oldDecayModes = producer.decayModes 00024 newDecayModes = cms.VPSet() 00025 for dm in oldDecayModes: 00026 cut = cut_set[dmCodeTrans[(dm.nCharged.value(), dm.nPiZeros.value())]] 00027 cut += 1.0 00028 cut /= 2.0 00029 newDecayMode = copy.deepcopy(dm) 00030 newDecayMode.cut = cms.double(cut) 00031 newDecayModes.append(newDecayMode) 00032 producer.decayModes = newDecayModes
dictionary TauNeuralClassifiers_cfi::dmCodeTrans |
00001 { 00002 (1,0) : 'OneProngNoPiZero', 00003 (1,1) : 'OneProngOnePiZero', 00004 (1,2) : 'OneProngTwoPiZero', 00005 (3,0) : 'ThreeProngNoPiZero', 00006 (3,1) : 'ThreeProngOnePiZero', 00007 }
Definition at line 13 of file TauNeuralClassifiers_cfi.py.
00001 cms.Sequence( 00002 shrinkingConePFTauDiscriminationByTaNCfrOnePercent+ 00003 shrinkingConePFTauDiscriminationByTaNCfrHalfPercent+ 00004 shrinkingConePFTauDiscriminationByTaNCfrQuarterPercent+ 00005 shrinkingConePFTauDiscriminationByTaNCfrTenthPercent 00006 )
Definition at line 78 of file TauNeuralClassifiers_cfi.py.
tuple TauNeuralClassifiers_cfi::shrinkingConePFTauDiscriminationByTaNCfrHalfPercent = copy.deepcopy(TauDecayModeCutMutliplexerPrototype) |
Definition at line 69 of file TauNeuralClassifiers_cfi.py.
tuple TauNeuralClassifiers_cfi::shrinkingConePFTauDiscriminationByTaNCfrOnePercent = copy.deepcopy(TauDecayModeCutMutliplexerPrototype) |
Definition at line 63 of file TauNeuralClassifiers_cfi.py.
tuple TauNeuralClassifiers_cfi::shrinkingConePFTauDiscriminationByTaNCfrQuarterPercent = copy.deepcopy(TauDecayModeCutMutliplexerPrototype) |
Definition at line 72 of file TauNeuralClassifiers_cfi.py.
tuple TauNeuralClassifiers_cfi::shrinkingConePFTauDiscriminationByTaNCfrTenthPercent = copy.deepcopy(TauDecayModeCutMutliplexerPrototype) |
Definition at line 75 of file TauNeuralClassifiers_cfi.py.
00001 cms.EDProducer( 00002 "RecoTauDecayModeCutMultiplexer", 00003 PFTauProducer = cms.InputTag("shrinkingConePFTauProducer"), 00004 toMultiplex = cms.InputTag('shrinkingConePFTauDiscriminationByTaNC'), 00005 Prediscriminants = shrinkingConeLeadTrackFinding, 00006 #computers = TaNC, 00007 decayModes = cms.VPSet( 00008 cms.PSet( 00009 nCharged = cms.uint32(1), 00010 nPiZeros = cms.uint32(0), 00011 ), 00012 cms.PSet( 00013 nCharged = cms.uint32(1), 00014 nPiZeros = cms.uint32(1), 00015 ), 00016 cms.PSet( 00017 nCharged = cms.uint32(1), 00018 nPiZeros = cms.uint32(2), 00019 ), 00020 cms.PSet( 00021 nCharged = cms.uint32(3), 00022 nPiZeros = cms.uint32(0), 00023 ), 00024 cms.PSet( 00025 nCharged = cms.uint32(3), 00026 nPiZeros = cms.uint32(1), 00027 ), 00028 ) 00029 )
Definition at line 33 of file TauNeuralClassifiers_cfi.py.