#include <cmath>
#include <algorithm>
#include <iostream>
#include <type_traits>
#include "Core/Objects/interface/Jet.h"
#include "Core/Objects/interface/Lepton.h"
#include "Core/Objects/interface/Variation.h"
#include "Math/VectorUtil.h"
Go to the source code of this file.
|
template<typename Obj1 , typename Obj2 , class = typename std::enable_if_t<std::is_base_of_v<DAS::AbstractPhysicsObject, Obj1>>, class = typename std::enable_if_t<std::is_base_of_v<DAS::AbstractPhysicsObject, Obj2>>> |
auto | operator+ (Obj1 &o1, Obj2 &o2) |
|
template<typename Obj1 , typename Obj2 > |
std::ostream & | operator<< (std::ostream &s, const DAS::Di< Obj1, Obj2 > &di) |
|
◆ operator+()
auto operator+ |
( |
Obj1 & |
o1, |
|
|
Obj2 & |
o2 |
|
) |
| |
Generic overload of operator+
to define composite objects as follows:
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const DAS::Di< Obj1, Obj2 > & |
di |
|
) |
| |
104 return s <<
'[' << *di.first <<
", " << *di.second <<
"] = " << di.
CorrP4();
106 return s <<
"\x1B[33minvalid system\x1B[0m";