#include <CutsConeSizeFunction.h>
Public Member Functions | |
float | coneSize (float eta, float pt) const |
CutsConeSizeFunction (const Cuts &cuts) | |
float | threshold () const |
Private Attributes | |
const Cuts & | theCuts |
const Cuts::CutSpec * | theLastCut |
Definition at line 8 of file CutsConeSizeFunction.h.
muonisolation::CutsConeSizeFunction::CutsConeSizeFunction | ( | const Cuts & | cuts | ) | [inline] |
Definition at line 10 of file CutsConeSizeFunction.h.
: theLastCut(0), theCuts(cuts) {}
float muonisolation::CutsConeSizeFunction::coneSize | ( | float | eta, |
float | pt | ||
) | const [inline, virtual] |
Implements muonisolation::IsolatorByDeposit::ConeSizeFunction.
Definition at line 12 of file CutsConeSizeFunction.h.
References muonisolation::Cuts::CutSpec::conesize, theCuts, and theLastCut.
{ theLastCut = & theCuts(eta); return theLastCut->conesize; }
float muonisolation::CutsConeSizeFunction::threshold | ( | ) | const [inline] |
Definition at line 11 of file CutsConeSizeFunction.h.
References theLastCut, and muonisolation::Cuts::CutSpec::threshold.
{ return theLastCut->threshold; }
const Cuts& muonisolation::CutsConeSizeFunction::theCuts [private] |
Definition at line 18 of file CutsConeSizeFunction.h.
Referenced by coneSize().
const Cuts::CutSpec* muonisolation::CutsConeSizeFunction::theLastCut [mutable, private] |
Definition at line 17 of file CutsConeSizeFunction.h.
Referenced by coneSize(), and threshold().