#include <Calibration/Tools/interface/IMASelector.h>
Public Member Functions | |
IMASelector (double ESCOPinMin, double ESeedOPoutMin, double PinMPoutOPinMin, double ESCOPinMax, double ESeedOPoutMax, double PinMPoutOPinMax) | |
template<typename T> | |
bool | operator() (const T &t) const |
Private Attributes | |
double | ESCOPinMax_ |
double | ESCOPinMin_ |
double | ESeedOPoutMax_ |
double | ESeedOPoutMin_ |
double | PinMPoutOPinMax_ |
double | PinMPoutOPinMin_ |
Definition at line 6 of file IMASelector.h.
IMASelector::IMASelector | ( | double | ESCOPinMin, | |
double | ESeedOPoutMin, | |||
double | PinMPoutOPinMin, | |||
double | ESCOPinMax, | |||
double | ESeedOPoutMax, | |||
double | PinMPoutOPinMax | |||
) | [inline] |
Definition at line 7 of file IMASelector.h.
00008 : 00009 ESCOPinMin_ (ESCOPinMin), 00010 ESeedOPoutMin_ (ESeedOPoutMin), 00011 PinMPoutOPinMin_ (PinMPoutOPinMin), 00012 ESCOPinMax_ (ESCOPinMax), 00013 ESeedOPoutMax_ (ESeedOPoutMax), 00014 PinMPoutOPinMax_ (PinMPoutOPinMax) {}
bool IMASelector::operator() | ( | const T & | t | ) | const [inline] |
Definition at line 16 of file IMASelector.h.
References ESCOPinMax_, ESCOPinMin_, ESeedOPoutMax_, ESeedOPoutMin_, PinMPoutOPinMax_, and PinMPoutOPinMin_.
00016 { 00017 double pin = t.trackMomentumAtVtx ().R () ; 00018 double poMpiOpi = (pin - t.trackMomentumOut ().R ()) / pin ; 00019 // double ESC = t.energy () ; 00020 double EseedOPout = t.eSeedClusterOverPout () ; 00021 double EoPin = t.eSuperClusterOverP () ; 00022 return (poMpiOpi > PinMPoutOPinMin_ && poMpiOpi < PinMPoutOPinMax_ & 00023 EseedOPout > ESeedOPoutMin_ && EseedOPout < ESeedOPoutMax_ & 00024 EoPin > ESCOPinMin_ && EoPin < ESCOPinMax_) ; 00025 }
double IMASelector::ESCOPinMax_ [private] |
double IMASelector::ESCOPinMin_ [private] |
double IMASelector::ESeedOPoutMax_ [private] |
double IMASelector::ESeedOPoutMin_ [private] |
double IMASelector::PinMPoutOPinMax_ [private] |
double IMASelector::PinMPoutOPinMin_ [private] |