1 #ifndef UtilAlgos_IMASelector_h
2 #define UtilAlgos_IMASelector_h
8 IMASelector(
double ESCOPinMin,
double ESeedOPoutMin,
double PinMPoutOPinMin,
9 double ESCOPinMax,
double ESeedOPoutMax,
double PinMPoutOPinMax,
10 double EMPoutMin,
double EMPoutMax) :
22 double pin = t.trackMomentumAtVtx ().R () ;
23 double poMpiOpi = (pin - t.trackMomentumOut ().R ()) / pin ;
24 double ESC = t.energy () ;
25 double pOut = t.trackMomentumOut().R();
26 double EseedOPout = t.eSeedClusterOverPout () ;
27 double EoPin = t.eSuperClusterOverP () ;
28 double EoPout = (ESC)/pOut;
35 EoPout > EMPoutMin_ && EoPout < EMPoutMax_) ;
T getParameter(std::string const &) const
SingleObjectSelector< reco::GsfElectronCollection,::IMASelector > IMASelector
IMASelector(double ESCOPinMin, double ESeedOPoutMin, double PinMPoutOPinMin, double ESCOPinMax, double ESeedOPoutMax, double PinMPoutOPinMax, double EMPoutMin, double EMPoutMax)
static IMASelector make(const edm::ParameterSet &cfg)
bool operator()(const T &t) const