5 #ifndef CORE_RESOLUTION_HPP_ 6 #define CORE_RESOLUTION_HPP_ 15 virtual std::vector<double>
resolution(std::vector<double> v) = 0;
23 virtual std::vector<double>
resolution(std::vector<double> v) {
24 std::vector<double> offset(v.size(), 0);
25 for (
unsigned int i = 0; i < v.size(); i++)
26 v.at(i) += offset.at(i);
virtual void resolution(Event &ev)=0
virtual ~ZeroResolution()
virtual void resolution(Event &ev)
virtual std::vector< double > resolution(std::vector< double > v)
Data structure containing all kinematic information of a physics event.