1 #ifndef HLTrigger_JetMET_AlphaT_h
2 #define HLTrigger_JetMET_AlphaT_h
12 AlphaT(std::vector<T const *>
const &
p4,
bool use_et =
true);
15 AlphaT(std::vector<T>
const & p4,
bool use_et =
true);
18 std::vector<double>
et_;
19 std::vector<double>
px_;
20 std::vector<double>
py_;
23 inline double value(
void)
const;
24 inline double value(std::vector<bool> & jet_sign)
const;
27 double value_(std::vector<bool> * jet_sign)
const;
34 std::transform( p4.begin(), p4.end(), back_inserter(
et_), ( use_et ? std::mem_fun(&T::Et) : std::mem_fun(&
T::Pt) ) );
43 std::transform( p4.begin(), p4.end(), back_inserter(
px_), std::mem_fun_ref(&T::Px) );
44 std::transform( p4.begin(), p4.end(), back_inserter(
py_), std::mem_fun_ref(&T::Py) );
60 #endif // HLTrigger_JetMET_AlphaT_h
std::vector< double > px_
std::vector< double > py_
double value_(std::vector< bool > *jet_sign) const
std::vector< double > et_
AlphaT(std::vector< T const * > const &p4, bool use_et=true)