Public Member Functions | |
def | __call__ |
def | __init__ |
def | getDefaultParameters |
def | toolCode |
Private Member Functions | |
def | _addCorrPFMEt |
def | _addModuleToSequence |
def | _addNoPileUpPFMEt |
def | _addPATMEtProducer |
def | _addPFCandidatesForPFMEtInput |
def | _addPFMEtByMVA |
def | _addShiftedParticleCollections |
def | _addSmearedJets |
def | _getLeptonsForPFMEtInput |
def | _initializeInputTag |
def | _propagateMEtUncertainties |
Static Private Member Functions | |
def | _isValidInputTag |
Static Private Attributes | |
tuple | _defaultParameters = dicttypes.SortedKeysDict() |
string | _label = 'runMEtUncertainties' |
Shift energy of electrons, photons, muons, tau-jets and other jets reconstructed in the event up/down, in order to estimate effect of energy scale uncertainties on MET
Definition at line 12 of file metUncertaintyTools.py.
def metUncertaintyTools.RunMEtUncertainties.__init__ | ( | self | ) |
Definition at line 20 of file metUncertaintyTools.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, jetTools.AddJetCollection._comment, cmsswVersionTools.PickRelValInputFiles._comment, coreTools.RemoveMCMatching._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, jetTools.SwitchJetCollection._comment, trigTools.SwitchOnTriggerMatchEmbedding._comment, jetTools.AddJetID._comment, jetTools.SetTagInfos._comment, metTools.AddMETCollection._defaultParameters, editorTools.UserCodeTool._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, metUncertaintyTools.RunMEtUncertainties._defaultParameters, jetTools.AddJetCollection._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._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, jetTools.SwitchJetCollection._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._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, jetTools.AddJetCollection._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, coreTools.RemoveMCMatching._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, jetTools.SwitchJetCollection._parameters, trigTools.SwitchOnTriggerMatchEmbedding._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 metUncertaintyTools.RunMEtUncertainties.__call__ | ( | self, | |
process, | |||
electronCollection = None , |
|||
photonCollection = None , |
|||
muonCollection = None , |
|||
tauCollection = None , |
|||
jetCollection = None , |
|||
dRjetCleaning = None , |
|||
jetCorrLabel = None , |
|||
doSmearJets = None , |
|||
makeType1corrPFMEt = None , |
|||
makeType1p2corrPFMEt = None , |
|||
makePFMEtByMVA = None , |
|||
makeNoPileUpPFMEt = None , |
|||
doApplyType0corr = None , |
|||
sysShiftCorrParameter = None , |
|||
doApplySysShiftCorr = None , |
|||
jetSmearFileName = None , |
|||
jetSmearHistogram = None , |
|||
pfCandCollection = None , |
|||
jetCorrPayloadName = None , |
|||
varyByNsigmas = None , |
|||
addToPatDefaultSequence = None , |
|||
outputModule = None , |
|||
postfix = None |
|||
) |
Definition at line 1391 of file metUncertaintyTools.py.
References metTools.AddMETCollection._defaultParameters, editorTools.UserCodeTool._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, metUncertaintyTools.RunMEtUncertainties._defaultParameters, jetTools.AddJetCollection._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._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, jetTools.SwitchJetCollection._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.AddJetID._defaultParameters, jetTools.SetTagInfos._defaultParameters, metUncertaintyTools.RunMEtUncertainties._initializeInputTag(), SignedImpactParameter3D.apply(), SignedTransverseImpactParameter.apply(), SignedDecayLength3D.apply(), MatrixReader.MatrixReader.apply, SurveyParameters.apply(), FWPSetCellEditor.apply(), gen::PhotosInterface.apply(), FWGUIEventFilter.apply(), DeviationsFromFileSensor2D.apply(), BeamSpotAlignmentParameters.apply(), RigidBodyAlignmentParameters.apply(), MatRepSparse< T, D1, D2, S, F >.apply(), ConfigToolBase.ConfigToolBase.apply(), AlignmentParameters.apply(), BowedSurfaceAlignmentParameters.apply(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.apply(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.apply(), TwoBowedSurfacesAlignmentParameters.apply(), reco::modules::TrackerTrackHitFilter::Rule.apply(), Vispa.Gui.BoxContentDialog.BoxContentDialog.apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog.apply(), reco::Add< T >.apply(), reco::Sub< T >.apply(), reco::Mul< T >.apply(), reco::Div< T >.apply(), cmsswVersionTools.PickRelValInputFiles.apply(), reco::And< bool >.apply(), reco::Or< bool >.apply(), reco::Less< T >.apply(), reco::LessEqual< T >.apply(), reco::More< T >.apply(), reco::MoreEqual< T >.apply(), reco::Equal< T >.apply(), ArrayND< Numeric, Len2, Dim2 >.apply(), npstat::ArrayND< Num1, Len1, Dim1 >.apply(), ArrayND< Accumulator >.apply(), ArrayND< Numeric, Len, Dim >.apply(), npstat::ArrayND< Numeric >.apply(), ArrayND< Num2, Len2, Dim2 >.apply(), npstat::ArrayND< Numeric, StackLen, StackDim >.apply(), ora::OraMainTable.setParameter(), ora::IMainTable.setParameter(), PedeReader.setParameter(), ora::PoolMainTable.setParameter(), IntegratedCalibrationBase.setParameter(), SiStripLorentzAngleCalibration.setParameter(), SiPixelLorentzAngleCalibration.setParameter(), SiStripBackplaneCalibration.setParameter(), fit::RootMinuit< Function >.setParameter(), and ConfigToolBase.ConfigToolBase.setParameter().
Referenced by metUncertaintyTools.RunMEtUncertainties._addNoPileUpPFMEt().
|
private |
Definition at line 440 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addPFCandidatesForPFMEtInput(), metUncertaintyTools.RunMEtUncertainties._isValidInputTag(), metUncertaintyTools.RunMEtUncertainties._propagateMEtUncertainties(), statics.clone, diffTwoXMLs.label, python.rootplot.root2matplotlib.replace(), and relativeConstraints.value.
Referenced by metUncertaintyTools.RunMEtUncertainties._addShiftedParticleCollections(), and metUncertaintyTools.RunMEtUncertainties.toolCode().
|
private |
Definition at line 74 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addSmearedJets().
Referenced by metUncertaintyTools.RunMEtUncertainties._addShiftedParticleCollections(), metUncertaintyTools.RunMEtUncertainties._addSmearedJets(), and metUncertaintyTools.RunMEtUncertainties.toolCode().
|
private |
Definition at line 1112 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties.__call__(), metUncertaintyTools.RunMEtUncertainties._addPATMEtProducer(), metUncertaintyTools.RunMEtUncertainties._addPFCandidatesForPFMEtInput(), metUncertaintyTools.RunMEtUncertainties._getLeptonsForPFMEtInput(), metUncertaintyTools.RunMEtUncertainties._isValidInputTag(), and statics.clone.
Referenced by metUncertaintyTools.RunMEtUncertainties._addPFMEtByMVA(), and metUncertaintyTools.RunMEtUncertainties.toolCode().
|
private |
Definition at line 878 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addPFMEtByMVA().
Referenced by metUncertaintyTools.RunMEtUncertainties._addNoPileUpPFMEt(), metUncertaintyTools.RunMEtUncertainties._addPFMEtByMVA(), and metUncertaintyTools.RunMEtUncertainties._getLeptonsForPFMEtInput().
|
private |
Definition at line 835 of file metUncertaintyTools.py.
Referenced by metUncertaintyTools.RunMEtUncertainties._addCorrPFMEt(), metUncertaintyTools.RunMEtUncertainties._addNoPileUpPFMEt(), and metUncertaintyTools.RunMEtUncertainties._addPFMEtByMVA().
|
private |
Definition at line 896 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addNoPileUpPFMEt(), metUncertaintyTools.RunMEtUncertainties._addPATMEtProducer(), metUncertaintyTools.RunMEtUncertainties._addPFCandidatesForPFMEtInput(), metUncertaintyTools.RunMEtUncertainties._getLeptonsForPFMEtInput(), metUncertaintyTools.RunMEtUncertainties._isValidInputTag(), and statics.clone.
Referenced by metUncertaintyTools.RunMEtUncertainties._addPATMEtProducer(), and metUncertaintyTools.RunMEtUncertainties.toolCode().
|
private |
Definition at line 227 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addCorrPFMEt(), metUncertaintyTools.RunMEtUncertainties._addModuleToSequence(), and metUncertaintyTools.RunMEtUncertainties._isValidInputTag().
Referenced by metUncertaintyTools.RunMEtUncertainties._isValidInputTag(), and metUncertaintyTools.RunMEtUncertainties.toolCode().
|
private |
Definition at line 108 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addModuleToSequence(), and metUncertaintyTools.RunMEtUncertainties._propagateMEtUncertainties().
Referenced by metUncertaintyTools.RunMEtUncertainties._addModuleToSequence(), and metUncertaintyTools.RunMEtUncertainties.toolCode().
|
private |
Definition at line 861 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addPATMEtProducer(), and metUncertaintyTools.RunMEtUncertainties._isValidInputTag().
Referenced by metUncertaintyTools.RunMEtUncertainties._addNoPileUpPFMEt(), and metUncertaintyTools.RunMEtUncertainties._addPFMEtByMVA().
|
private |
Definition at line 199 of file metUncertaintyTools.py.
References metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, editorTools.UserCodeTool._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, metUncertaintyTools.RunMEtUncertainties._defaultParameters, jetTools.AddJetCollection._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._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, jetTools.SwitchJetCollection._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.AddJetID._defaultParameters, and jetTools.SetTagInfos._defaultParameters.
Referenced by metUncertaintyTools.RunMEtUncertainties.__call__().
|
staticprivate |
Definition at line 210 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addShiftedParticleCollections().
Referenced by metUncertaintyTools.RunMEtUncertainties._addCorrPFMEt(), metUncertaintyTools.RunMEtUncertainties._addNoPileUpPFMEt(), metUncertaintyTools.RunMEtUncertainties._addPFMEtByMVA(), metUncertaintyTools.RunMEtUncertainties._addShiftedParticleCollections(), metUncertaintyTools.RunMEtUncertainties._getLeptonsForPFMEtInput(), and metUncertaintyTools.RunMEtUncertainties.toolCode().
|
private |
Definition at line 145 of file metUncertaintyTools.py.
Referenced by metUncertaintyTools.RunMEtUncertainties._addCorrPFMEt(), and metUncertaintyTools.RunMEtUncertainties._addSmearedJets().
def metUncertaintyTools.RunMEtUncertainties.getDefaultParameters | ( | self | ) |
Definition at line 71 of file metUncertaintyTools.py.
References metTools.AddMETCollection._defaultParameters, trackTools.MakeAODTrackCandidates._defaultParameters, editorTools.UserCodeTool._defaultParameters, heavyIonTools.ConfigureHeavyIons._defaultParameters, coreTools.RunOnData._defaultParameters, metUncertaintyTools.RunMEtUncertainties._defaultParameters, jetTools.AddJetCollection._defaultParameters, Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._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, jetTools.SwitchJetCollection._defaultParameters, trigTools.SwitchOnTriggerMatchEmbedding._defaultParameters, jetTools.AddJetID._defaultParameters, and jetTools.SetTagInfos._defaultParameters.
def metUncertaintyTools.RunMEtUncertainties.toolCode | ( | self, | |
process | |||
) |
Definition at line 1463 of file metUncertaintyTools.py.
References metUncertaintyTools.RunMEtUncertainties._addCorrPFMEt(), trigTools._addEventContent(), metUncertaintyTools.RunMEtUncertainties._addModuleToSequence(), metUncertaintyTools.RunMEtUncertainties._addNoPileUpPFMEt(), metUncertaintyTools.RunMEtUncertainties._addPFMEtByMVA(), metUncertaintyTools.RunMEtUncertainties._addShiftedParticleCollections(), metUncertaintyTools.RunMEtUncertainties._addSmearedJets(), metUncertaintyTools.RunMEtUncertainties._isValidInputTag(), 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, TAbsFitParticle._parameters, HiCoreTools.RemoveMCMatching._parameters, jetTools.AddJetCollection._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, coreTools.RemoveMCMatching._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, jetTools.SwitchJetCollection._parameters, trigTools.SwitchOnTriggerMatchEmbedding._parameters, jetTools.AddJetID._parameters, and jetTools.SetTagInfos._parameters.
|
staticprivate |
Definition at line 19 of file metUncertaintyTools.py.
Referenced by HiCoreTools.RestrictInputToAOD.__call__(), HiCoreTools.RemoveMCMatching.__call__(), HiCoreTools.RemoveAllPATObjectsBut.__call__(), HiCoreTools.RemoveSpecificPATObjects.__call__(), HiCoreTools.RemoveCleaning.__call__(), HiCoreTools.AddCleaning.__call__(), metUncertaintyTools.RunMEtUncertainties.__call__(), HiCoreTools.RestrictInputToAOD.__init__(), metUncertaintyTools.RunMEtUncertainties.__init__(), HiCoreTools.RemoveMCMatching.__init__(), HiCoreTools.RemoveAllPATObjectsBut.__init__(), HiCoreTools.RemoveSpecificPATObjects.__init__(), HiCoreTools.RemoveCleaning.__init__(), HiCoreTools.AddCleaning.__init__(), metUncertaintyTools.RunMEtUncertainties._initializeInputTag(), ConfigToolBase.ConfigToolBase.dumpPython(), ConfigToolBase.ConfigToolBase.getAllowedValues(), HiCoreTools.RestrictInputToAOD.getDefaultParameters(), HiCoreTools.RemoveMCMatching.getDefaultParameters(), metUncertaintyTools.RunMEtUncertainties.getDefaultParameters(), HiCoreTools.RemoveAllPATObjectsBut.getDefaultParameters(), HiCoreTools.RemoveSpecificPATObjects.getDefaultParameters(), HiCoreTools.RemoveCleaning.getDefaultParameters(), HiCoreTools.AddCleaning.getDefaultParameters(), ConfigToolBase.ConfigToolBase.reset(), and ConfigToolBase.ConfigToolBase.setParameter().
|
staticprivate |
Definition at line 18 of file metUncertaintyTools.py.