MM from PhysicsTools.PatAlgos.patSequences_cff import *. More...
Public Member Functions | |
def | __call__ |
def | __init__ |
def | getDefaultParameters |
Private Member Functions | |
def | _addCleanedJets |
def | _addPATMEtProducer |
def | _addPFCandidatesForPFMEtInput |
def | _addShiftedParticleCollections |
def | _getLeptonsForPFMEtInput |
def | _initializeInputTag |
Static Private Attributes | |
tuple | _defaultParameters = dicttypes.SortedKeysDict() |
string | _label = 'JetMEtUncertaintyTools' |
MM from PhysicsTools.PatAlgos.patSequences_cff import *.
Base class for estimating systematic uncertainties on MET
Definition at line 17 of file jmeUncertaintyTools.py.
def jmeUncertaintyTools.JetMEtUncertaintyTools.__init__ | ( | self | ) |
Definition at line 22 of file jmeUncertaintyTools.py.
References editorTools.UserCodeTool._comment, heavyIonTools.ConfigureHeavyIons._comment, HiCoreTools.RestrictInputToAOD._comment, coreTools.RunOnData._comment, trackTools.MakeAODTrackCandidates._comment, metTools.AddMETCollection._comment, heavyIonTools.ProductionDefaults._comment, editorTools.ChangeSource._comment, ConfigToolBase.ConfigToolBase._comment, HiCoreTools.RemoveMCMatching._comment, coreTools.RemoveMCMatching._comment, cmsswVersionTools.PickRelValInputFiles._comment, jetTools.AddJetCollection._comment, trackTools.MakePATTrackCandidates._comment, trigTools.SwitchOnTrigger._comment, heavyIonTools.SelectionDefaults._comment, HiCoreTools.RemoveAllPATObjectsBut._comment, heavyIonTools.DisbaleMonteCarloDeps._comment, HiCoreTools.RemoveSpecificPATObjects._comment, trigTools.SwitchOnTriggerStandAlone._comment, trackTools.MakeTrackCandidates._comment, tauTools.AddTauCollection._comment, trigTools.SwitchOnTriggerMatching._comment, HiCoreTools.RemoveCleaning._comment, HiCoreTools.AddCleaning._comment, trigTools.SwitchOnTriggerMatchingStandAlone._comment, trigTools.SwitchOnTriggerMatchEmbedding._comment, jetTools.SwitchJetCollection._comment, jetTools.AddJetID._comment, jetTools.SetTagInfos._comment, metTools.AddMETCollection._defaultParameters, editorTools.UserCodeTool._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, jmeUncertaintyTools.JetMEtUncertaintyTools._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, jetTools.AddJetCollection._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, trackTools.MakePATTrackCandidates._defaultParameters, trigTools.SwitchOnTrigger._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, trigTools.SwitchOnTriggerStandAlone._defaultParameters, trackTools.MakeTrackCandidates._defaultParameters, tauTools.AddTauCollection._defaultParameters, trigTools.SwitchOnTriggerMatching._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, jetTools.SetTagInfos._defaultParameters, editorTools.UserCodeTool._parameters, heavyIonTools.ConfigureHeavyIons._parameters, HiCoreTools.RestrictInputToAOD._parameters, coreTools.RunOnData._parameters, trackTools.MakeAODTrackCandidates._parameters, metTools.AddMETCollection._parameters, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._parameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._parameters, heavyIonTools.ProductionDefaults._parameters, ConfigToolBase.ConfigToolBase._parameters, editorTools.ChangeSource._parameters, TAbsFitConstraint._parameters, HiCoreTools.RemoveMCMatching._parameters, TAbsFitParticle._parameters, coreTools.RemoveMCMatching._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, jetTools.AddJetCollection._parameters, trackTools.MakePATTrackCandidates._parameters, trigTools.SwitchOnTrigger._parameters, heavyIonTools.SelectionDefaults._parameters, HiCoreTools.RemoveAllPATObjectsBut._parameters, heavyIonTools.DisbaleMonteCarloDeps._parameters, HiCoreTools.RemoveSpecificPATObjects._parameters, trigTools.SwitchOnTriggerStandAlone._parameters, trackTools.MakeTrackCandidates._parameters, tauTools.AddTauCollection._parameters, trigTools.SwitchOnTriggerMatching._parameters, HiCoreTools.RemoveCleaning._parameters, HiCoreTools.AddCleaning._parameters, trigTools.SwitchOnTriggerMatchingStandAlone._parameters, trigTools.SwitchOnTriggerMatchEmbedding._parameters, jetTools.SwitchJetCollection._parameters, jetTools.AddJetID._parameters, jetTools.SetTagInfos._parameters, root::helper::RootFunctionAdapter< F, args >.addParameter(), root::helper::RootFunctionHelper< F, args, Tag >.addParameter(), ParameterMgr.addParameter(), fit::RootMinuit< Function >.addParameter(), DropBoxMetadata::Parameters.addParameter(), PythonParameterSet.addParameter(), LutXml.addParameter(), ConfigToolBase.ConfigToolBase.addParameter(), and edm::ParameterSet.addParameter().
def jmeUncertaintyTools.JetMEtUncertaintyTools.__call__ | ( | self, | |
process, | |||
electronCollection = None , |
|||
photonCollection = None , |
|||
muonCollection = None , |
|||
tauCollection = None , |
|||
jetCollection = None , |
|||
jetCorrLabel = None , |
|||
doSmearJets = None , |
|||
jetSmearFileName = None , |
|||
jetSmearHistogram = None , |
|||
jetCorrPayloadName = None , |
|||
jetCorrLabelUpToL3 = None , |
|||
jetCorrLabelUpToL3Res = None , |
|||
jecUncertaintyFile = None , |
|||
jecUncertaintyTag = None , |
|||
varyByNsigmas = None , |
|||
addToPatDefaultSequence = None , |
|||
outputModule = None , |
|||
postfix = None |
|||
) |
Definition at line 306 of file jmeUncertaintyTools.py.
References metTools.AddMETCollection._defaultParameters, editorTools.UserCodeTool._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, jmeUncertaintyTools.JetMEtUncertaintyTools._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, jetTools.AddJetCollection._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, trackTools.MakePATTrackCandidates._defaultParameters, trigTools.SwitchOnTrigger._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, trigTools.SwitchOnTriggerStandAlone._defaultParameters, trackTools.MakeTrackCandidates._defaultParameters, tauTools.AddTauCollection._defaultParameters, trigTools.SwitchOnTriggerMatching._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, jetTools.SetTagInfos._defaultParameters, jmeUncertaintyTools.JetMEtUncertaintyTools._initializeInputTag(), ora::OraMainTable.setParameter(), ora::IMainTable.setParameter(), ora::PoolMainTable.setParameter(), PedeReader.setParameter(), IntegratedCalibrationBase.setParameter(), SiStripLorentzAngleCalibration.setParameter(), SiPixelLorentzAngleCalibration.setParameter(), SiStripBackplaneCalibration.setParameter(), fit::RootMinuit< Function >.setParameter(), and ConfigToolBase.ConfigToolBase.setParameter().
Referenced by jmeUncertaintyTools.JetMEtUncertaintyTools._addPATMEtProducer().
|
private |
Definition at line 81 of file jmeUncertaintyTools.py.
References jmeUncertaintyTools.JetMEtUncertaintyTools._addShiftedParticleCollections(), objectsUncertaintyTools.addModuleToSequence(), and objectsUncertaintyTools.isValidInputTag().
Referenced by jmeUncertaintyTools.JetMEtUncertaintyTools._initializeInputTag(), runJetUncertainties.RunJetUncertainties.toolCode(), runType1CaloMEtUncertainties.RunType1CaloMEtUncertainties.toolCode(), and runType1PFMEtUncertainties.RunType1PFMEtUncertainties.toolCode().
|
private |
Definition at line 275 of file jmeUncertaintyTools.py.
References jmeUncertaintyTools.JetMEtUncertaintyTools.__call__().
Referenced by runMVAMEtUncertainties.RunMVAMEtUncertainties._addPFMVAMEt(), runNoPileUpMEtUncertainties.RunNoPileUpMEtUncertainties._addPFNoPUMEt(), and jmeUncertaintyTools.JetMEtUncertaintyTools._getLeptonsForPFMEtInput().
|
private |
Definition at line 234 of file jmeUncertaintyTools.py.
Referenced by runMVAMEtUncertainties.RunMVAMEtUncertainties._addPFMVAMEt(), and jmeUncertaintyTools.JetMEtUncertaintyTools._addShiftedParticleCollections().
|
private |
Definition at line 130 of file jmeUncertaintyTools.py.
References jmeUncertaintyTools.JetMEtUncertaintyTools._addPFCandidatesForPFMEtInput(), objectsUncertaintyTools.addShiftedJetCollections(), objectsUncertaintyTools.addShiftedSingleParticleCollection(), objectsUncertaintyTools.addSmearedJets(), and objectsUncertaintyTools.isValidInputTag().
Referenced by jmeUncertaintyTools.JetMEtUncertaintyTools._addCleanedJets(), runJetUncertainties.RunJetUncertainties.toolCode(), runType1CaloMEtUncertainties.RunType1CaloMEtUncertainties.toolCode(), runMVAMEtUncertainties.RunMVAMEtUncertainties.toolCode(), runType1PFMEtUncertainties.RunType1PFMEtUncertainties.toolCode(), and runNoPileUpMEtUncertainties.RunNoPileUpMEtUncertainties.toolCode().
|
private |
Definition at line 260 of file jmeUncertaintyTools.py.
References jmeUncertaintyTools.JetMEtUncertaintyTools._addPATMEtProducer(), and objectsUncertaintyTools.isValidInputTag().
Referenced by runMVAMEtUncertainties.RunMVAMEtUncertainties._addPFMVAMEt().
|
private |
Definition at line 67 of file jmeUncertaintyTools.py.
References jmeUncertaintyTools.JetMEtUncertaintyTools._addCleanedJets(), metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, editorTools.UserCodeTool._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, jmeUncertaintyTools.JetMEtUncertaintyTools._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, jetTools.AddJetCollection._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, trackTools.MakePATTrackCandidates._defaultParameters, trigTools.SwitchOnTrigger._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, trigTools.SwitchOnTriggerStandAlone._defaultParameters, trackTools.MakeTrackCandidates._defaultParameters, tauTools.AddTauCollection._defaultParameters, trigTools.SwitchOnTriggerMatching._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, and jetTools.SetTagInfos._defaultParameters.
Referenced by runType1CaloMEtUncertainties.RunType1CaloMEtUncertainties.__call__(), runMVAMEtUncertainties.RunMVAMEtUncertainties.__call__(), jmeUncertaintyTools.JetMEtUncertaintyTools.__call__(), runType1PFMEtUncertainties.RunType1PFMEtUncertainties.__call__(), and runNoPileUpMEtUncertainties.RunNoPileUpMEtUncertainties.__call__().
def jmeUncertaintyTools.JetMEtUncertaintyTools.getDefaultParameters | ( | self | ) |
Definition at line 63 of file jmeUncertaintyTools.py.
References metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, editorTools.UserCodeTool._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, jmeUncertaintyTools.JetMEtUncertaintyTools._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, jetTools.AddJetCollection._defaultParameters, heavyIonTools.ProductionDefaults._defaultParameters, editorTools.ChangeSource._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, coreTools.RemoveMCMatching._defaultParameters, trackTools.MakePATTrackCandidates._defaultParameters, trigTools.SwitchOnTrigger._defaultParameters, heavyIonTools.SelectionDefaults._defaultParameters, heavyIonTools.DisbaleMonteCarloDeps._defaultParameters, trigTools.SwitchOnTriggerStandAlone._defaultParameters, trackTools.MakeTrackCandidates._defaultParameters, tauTools.AddTauCollection._defaultParameters, trigTools.SwitchOnTriggerMatching._defaultParameters, trigTools.SwitchOnTriggerMatchingStandAlone._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.SwitchJetCollection._defaultParameters, jetTools.AddJetID._defaultParameters, and jetTools.SetTagInfos._defaultParameters.
|
staticprivate |
Definition at line 21 of file jmeUncertaintyTools.py.
Referenced by HiCoreTools.RestrictInputToAOD.__call__(), runJetUncertainties.RunJetUncertainties.__call__(), HiCoreTools.RemoveMCMatching.__call__(), HiCoreTools.RemoveAllPATObjectsBut.__call__(), runType1CaloMEtUncertainties.RunType1CaloMEtUncertainties.__call__(), HiCoreTools.RemoveSpecificPATObjects.__call__(), jmeUncertaintyTools.JetMEtUncertaintyTools.__call__(), HiCoreTools.RemoveCleaning.__call__(), runType1PFMEtUncertainties.RunType1PFMEtUncertainties.__call__(), HiCoreTools.AddCleaning.__call__(), runNoPileUpMEtUncertainties.RunNoPileUpMEtUncertainties.__call__(), HiCoreTools.RestrictInputToAOD.__init__(), runJetUncertainties.RunJetUncertainties.__init__(), runType1CaloMEtUncertainties.RunType1CaloMEtUncertainties.__init__(), jmeUncertaintyTools.JetMEtUncertaintyTools.__init__(), runType1PFMEtUncertainties.RunType1PFMEtUncertainties.__init__(), runMVAMEtUncertainties.RunMVAMEtUncertainties.__init__(), runNoPileUpMEtUncertainties.RunNoPileUpMEtUncertainties.__init__(), HiCoreTools.RemoveMCMatching.__init__(), HiCoreTools.RemoveAllPATObjectsBut.__init__(), HiCoreTools.RemoveSpecificPATObjects.__init__(), HiCoreTools.RemoveCleaning.__init__(), HiCoreTools.AddCleaning.__init__(), jmeUncertaintyTools.JetMEtUncertaintyTools._initializeInputTag(), ConfigToolBase.ConfigToolBase.dumpPython(), ConfigToolBase.ConfigToolBase.getAllowedValues(), HiCoreTools.RestrictInputToAOD.getDefaultParameters(), jmeUncertaintyTools.JetMEtUncertaintyTools.getDefaultParameters(), HiCoreTools.RemoveMCMatching.getDefaultParameters(), HiCoreTools.RemoveAllPATObjectsBut.getDefaultParameters(), HiCoreTools.RemoveSpecificPATObjects.getDefaultParameters(), HiCoreTools.RemoveCleaning.getDefaultParameters(), HiCoreTools.AddCleaning.getDefaultParameters(), ConfigToolBase.ConfigToolBase.reset(), and ConfigToolBase.ConfigToolBase.setParameter().
|
staticprivate |
Definition at line 20 of file jmeUncertaintyTools.py.