Classes | |
class | IsolationCutInputs |
class | WorkingPoint_V1 |
class | WorkingPoint_V2 |
Functions | |
def | configureVIDCutBasedPhoID_V1 (wpEB, wpEE, isoInputs) |
def | configureVIDCutBasedPhoID_V2 (wpEB, wpEE, isoInputs) |
def | configureVIDCutBasedPhoID_V3 (wpEB, wpEE, isoInputs) |
def | configureVIDCutBasedPhoID_V4 (wpEB, wpEE, isoInputs) |
def | configureVIDCutBasedPhoID_V5 (wpEB, wpEE, isoInputs) |
def | psetChHadIsoWithEALinScalingCut (wpEB, wpEE, isoInputs) |
def | psetMinPtCut () |
def | psetNeuHadIsoWithEAExpoScalingCut (wpEB, wpEE, isoInputs) |
def | psetNeuHadIsoWithEAExpoScalingEBCut (wpEB, wpEE, isoInputs) |
def | psetNeuHadIsoWithEALinScalingCut (wpEB, wpEE, isoInputs) |
def | psetNeuHadIsoWithEAQuadScalingCut (wpEB, wpEE, isoInputs) |
def | psetPhoFull5x5SigmaIEtaIEtaCut (wpEB, wpEE) |
def | psetPhoFull5x5SigmaIEtaIEtaValueMapCut (wpEB, wpEE) |
def | psetPhoIsoWithEALinScalingCut (wpEB, wpEE, isoInputs) |
def | psetPhoSCEtaMultiRangeCut () |
def | psetPhoSingleTowerHadOverEmCut (wpEB, wpEE) |
Variables | |
ebCutOff | |
def cutBasedPhotonID_tools.configureVIDCutBasedPhoID_V1 | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
This function configures the full cms.PSet for a VID ID and returns it. The inputs: two objects of the type WorkingPoint_V1, one containing the cuts for the Barrel (EB) and the other one for the Endcap (EE). The third argument contains data for isolation calculation.
Definition at line 317 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEALinScalingCut(), psetPhoFull5x5SigmaIEtaIEtaValueMapCut(), psetPhoIsoWithEALinScalingCut(), psetPhoSCEtaMultiRangeCut(), and psetPhoSingleTowerHadOverEmCut().
def cutBasedPhotonID_tools.configureVIDCutBasedPhoID_V2 | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
This function configures the full cms.PSet for a VID ID and returns it. The inputs: first object is of the type WorkingPoint_V2, second object is of the type WorkingPoint_V1, containing the cuts for the Barrel (EB) and the other one for the Endcap (EE). The third argument contains data for isolation calculation. The V2 with respect to V1 has one change: the neutral hadron isolation cut has an exponential pt scaling for the barrel.
Definition at line 341 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAExpoScalingEBCut(), psetPhoFull5x5SigmaIEtaIEtaValueMapCut(), psetPhoIsoWithEALinScalingCut(), psetPhoSCEtaMultiRangeCut(), and psetPhoSingleTowerHadOverEmCut().
def cutBasedPhotonID_tools.configureVIDCutBasedPhoID_V3 | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
This function configures the full cms.PSet for a VID ID and returns it. The inputs: first object is of the type WorkingPoint_V2, second object is of the type WorkingPoint_V1, containing the cuts for the Barrel (EB) and the other one for the Endcap (EE). The third argument contains data for isolation calculation. The V3 with respect to V2 has one change: the full5x5 sigmaIEtaIEta is taken from the native reco::Photon method and not from a ValueMap produced upstream by some producer module.
Definition at line 369 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAExpoScalingEBCut(), psetPhoFull5x5SigmaIEtaIEtaCut(), psetPhoIsoWithEALinScalingCut(), psetPhoSCEtaMultiRangeCut(), and psetPhoSingleTowerHadOverEmCut().
def cutBasedPhotonID_tools.configureVIDCutBasedPhoID_V4 | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
This function configures the full cms.PSet for a VID ID and returns it. The inputs: first object is of the type WorkingPoint_V2, second object is of the type WorkingPoint_V2 as well, first containing the cuts for the Barrel (EB) and the other one for the Endcap (EE). The third argument contains data for isolation calculation. The V4 with respect to V3 has one change: both barrel and endcap use the exponential scaling for the neutral hadron isolation cut (in V3 it was only done for the barrel)
Definition at line 398 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAExpoScalingCut(), psetPhoFull5x5SigmaIEtaIEtaCut(), psetPhoIsoWithEALinScalingCut(), psetPhoSCEtaMultiRangeCut(), and psetPhoSingleTowerHadOverEmCut().
def cutBasedPhotonID_tools.configureVIDCutBasedPhoID_V5 | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
This function configures the full cms.PSet for a VID ID and returns it. The inputs: first object is of the type WorkingPoint_V2, second object is of the type WorkingPoint_V2 as well, first containing the cuts for the Barrel (EB) and the other one for the Endcap (EE). The third argument contains data for isolation calculation. The V5 with respect to V4 has one change: the neutral hadron isolation for both barrel and endcap now uses quadratic polynomial scaling.
Definition at line 427 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAQuadScalingCut(), psetPhoFull5x5SigmaIEtaIEtaCut(), psetPhoIsoWithEALinScalingCut(), psetPhoSCEtaMultiRangeCut(), and psetPhoSingleTowerHadOverEmCut().
def cutBasedPhotonID_tools.psetChHadIsoWithEALinScalingCut | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_* The third argument contains data for isolation calculation.
Definition at line 168 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), and configureVIDCutBasedPhoID_V5().
def cutBasedPhotonID_tools.psetMinPtCut | ( | ) |
Definition at line 96 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), and configureVIDCutBasedPhoID_V5().
def cutBasedPhotonID_tools.psetNeuHadIsoWithEAExpoScalingCut | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_* The third argument contains data for isolation calculation.
Definition at line 239 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V4().
def cutBasedPhotonID_tools.psetNeuHadIsoWithEAExpoScalingEBCut | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_* The third argument contains data for isolation calculation.
Definition at line 214 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V2(), and configureVIDCutBasedPhoID_V3().
def cutBasedPhotonID_tools.psetNeuHadIsoWithEALinScalingCut | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_* The third argument contains data for isolation calculation.
Definition at line 191 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1().
def cutBasedPhotonID_tools.psetNeuHadIsoWithEAQuadScalingCut | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_* The third argument contains data for isolation calculation.
Definition at line 265 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V5().
def cutBasedPhotonID_tools.psetPhoFull5x5SigmaIEtaIEtaCut | ( | wpEB, | |
wpEE | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_*
Definition at line 152 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), and configureVIDCutBasedPhoID_V5().
def cutBasedPhotonID_tools.psetPhoFull5x5SigmaIEtaIEtaValueMapCut | ( | wpEB, | |
wpEE | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_*
Definition at line 136 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), and configureVIDCutBasedPhoID_V2().
def cutBasedPhotonID_tools.psetPhoIsoWithEALinScalingCut | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_* The third argument contains data for isolation calculation.
Definition at line 291 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), and configureVIDCutBasedPhoID_V5().
def cutBasedPhotonID_tools.psetPhoSCEtaMultiRangeCut | ( | ) |
Definition at line 105 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), and configureVIDCutBasedPhoID_V5().
def cutBasedPhotonID_tools.psetPhoSingleTowerHadOverEmCut | ( | wpEB, | |
wpEE | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_*
Definition at line 120 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), and configureVIDCutBasedPhoID_V5().
cutBasedPhotonID_tools.ebCutOff |
Definition at line 5 of file cutBasedPhotonID_tools.py.