ATLAS Offline Software
Loading...
Searching...
No Matches
HepMcParticleLink.h File Reference
#include "SGTools/DataProxy.h"
#include "SGTools/CurrentEventStore.h"
#include "AthenaKernel/ExtendedEventContext.h"
#include "CxxUtils/CachedValue.h"
#include "CxxUtils/no_unique_address.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/EventContext.h"
#include <cassert>
#include <cstdint>
#include <iostream>
#include <limits>
#include <string>
#include <vector>
#include "AtlasHepMC/GenEvent_fwd.h"
#include "AtlasHepMC/GenParticle.h"
#include "TruthUtils/MagicNumbers.h"
#include "GeneratorObjects/HepMcParticleLink.icc"

Go to the source code of this file.

Classes

 a link optimized in size for a GenParticle in a McEventCollection More...
 Persistent representation of a link. More...

Functions

bool operator== (HepMC::ConstGenParticlePtr a, const HepMcParticleLink &b)
 Comparison with ConstGenParticlePtr.
std::ostream & operator<< (std::ostream &os, const HepMcParticleLink &link)
 Output operator.
MsgStream & operator<< (MsgStream &os, const HepMcParticleLink &link)
 Output operator.

Function Documentation

◆ operator<<() [1/2]

MsgStream & operator<< ( MsgStream & os,
const HepMcParticleLink & link )

Output operator.

Parameters
osMsgStream to which to output.
linkLink to dump.

Definition at line 592 of file HepMcParticleLink.cxx.

594{
595 link.m_extBarcode.print(os);
596 return os;
597}

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & os,
const HepMcParticleLink & link )

Output operator.

Parameters
osStream to which to output.
linkLink to dump.

Definition at line 579 of file HepMcParticleLink.cxx.

581{
582 link.m_extBarcode.print(os);
583 return os;
584}

◆ operator==()

bool operator== ( HepMC::ConstGenParticlePtr a,
const HepMcParticleLink & b )

Comparison with ConstGenParticlePtr.

Needed with c++20 to break an ambiguity.