CMS 3D CMS Logo

Classes | Functions | Variables
PFTauMVAInputDiscriminatorTranslator_cfi Namespace Reference

Classes

class  Dummy
 

Functions

def loadMVAInputsIntoPatTauDiscriminants (thePatTauProducer)
 cms.PSet(name=cms.string('InvariantMass') ), cms.PSet(name=cms.string('Pt') ), cms.PSet(name=cms.string('Eta') ), cms.PSet(name=cms.string('OutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('OutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('ChargedOutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('ChargedOutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('NeutralOutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('NeutralOutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('OutlierNCharged')), cms.PSet(name=cms.string('OutlierN') ), cms.PSet(name=cms.string('OutlierSumPt') ), cms.PSet(name=cms.string('OutlierMass') ), cms.PSet(name=cms.string('ChargedOutlierSumPt') ), cms.PSet(name=cms.string('NeutralOutlierSumPt') ), cms.PSet(name='GammaOccupancy'), cms.PSet(name='GammaPt' ), cms.PSet(name='FilteredObjectPt' ), cms.PSet(name='InvariantMassOfSignalWithFiltered' ), ) More...
 

Variables

 discriminants
 
 pfTauSource
 
 produceTancMVAInputDiscriminators
 
 tauIDSources
 
 test
 

Function Documentation

def PFTauMVAInputDiscriminatorTranslator_cfi.loadMVAInputsIntoPatTauDiscriminants (   thePatTauProducer)

cms.PSet(name=cms.string('InvariantMass') ), cms.PSet(name=cms.string('Pt') ), cms.PSet(name=cms.string('Eta') ), cms.PSet(name=cms.string('OutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('OutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('ChargedOutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('ChargedOutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('NeutralOutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('NeutralOutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('OutlierNCharged')), cms.PSet(name=cms.string('OutlierN') ), cms.PSet(name=cms.string('OutlierSumPt') ), cms.PSet(name=cms.string('OutlierMass') ), cms.PSet(name=cms.string('ChargedOutlierSumPt') ), cms.PSet(name=cms.string('NeutralOutlierSumPt') ), cms.PSet(name='GammaOccupancy'), cms.PSet(name='GammaPt' ), cms.PSet(name='FilteredObjectPt' ), cms.PSet(name='InvariantMassOfSignalWithFiltered' ), )

Definition at line 73 of file PFTauMVAInputDiscriminatorTranslator_cfi.py.

References harvestTrackValidationPlots.str.

73 def loadMVAInputsIntoPatTauDiscriminants(thePatTauProducer):
74  return
75  " Add all of the MVA inputs discriminators to the tauID inputs of a patTau Producer "
76  print "Embedding MVA inputs into PAT Tau producer "
77  patTauIDConfig = thePatTauProducer.tauIDSources
78  for tancInputInfo in produceTancMVAInputDiscriminators.discriminants:
79  name = tancInputInfo.name.value()
80  if hasattr(tancInputInfo, "indices"):
81  # multiple input
82  for index in tancInputInfo.indices:
83  collectionName = name + str(index)
84  setattr(patTauIDConfig, "TaNC"+collectionName, cms.InputTag(
85  "produceTancMVAInputDiscriminators", collectionName))
86  else:
87  # single input
88  setattr(patTauIDConfig, "TaNC"+name, cms.InputTag(
89  "produceTancMVAInputDiscriminators", name))
90 
def loadMVAInputsIntoPatTauDiscriminants(thePatTauProducer)
cms.PSet(name=cms.string('InvariantMass') ), cms.PSet(name=cms.string('Pt') ), cms.PSet(name=cms.string('Eta') ), cms.PSet(name=cms.string('OutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('OutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('ChargedOutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('ChargedOutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('NeutralOutlierPt'), indices=cms.vuint32(0,1, 2, 3), ), cms.PSet(name=cms.string('NeutralOutlierAngle'), indices=cms.vuint32(0,1, 2, 3), default=cms.double(1.0) ), cms.PSet(name=cms.string('OutlierNCharged')), cms.PSet(name=cms.string('OutlierN') ), cms.PSet(name=cms.string('OutlierSumPt') ), cms.PSet(name=cms.string('OutlierMass') ), cms.PSet(name=cms.string('ChargedOutlierSumPt') ), cms.PSet(name=cms.string('NeutralOutlierSumPt') ), cms.PSet(name='GammaOccupancy'), cms.PSet(name='GammaPt' ), cms.PSet(name='FilteredObjectPt' ), cms.PSet(name='InvariantMassOfSignalWithFiltered' ), )

Variable Documentation

PFTauMVAInputDiscriminatorTranslator_cfi.discriminants
PFTauMVAInputDiscriminatorTranslator_cfi.pfTauSource

Definition at line 5 of file PFTauMVAInputDiscriminatorTranslator_cfi.py.

PFTauMVAInputDiscriminatorTranslator_cfi.produceTancMVAInputDiscriminators

Definition at line 3 of file PFTauMVAInputDiscriminatorTranslator_cfi.py.

PFTauMVAInputDiscriminatorTranslator_cfi.tauIDSources

Definition at line 95 of file PFTauMVAInputDiscriminatorTranslator_cfi.py.

PFTauMVAInputDiscriminatorTranslator_cfi.test

Definition at line 94 of file PFTauMVAInputDiscriminatorTranslator_cfi.py.

Referenced by EcalPerEvtLaserAnalyzer.analyze(), pat::helper::RefHelper< T >.ancestorOrSelf(), reco::PFDisplacedVertexCandidate.associatedElements(), reco::PFBlock.associatedElements(), EcalABAnalyzer.beginJob(), EcalLaserAnalyzer.beginJob(), L1RCTElectronIsolationCard.calcMaxSum(), MultiUserHook.canBiasSelection(), MultiUserHook.canChangeFragPar(), MultiUserHook.canEnhanceEmission(), MultiUserHook.canEnhanceTrial(), MultiUserHook.canModifySigma(), MultiUserHook.canReconnectResonanceSystems(), MultiUserHook.canSetResonanceScale(), MultiUserHook.canVetoFSREmission(), MultiUserHook.canVetoISREmission(), MultiUserHook.canVetoMPIEmission(), MultiUserHook.canVetoMPIStep(), MultiUserHook.canVetoPartonLevel(), MultiUserHook.canVetoPartonLevelEarly(), MultiUserHook.canVetoProcessLevel(), MultiUserHook.canVetoPT(), MultiUserHook.canVetoResonanceDecays(), MultiUserHook.canVetoStep(), MultiUserHook.doChangeFragPar(), MultiUserHook.doReconnectResonanceSystems(), MultiUserHook.doVetoFragmentation(), MultiUserHook.doVetoFSREmission(), MultiUserHook.doVetoISREmission(), MultiUserHook.doVetoMPIEmission(), MultiUserHook.doVetoPartonLevel(), MultiUserHook.doVetoPartonLevelEarly(), MultiUserHook.doVetoProcessLevel(), MultiUserHook.doVetoResonanceDecays(), EcalMatacqAnalyzer.endJob(), FastTimerServiceClient.fillPlotsVsLumi(), G4CheckOverlap.G4CheckOverlap(), EcalLaserAnalyzer2.getShapes(), MELaserPrim.init(), MultiUserHook.initAfterBeams(), PhotonDataCertification.invMassZtest(), cscdqm::Summary.IsPhysicsReady(), L1CaloEcalScaleConfigOnlineProd.newObject(), RPCWheelMap.prepareData(), PFJetsMaxInvMassModule.produce(), PhotonIDValueMapProducer.produce(), PhotonRegressionValueMapProducer.produce(), pat::helper::RefHelper< T >.recursiveLookup(), MultiUserHook.retryPartonLevel(), HistoCompare.SetChi2Test(), edm::eventsetup::DependentRecordIntervalFinder.setIntervalFor(), HistoCompare.SetKGTest(), reco::PFBlock.setLink(), reco::PFDisplacedVertexCandidate.setLink(), sqr(), StripSubClusterShapeFilterBase.testLastHit(), and TPNCor.TPNCor().