1 #ifndef UtilAlgos_IMASelector_h
2 #define UtilAlgos_IMASelector_h
9 IMASelector(
double ESCOPinMin,
double ESeedOPoutMin,
double PinMPoutOPinMin,
10 double ESCOPinMax,
double ESeedOPoutMax,
double PinMPoutOPinMax,
11 double EMPoutMin,
double EMPoutMax) :
23 double pin = t.trackMomentumAtVtx ().R () ;
24 double poMpiOpi = (pin - t.trackMomentumOut ().R ()) / pin ;
25 double ESC = t.energy () ;
26 double pOut = t.trackMomentumOut().R();
27 double EseedOPout = t.eSeedClusterOverPout () ;
28 double EoPin = t.eSuperClusterOverP () ;
29 double EoPout = (ESC)/pOut;
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)
bool operator()(const T &t) const
static IMASelector make(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)