Loading [MathJax]/extensions/tex2jax.js
Darwin  1.0
Event loop based prototype framework
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Objects.cc File Reference
#include "Objects.h"
#include <boost/exception/all.hpp>
#include <stdexcept>
#include <cmath>
#include <algorithm>
+ Include dependency graph for Objects.cc:

Functions

std::ostream & operator<< (std::ostream &Stream, const GenEvent &event)
 
std::ostream & operator<< (std::ostream &Stream, const RecEvent &event)
 
std::ostream & operator<< (std::ostream &Stream, const FourVector &v)
 
std::ostream & operator<< (std::ostream &Stream, const Jet &jet)
 

Function Documentation

◆ operator<<() [1/4]

std::ostream& operator<< ( std::ostream &  Stream,
const FourVector v 
)

Stream operator for FourVectors.

273 {
274  Stream << '(' << v.Pt() << ',' << v.Eta() << ',' << v.Phi() << ')';
275  return Stream;
276 }

◆ operator<<() [2/4]

std::ostream& operator<< ( std::ostream &  Stream,
const GenEvent event 
)

Stream operator for event at generator level.

261 {
262  Stream << '(' << event.process << ',' << event.hard_scale << ')';
263  return Stream;
264 }

◆ operator<<() [3/4]

std::ostream& operator<< ( std::ostream &  Stream,
const Jet jet 
)

Stream operator for jets.

279 {
280  Stream << '(' << jet.CorrPt() << ',' << jet.CorrEta() << ',' << jet.Phi() << ')';
281  return Stream;
282 }

◆ operator<<() [4/4]

std::ostream& operator<< ( std::ostream &  Stream,
const RecEvent event 
)

Stream operator for event at detector level.

267 {
268  Stream << '(' << event.fill << ',' << event.runNo << ',' << event.lumi << ',' << event.evtNo << ')';
269  return Stream;
270 }
Darwin::Physics::Jet::CorrPt
virtual float CorrPt() const =0
uses the scale internally with global index in daughter class
Darwin::Physics::Jet::CorrEta
virtual float CorrEta() const =0
uses the scale internally with global index in daughter class