Classes | |
class | IsolationCutInputs |
class | WorkingPoint_V1 |
class | WorkingPoint_V2 |
Variables | |
float | ebCutOff = 1.479 |
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 265 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 289 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 317 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAExpoScalingEBCut(), 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(), and configureVIDCutBasedPhoID_V3().
def cutBasedPhotonID_tools.psetMinPtCut | ( | ) |
Definition at line 96 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), and configureVIDCutBasedPhoID_V3().
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.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().
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 239 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), and configureVIDCutBasedPhoID_V3().
def cutBasedPhotonID_tools.psetPhoSCEtaMultiRangeCut | ( | ) |
Definition at line 105 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), and configureVIDCutBasedPhoID_V3().
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(), and configureVIDCutBasedPhoID_V3().
float cutBasedPhotonID_tools.ebCutOff = 1.479 |
Definition at line 5 of file cutBasedPhotonID_tools.py.