Variables | |
dictionary | _oldToNewProds = {'CaloJetCorrectionProducer':'CorrectedCaloJetProducer','PFJetCorrectionProducer':'CorrectedPFJetProducer'} |
|
private |
Using the dependencies between correctors, construct the appropriate cms.Sequence.
Definition at line 74 of file customizeHLTforNewJetCorrectors.py.
References _correctorNameChanger(), and _makeNewCorrectorFromOld().
Referenced by customizeHLTforNewJetCorrectors().
|
private |
Based on the label from the old correct, determine what label to use for the new corrector
Definition at line 33 of file customizeHLTforNewJetCorrectors.py.
Referenced by _buildSequenceOfCorrectors(), _translateParameters(), and customizeHLTforNewJetCorrectors().
|
private |
Find all Correctors used by the corrector 'name'
Definition at line 23 of file customizeHLTforNewJetCorrectors.py.
Referenced by _findCorrectorsUsedByProducer().
|
private |
Starting from a EDProducer, find which old jet correctors are used
Definition at line 15 of file customizeHLTforNewJetCorrectors.py.
References _findCorrectorsRecursive().
Referenced by customizeHLTforNewJetCorrectors().
|
private |
Based on the type, find the labels for modules we need to change
Definition at line 6 of file customizeHLTforNewJetCorrectors.py.
Referenced by customizeHLTforNewJetCorrectors().
|
private |
Based on the old ESProducer corrector, create the equivalent EDProducer
Definition at line 59 of file customizeHLTforNewJetCorrectors.py.
References _translateParameters().
Referenced by _buildSequenceOfCorrectors().
|
private |
Based on the old EDProducer which used a corrector from the EventSetup, create the appropriate EDProducer which gets the corrector from the Event.
Definition at line 67 of file customizeHLTforNewJetCorrectors.py.
References _translateParameters().
Referenced by customizeHLTforNewJetCorrectors().
|
private |
Appropriately transform the parameters from the old module to the new module. This includes changing 'correctors' from a vstring to a VInputTag
Definition at line 44 of file customizeHLTforNewJetCorrectors.py.
References _correctorNameChanger(), and dir.
Referenced by _makeNewCorrectorFromOld(), and _makeNewProducerFroOld().
def customizeHLTforNewJetCorrectors.customizeHLTforNewJetCorrectors | ( | process | ) |
Definition at line 89 of file customizeHLTforNewJetCorrectors.py.
References _buildSequenceOfCorrectors(), _correctorNameChanger(), _findCorrectorsUsedByProducer(), _findModulesToChange(), _makeNewProducerFroOld(), and join().
dictionary customizeHLTforNewJetCorrectors._oldToNewProds = {'CaloJetCorrectionProducer':'CorrectedCaloJetProducer','PFJetCorrectionProducer':'CorrectedPFJetProducer'} |
Definition at line 4 of file customizeHLTforNewJetCorrectors.py.