#include <IMASelector.h>
Public Member Functions | |
IMASelector (double ESCOPinMin, double ESeedOPoutMin, double PinMPoutOPinMin, double ESCOPinMax, double ESeedOPoutMax, double PinMPoutOPinMax, double EMPoutMin, double EMPoutMax) | |
template<typename T > | |
bool | operator() (const T &t) const |
Private Attributes | |
double | EMPoutMax_ |
double | EMPoutMin_ |
double | ESCOPinMax_ |
double | ESCOPinMin_ |
double | ESeedOPoutMax_ |
double | ESeedOPoutMin_ |
double | PinMPoutOPinMax_ |
double | PinMPoutOPinMin_ |
Definition at line 7 of file IMASelector.h.
IMASelector::IMASelector | ( | double | ESCOPinMin, |
double | ESeedOPoutMin, | ||
double | PinMPoutOPinMin, | ||
double | ESCOPinMax, | ||
double | ESeedOPoutMax, | ||
double | PinMPoutOPinMax, | ||
double | EMPoutMin, | ||
double | EMPoutMax | ||
) | [inline] |
Definition at line 8 of file IMASelector.h.
: ESCOPinMin_ (ESCOPinMin), ESeedOPoutMin_ (ESeedOPoutMin), PinMPoutOPinMin_ (PinMPoutOPinMin), ESCOPinMax_ (ESCOPinMax), ESeedOPoutMax_ (ESeedOPoutMax), PinMPoutOPinMax_ (PinMPoutOPinMax), EMPoutMin_ (EMPoutMin), EMPoutMax_ (EMPoutMax) {}
bool IMASelector::operator() | ( | const T & | t | ) | const [inline] |
Definition at line 21 of file IMASelector.h.
References EMPoutMax_, EMPoutMin_, ESCOPinMax_, ESCOPinMin_, ESeedOPoutMax_, ESeedOPoutMin_, PinMPoutOPinMax_, and PinMPoutOPinMin_.
{ double pin = t.trackMomentumAtVtx ().R () ; double poMpiOpi = (pin - t.trackMomentumOut ().R ()) / pin ; double ESC = t.energy () ; double pOut = t.trackMomentumOut().R(); double EseedOPout = t.eSeedClusterOverPout () ; double EoPin = t.eSuperClusterOverP () ; double EoPout = (ESC)/pOut; return (poMpiOpi > PinMPoutOPinMin_ && poMpiOpi < PinMPoutOPinMax_ && EseedOPout > ESeedOPoutMin_ && EseedOPout < ESeedOPoutMax_ && EoPin > ESCOPinMin_ && EoPin < ESCOPinMax_ && EoPout > EMPoutMin_ && EoPout < EMPoutMax_) ; }
double IMASelector::EMPoutMax_ [private] |
Definition at line 37 of file IMASelector.h.
Referenced by operator()().
double IMASelector::EMPoutMin_ [private] |
Definition at line 37 of file IMASelector.h.
Referenced by operator()().
double IMASelector::ESCOPinMax_ [private] |
Definition at line 36 of file IMASelector.h.
Referenced by operator()().
double IMASelector::ESCOPinMin_ [private] |
Definition at line 35 of file IMASelector.h.
Referenced by operator()().
double IMASelector::ESeedOPoutMax_ [private] |
Definition at line 36 of file IMASelector.h.
Referenced by operator()().
double IMASelector::ESeedOPoutMin_ [private] |
Definition at line 35 of file IMASelector.h.
Referenced by operator()().
double IMASelector::PinMPoutOPinMax_ [private] |
Definition at line 36 of file IMASelector.h.
Referenced by operator()().
double IMASelector::PinMPoutOPinMin_ [private] |
Definition at line 35 of file IMASelector.h.
Referenced by operator()().