Classes | |
class | ClusterIsolationCutInputs |
class | HoverECutInputs |
class | IsolationCutInputs |
class | WorkingPoint_V1 |
class | WorkingPoint_V2 |
class | WorkingPoint_V3 |
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 498 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEALinScalingCut(), psetPhoFull5x5SigmaIEtaIEtaValueMapCut(), psetPhoHcalOverEcalBcCut(), psetPhoIsoWithEALinScalingCut(), and psetPhoSCEtaMultiRangeCut().
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 522 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAExpoScalingEBCut(), psetPhoFull5x5SigmaIEtaIEtaValueMapCut(), psetPhoHcalOverEcalBcCut(), psetPhoIsoWithEALinScalingCut(), and psetPhoSCEtaMultiRangeCut().
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 550 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAExpoScalingEBCut(), psetPhoFull5x5SigmaIEtaIEtaCut(), psetPhoHcalOverEcalBcCut(), psetPhoIsoWithEALinScalingCut(), and psetPhoSCEtaMultiRangeCut().
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 579 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAExpoScalingCut(), psetPhoFull5x5SigmaIEtaIEtaCut(), psetPhoHcalOverEcalBcCut(), psetPhoIsoWithEALinScalingCut(), and psetPhoSCEtaMultiRangeCut().
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 608 of file cutBasedPhotonID_tools.py.
References psetChHadIsoWithEALinScalingCut(), psetMinPtCut(), psetNeuHadIsoWithEAQuadScalingCut(), psetPhoFull5x5SigmaIEtaIEtaCut(), psetPhoHcalOverEcalBcCut(), psetPhoIsoWithEALinScalingCut(), and psetPhoSCEtaMultiRangeCut().
def cutBasedPhotonID_tools.configureVIDCutBasedPhoID_V6 | ( | wpEB, | |
wpEE, | |||
isoInputs, | |||
clusterIsoInputs, | |||
hOverEInputs | |||
) |
This function configures the full cms.PSet for a VID ID and returns it. The inputs: first object is of the type WorkingPoint_V3, second object is of the type WorkingPoint_V3 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 V6 with respect to V5 has following changes: 1) H/E is now cone-based instead of tower-based. 2) Neutral hadron isolation is replaced by HCal Cluster isolation for both barrel and endcap (and uses quadratic polynomial scaling as done before for neutral hadron isolation). 3) Photon isolation is replaced by ECal Cluster isolation for both barrel and endcap (and uses linear polynomial scaling as done before for photon isolation).
Definition at line 638 of file cutBasedPhotonID_tools.py.
References psetChgHadIsoWithEAQuadScalingCut(), psetECalClusIsoWithEAQuadScalingCut(), psetHCalClusIsoWithEAQuadScalingCut(), psetMinPtCut(), psetPhoFull5x5SigmaIEtaIEtaCut(), psetPhoHcalOverEcalWithEACut(), and psetPhoSCEtaMultiRangeCut().
def cutBasedPhotonID_tools.psetChgHadIsoWithEAQuadScalingCut | ( | wpEB, | |
wpEE, | |||
isoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_V3 The third argument contains data for isolation calculation. The cut is (for lessThan==True), otherwise replace "<" with ">=" X < constTerm + linearPtTerm*pt + quadPtTerm* pt*pt + rho*EA
Definition at line 413 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V6().
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. The cut is (for lessThan==True), otherwise replace "<" with ">=" X < constTerm + linearPtTerm*pt + quadPtTerm* pt*pt + rho*EA
Definition at line 238 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), and configureVIDCutBasedPhoID_V5().
def cutBasedPhotonID_tools.psetECalClusIsoWithEAQuadScalingCut | ( | wpEB, | |
wpEE, | |||
clusterIsoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_V3 The third argument contains data for isolation calculation.
Definition at line 442 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V6().
def cutBasedPhotonID_tools.psetHCalClusIsoWithEAQuadScalingCut | ( | wpEB, | |
wpEE, | |||
clusterIsoInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_V3 The third argument contains data for isolation calculation.
Definition at line 468 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V6().
def cutBasedPhotonID_tools.psetMinPtCut | ( | ) |
Definition at line 167 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), configureVIDCutBasedPhoID_V5(), and configureVIDCutBasedPhoID_V6().
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 313 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 288 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 264 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 339 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 223 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), configureVIDCutBasedPhoID_V5(), and configureVIDCutBasedPhoID_V6().
def cutBasedPhotonID_tools.psetPhoFull5x5SigmaIEtaIEtaValueMapCut | ( | wpEB, | |
wpEE | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_*
Definition at line 207 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), and configureVIDCutBasedPhoID_V2().
def cutBasedPhotonID_tools.psetPhoHcalOverEcalBcCut | ( | wpEB, | |
wpEE | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_*
Definition at line 191 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), and configureVIDCutBasedPhoID_V5().
def cutBasedPhotonID_tools.psetPhoHcalOverEcalWithEACut | ( | wpEB, | |
wpEE, | |||
hOverEInputs | |||
) |
Arguments: two containers of working point cut values of the type WorkingPoint_V3 Third argument contains the effective areas for pile-up corrections.
Definition at line 387 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V6().
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 363 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 176 of file cutBasedPhotonID_tools.py.
Referenced by configureVIDCutBasedPhoID_V1(), configureVIDCutBasedPhoID_V2(), configureVIDCutBasedPhoID_V3(), configureVIDCutBasedPhoID_V4(), configureVIDCutBasedPhoID_V5(), and configureVIDCutBasedPhoID_V6().
cutBasedPhotonID_tools.ebCutOff |
Definition at line 5 of file cutBasedPhotonID_tools.py.