1 #ifndef UtilAlgos_IMASelector_h 2 #define UtilAlgos_IMASelector_h 10 double PinMPoutOPinMin,
13 double PinMPoutOPinMax,
27 double pin =
t.trackMomentumAtVtx().R();
28 double poMpiOpi = (pin -
t.trackMomentumOut().R()) / pin;
29 double ESC =
t.energy();
30 double pOut =
t.trackMomentumOut().R();
31 double EseedOPout =
t.eSeedClusterOverPout();
32 double EoPin =
t.eSuperClusterOverP();
33 double EoPout = (ESC) / pOut;
51 cfg.getParameter<
double>(
"ESeedOPoutMin"),
52 cfg.getParameter<
double>(
"PinMPoutOPinMin"),
53 cfg.getParameter<
double>(
"ESCOPinMax"),
54 cfg.getParameter<
double>(
"ESeedOPoutMax"),
55 cfg.getParameter<
double>(
"PinMPoutOPinMax"),
56 cfg.getParameter<
double>(
"EMPoutMin"),
57 cfg.getParameter<
double>(
"EMPoutMax"));
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)