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

Go to the source code of this file.

Classes

struct  AbstractPhysicsObject
 
class  PhysicsObject
 

Namespaces

 DAS
 

Typedefs

typedef ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< float > > FourVector
 

Functions

bool operator== (const PhysicsObject &l, const PhysicsObject &r)
 
bool operator< (const PhysicsObject &l, const PhysicsObject &r)
 
bool operator> (const PhysicsObject &l, const PhysicsObject &r)
 
std::ostream & operator<< (std::ostream &s, const DAS::FourVector &p4)
 
std::ostream & operator<< (std::ostream &s, const DAS::PhysicsObject &obj)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  s,
const DAS::FourVector p4 
)
inline
90 {
91  return s << '(' << p4.Pt() << ',' << p4.Eta() << ',' << p4.Phi() << ',' << p4.M() << ')';
92 }

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  s,
const DAS::PhysicsObject obj 
)
inline
95 {
96  return s << obj.p4 << ' ' << obj.scales.size() << ' ' << obj.weights.size();
97 }
DAS::PhysicsObject::p4
FourVector p4
raw four-momentum directly after reconstruction
Definition: PhysicsObject.h:47
DAS::PhysicsObject::scales
std::vector< float > scales
energy scale corrections and variations
Definition: PhysicsObject.h:48
DAS::PhysicsObject::weights
Weights weights
object weights
Definition: PhysicsObject.h:49