![]() |
Belle II Software
release-08-02-04
|
small helper functor to find a pair in a container of pairs, where .first matches the passed integer COULDDO: make this templated to take any arguments to the pair, instead of only ints and shorts More...
Public Member Functions | |
| compFirst (int j) | |
| explicit constructor for use as functor with argument | |
| bool | operator() (const pair< int, short > &p) |
| comparison operator returning true if .first is j (from ctor) | |
Private Attributes | |
| int | i |
| only member holding the value that has to be matched by the .first element of a pair | |
small helper functor to find a pair in a container of pairs, where .first matches the passed integer COULDDO: make this templated to take any arguments to the pair, instead of only ints and shorts
Definition at line 104 of file purityCalculatorTools.cc.