4 #include "TLorentzVector.h" 21 CRITICAL(
"LorentzVector " << this->get_name() <<
" created with invalid pt", -1);
23 CRITICAL(
"LorentzVector " << this->get_name() <<
" created with invalid eta", -1);
25 CRITICAL(
"LorentzVector " << this->get_name() <<
" created with invalid phi", -1);
27 CRITICAL(
"LorentzVector " << this->get_name() <<
" created with invalid mass", -1);
41 const std::string &pt_label,
42 const std::string &eta_label,
43 const std::string &phi_label,
44 const std::string &m_label)
49 dynamic_cast<Value<double>*
>(GenValue::get_value(m_label))){ }
60 if (vector ==
nullptr)
61 CRITICAL(
"LorentzVectorEnergy " << this->get_name() <<
" created with invalid vector", -1);
74 #endif // root_value_hpp std::string name
The name of the value.
Definition: value.hpp:190
void update_value()
Updates the internal value.
Definition: value.hpp:15
void verify_integrity()
This function serves to check that this Value has been created with real, i.e.
Definition: value.hpp:59
void verify_integrity()
This function serves to check that this Value has been created with real, i.e.
Definition: value.hpp:19
A generic, derived, value.
Definition: value.hpp:366
virtual T & get_value()=0
Calculate, if necessary, and return the value held by this object.
void update_value()
Updates the internal value.
Definition: value.hpp:55