DAS  3.0
Das Analysis System
GenericObject.h File Reference
#include <cmath>
#include <ostream>
#include <string_view>
#include <vector>
#include <Math/Vector4D.h>
#include <Variation.h>
#include <Weight.h>
+ Include dependency graph for GenericObject.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AbstractGenericObject
 
class  GenericObject
 

Namespaces

 Darwin
 
 Darwin::Physics
 

Functions

bool operator== (const GenericObject &l, const GenericObject &r)
 
bool operator< (const GenericObject &l, const GenericObject &r)
 
bool operator> (const GenericObject &l, const GenericObject &r)
 
std::ostream & operator<< (std::ostream &s, const Darwin::Physics::FourVector &p4)
 
std::ostream & operator<< (std::ostream &s, const Darwin::Physics::GenericObject &obj)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  s,
const Darwin::Physics::FourVector p4 
)
inline
96 {
97  return s << '(' << p4.Pt() << ',' << p4.Eta() << ',' << p4.Phi() << ',' << p4.M() << ')';
98 }

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  s,
const Darwin::Physics::GenericObject obj 
)
inline
101 {
102  return s << obj.p4 << ' ' << obj.scales.size() << ' ' << obj.weights.size();
103 }
Darwin::Physics::GenericObject::weights
Weights weights
object weights
Definition: GenericObject.h:55
Darwin::Physics::GenericObject::scales
std::vector< float > scales
energy scale corrections and variations
Definition: GenericObject.h:54
Darwin::Physics::GenericObject::p4
FourVector p4
raw four-momentum directly after reconstruction
Definition: GenericObject.h:53