DAS  3.0
Das Analysis System
Photon.h File Reference
#include <cstdint>
#include <ios>
#include <GenericObject.h>
#include <TString.h>
+ Include dependency graph for Photon.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GenPhoton
 
class  RecPhoton
 

Namespaces

 Darwin
 
 Darwin::Physics
 

Functions

std::ostream & operator<< (std::ostream &s, const Darwin::Physics::GenPhoton &photon)
 
std::ostream & operator<< (std::ostream &s, const Darwin::Physics::RecPhoton &photon)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  s,
const Darwin::Physics::GenPhoton photon 
)
inline
53 {
54  return s << photon.CorrP4() << ' ' << photon.zAncestor << ' ' << photon.prompt;
55 }

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  s,
const Darwin::Physics::RecPhoton photon 
)
inline
58 {
59  return s << photon.CorrP4() << " 0x" << std::hex << photon.selectors << std::dec;
60 }
Darwin::Physics::GenPhoton::zAncestor
bool zAncestor
Z boson among the particle mothers.
Definition: Photon.h:26
Darwin::Physics::RecPhoton::selectors
std::uint32_t selectors
Identification cuts.
Definition: Photon.h:44
Darwin::Physics::GenericObject::CorrP4
FourVector CorrP4(size_t i=0) const
corrected 4-vector
Definition: GenericObject.h:57
Darwin::Physics::GenPhoton::prompt
bool prompt
Originates directly from the matrix element.
Definition: Photon.h:27