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

References edm.print(), and str.

74 def loadMVAInputsIntoPatTauDiscriminants(thePatTauProducer):
75  return
76  " Add all of the MVA inputs discriminators to the tauID inputs of a patTau Producer "
77  print("Embedding MVA inputs into PAT Tau producer ")
78  patTauIDConfig = thePatTauProducer.tauIDSources
79  for tancInputInfo in produceTancMVAInputDiscriminators.discriminants:
80  name = tancInputInfo.name.value()
81  if hasattr(tancInputInfo, "indices"):
82  # multiple input
83  for index in tancInputInfo.indices:
84  collectionName = name + str(index)
85  setattr(patTauIDConfig, "TaNC"+collectionName, cms.InputTag(
86  "produceTancMVAInputDiscriminators", collectionName))
87  else:
88  # single input
89  setattr(patTauIDConfig, "TaNC"+name, cms.InputTag(
90  "produceTancMVAInputDiscriminators", name))
91 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
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' ), )
#define str(s)

Variable Documentation

PFTauMVAInputDiscriminatorTranslator_cfi.discriminants
PFTauMVAInputDiscriminatorTranslator_cfi.pfTauSource

Definition at line 6 of file PFTauMVAInputDiscriminatorTranslator_cfi.py.

PFTauMVAInputDiscriminatorTranslator_cfi.produceTancMVAInputDiscriminators

Definition at line 4 of file PFTauMVAInputDiscriminatorTranslator_cfi.py.

PFTauMVAInputDiscriminatorTranslator_cfi.tauIDSources

Definition at line 96 of file PFTauMVAInputDiscriminatorTranslator_cfi.py.

PFTauMVAInputDiscriminatorTranslator_cfi.test

Definition at line 95 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(), 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().