Functions | |
def | bestMatch |
def | cleanObjectCollection |
def | cleanObjectCollection2 |
def | deltaPhi |
def | deltaR |
def | deltaR2 |
def | matchObjectCollection |
def | matchObjectCollection2 |
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().
Referenced by matchObjectCollection().
def DeltaR.cleanObjectCollection | ( | objects, | |
masks, | |||
deltaRMin | |||
) |
def DeltaR.cleanObjectCollection2 | ( | objects, | |
masks, | |||
deltaRMin | |||
) |
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 alcazmumu_cfi.filter, and ComparisonHelper.zip().