1 #ifndef ICHiggsTauTau_Met_hh
2 #define ICHiggsTauTau_Met_hh
19 double pt()
const {
return sqrt(px*px+py*py); }
20 double phi()
const {
return std::atan2(py,px); }
25 typedef std::map<std::size_t, ic::Met::BasicMet> UBMmap;
26 typedef std::map<std::size_t, std::string> TSmap;
31 virtual void Print()
const;
35 inline double sum_et()
const {
return sum_et_; }
39 inline double et_sig()
const {
return et_sig_; }
42 inline double xx_sig()
const {
return xx_sig_; }
45 inline double xy_sig()
const {
return xy_sig_; }
48 inline double yx_sig()
const {
return yx_sig_; }
51 inline double yy_sig()
const {
return yy_sig_; }
54 inline std::map<std::size_t, ic::Met::BasicMet>
const&
shifted_mets()
const {
61 inline std::map<std::size_t, ic::Met::BasicMet>
const&
corrected_mets()
const {
63 return correctedmets_;
98 inline void set_shiftedmets(std::map<std::size_t, ic::Met::BasicMet>
const& shiftedmets) { shiftedmets_ = shiftedmets; }
102 inline void set_correctedmets(std::map<std::size_t, ic::Met::BasicMet>
const& cormets) {
104 correctedmets_ = cormets;
125 UBMmap correctedmets_;
127 std::string UnHashMetCor(std::size_t cor)
const;
128 std::string UnHashMetUnc(std::size_t unc)
const;
130 #ifndef SKIP_CINT_DICT
Stores a missing transverse energy object and the corresponding significance and corrections.
virtual void Print() const
ic::Met::BasicMet GetCorrectedMet(std::string const &name) const
Returns a specific correction factor if name is defined, otherwise returns zero.
double et_sig() const
Signifiance of the missing transverse energy.
void set_xx_sig(double const &xx_sig)
The component of the significance matrix.
void set_yy_sig(double const &yy_sig)
The component of the significance matrix.
void set_et_sig(double const &et_sig)
Signifiance of the missing transverse energy.
Stores a four-momentum, charge and identifier, and is the base class for most other physics objects...
ic::Met::BasicMet GetShiftedMet(std::string const &name) const
Returns a specific correction factor if name is defined, otherwise returns zero.
double sum_et() const
Scalar sum of transverse energies for all input objects.
std::map< std::size_t, ic::Met::BasicMet > const & shifted_mets() const
The vector of shifted mets.
std::vector< ic::Met > MetCollection
void set_shiftedmets(std::map< std::size_t, ic::Met::BasicMet > const &shiftedmets)
void SetCorrectedMet(std::string const &name, ic::Met::BasicMet const &value)
Store a corrected met, overwriting any existing value with label name
double xx_sig() const
The component of the significance matrix.
double yx_sig() const
The component of the significance matrix.
void set_yx_sig(double const &yx_sig)
The component of the significance matrix.
std::map< std::size_t, ic::Met::BasicMet > const & corrected_mets() const
map of MET corrections.
void SetShiftedMet(std::string const &name, ic::Met::BasicMet const &value)
Store a shifted met, overwriting any existing value with label name
double xy_sig() const
The component of the significance matrix.
std::ostream & operator<<(std::ostream &os, const ic::Met::BasicMet &met)
double yy_sig() const
The component of the significance matrix.
void set_sum_et(double const &sum_et)
Scalar sum of transverse energies for all input objects.
void set_correctedmets(std::map< std::size_t, ic::Met::BasicMet > const &cormets)
void set_xy_sig(double const &xy_sig)
The component of the significance matrix.