Functions | |
def | bestMatch (object, matchCollection) |
def | cleanObjectCollection (objects, masks, deltaRMin) |
def | cleanObjectCollection2 (objects, masks, deltaRMin) |
def | deltaPhi (p1, p2) |
def | deltaR (args) |
def | deltaR2 (e1, p1, e2, p2) |
def | matchObjectCollection (objects, matchCollection, deltaR2Max) |
def | matchObjectCollection2 (objects, matchCollection, deltaRMax=0.3) |
def | matchObjectCollection3 |
def DeltaR.bestMatch | ( | object, | |
matchCollection | |||
) |
Return the best match to object in matchCollection, which is the closest object in delta R
Definition at line 118 of file DeltaR.py.
References deltaR2(), and nano_mu_digi_cff.float.
Referenced by matchObjectCollection().
def DeltaR.cleanObjectCollection | ( | objects, | |
masks, | |||
deltaRMin | |||
) |
Masks objects using a deltaR cut.
Definition at line 96 of file DeltaR.py.
References deltaR2().
def DeltaR.cleanObjectCollection2 | ( | objects, | |
masks, | |||
deltaRMin | |||
) |
Masks objects using a deltaR cut, another algorithm (same results).
Definition at line 69 of file DeltaR.py.
References deltaR2().
def DeltaR.deltaPhi | ( | p1, | |
p2 | |||
) |
def DeltaR.deltaR2 | ( | e1, | |
p1, | |||
e2, | |||
p2 | |||
) |
Definition at line 6 of file DeltaR.py.
References deltaPhi().
Referenced by bestMatch(), cleanObjectCollection(), cleanObjectCollection2(), and deltaR().
def DeltaR.matchObjectCollection | ( | objects, | |
matchCollection, | |||
deltaR2Max | |||
) |
Definition at line 131 of file DeltaR.py.
References bestMatch(), and ComparisonHelper.zip().
def DeltaR.matchObjectCollection2 | ( | objects, | |
matchCollection, | |||
deltaRMax = 0.3 |
|||
) |
Univoque association of an element from matchCollection to an element of objects. Reco and Gen objects get the "matched" attribute, true if they are part of a matched tuple. By default, the matching is true only if delta R is smaller than 0.3.
Definition at line 146 of file DeltaR.py.
References ComparisonHelper.zip().
def DeltaR.matchObjectCollection3 | ( | objects, | |
matchCollection, | |||
deltaRMax = 0.3 , |
|||
filter = lambda x , |
|||
y | |||
) |
Definition at line 25 of file DeltaR.py.
References ALCARECOTkAlBeamHalo_cff.filter, and ComparisonHelper.zip().